|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.core.ModelElement com.evelopers.unimod.core.stateworks.ClassElement
Abstract base implementaion for all classes in model such as ControlledObjectHandler, EventProviderHandler and StateMachine. For utility purposes implements delegate to ImplementationHandler. ControlledObjectHandler needs ImplementationHandler to handle ControlledObject implementation, EventProviderHandler handles EventProvider, StateMachine handles ConfigStore.
Field Summary | |
static java.lang.String |
IMPL_NAME_PROPERTY
|
protected java.lang.String |
implName
|
static java.lang.String |
INCOMING_ASSOCIATIONS_PROPERTY
|
protected java.util.List |
incomingAssociations
List of outgoing associations that have this this class element |
static java.lang.String |
OUTGOING_ASSOCIATIONS_PROPERTY
|
protected java.util.List |
outgoingAssociations
List of incoming associations |
Fields inherited from class com.evelopers.unimod.core.ModelElement |
listeners, name, NAME_PROPERTY, stereotype, STEREOTYPE_PROPERTY |
Constructor Summary | |
(package private) |
ClassElement(java.lang.String name,
java.lang.String stereotype)
|
Method Summary | |
protected void |
addIncomingAssociation(Association association)
|
protected void |
addOutgoingAssociation(Association association)
|
boolean |
equals(java.lang.Object o)
Compare with another model element. |
java.lang.String |
getImplName()
|
java.util.List |
getIncomingAssociations()
|
java.util.List |
getOutgoingAssociations()
|
int |
hashCode()
Returns model element hash code. |
protected void |
removeIncomingAssociation(Association association)
|
protected void |
removeOutgoingAssociation(Association association)
|
protected void |
setImplName(java.lang.String implName)
|
java.lang.String |
toString()
Returns class identifier |
Methods inherited from class com.evelopers.unimod.core.ModelElement |
accept, addPropertyChangeListener, firePropertyChange, getName, getStereotype, initListeners, removePropertyChangeListener, setName, setStereotype |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String IMPL_NAME_PROPERTY
public static final java.lang.String OUTGOING_ASSOCIATIONS_PROPERTY
public static final java.lang.String INCOMING_ASSOCIATIONS_PROPERTY
protected java.util.List outgoingAssociations
protected java.util.List incomingAssociations
protected java.lang.String implName
Constructor Detail |
ClassElement(java.lang.String name, java.lang.String stereotype)
Method Detail |
public java.lang.String getImplName()
protected void setImplName(java.lang.String implName)
protected void addOutgoingAssociation(Association association)
protected void removeOutgoingAssociation(Association association)
protected void addIncomingAssociation(Association association)
protected void removeIncomingAssociation(Association association)
public java.util.List getOutgoingAssociations()
public java.util.List getIncomingAssociations()
public int hashCode()
ModelElement
hashCode
in class ModelElement
public boolean equals(java.lang.Object o)
ModelElement
equals
in class ModelElement
o
- another model element
public java.lang.String toString()
toString
in class ModelElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |