org.cumt.model.sequence
Class LifeCycle

java.lang.Object
  extended by org.cumt.model.IdentifiedObject
      extended by org.cumt.model.PropertyAwareObject
          extended by org.cumt.model.BaseModelNode
              extended by org.cumt.model.ModelObject
                  extended by org.cumt.model.RelationableModelObject
                      extended by org.cumt.model.sequence.LifeCycle
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class LifeCycle
extends RelationableModelObject

See Also:
Serialized Form

Field Summary
static java.lang.String OBJECT
           
 
Fields inherited from class org.cumt.model.ModelObject
STEREOTYPE
 
Fields inherited from class org.cumt.model.BaseModelNode
ATTRIBUTES, DESCRIPTION, IGNORED_ON_GENERATION, NAME
 
Constructor Summary
LifeCycle()
           
 
Method Summary
 ModelObject getObject()
           
 boolean isRelationAllowed(java.lang.Class<? extends Relation> relationType, RelationableModelObject target, boolean isSource)
          Determines if a given relation type can be used to stablish a relation between this object an other given object
 void setObject(ModelObject object)
           
 
Methods inherited from class org.cumt.model.RelationableModelObject
addRelation, containsRelation, getRelations, removeRelation
 
Methods inherited from class org.cumt.model.ModelObject
clone, getStereotype, setStereotype
 
Methods inherited from class org.cumt.model.BaseModelNode
getAttribute, getAttributeNames, getAttributes, getCreationDate, getDefaultName, getDescription, getName, getParent, isIgnoredOnGeneration, removeAttribute, setAttribute, setAttributes, setDescription, setIgnoredOnGeneration, setName, setParent, toString
 
Methods inherited from class org.cumt.model.PropertyAwareObject
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.cumt.model.IdentifiedObject
equals, getId, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT

public static final java.lang.String OBJECT
See Also:
Constant Field Values
Constructor Detail

LifeCycle

public LifeCycle()
Method Detail

getObject

public ModelObject getObject()

setObject

public void setObject(ModelObject object)

isRelationAllowed

public boolean isRelationAllowed(java.lang.Class<? extends Relation> relationType,
                                 RelationableModelObject target,
                                 boolean isSource)
Description copied from class: RelationableModelObject
Determines if a given relation type can be used to stablish a relation between this object an other given object

Overrides:
isRelationAllowed in class RelationableModelObject
Returns:
true if the relation can be stablished


Copyright © 2006 null. All Rights Reserved.