|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.ide.ModelElement
This is the root class of all the model elements.
Constructor Summary | |
ModelElement()
Builds an unamed model element. |
|
ModelElement(String name)
Builds a named model element. |
Method Summary | |
void |
addConfigItem(ConfigItem config)
add a new ConfigItem on this Element |
void |
addEndingLink(Role l)
Adds a link that ends on this element. |
void |
addLink(Role l)
Adds a link that ends on this element. |
List |
getConfigItems()
|
String |
getDescription()
Gets the description of this element. |
List |
getEndingLinks()
Gets the list of the links that end on this model element. |
String |
getFullName()
Defines a redefinable method to get the full name. |
String |
getGenerationFullName()
Gets full name to use for code generation. |
String |
getGenerationName()
Gets name to use for code generation. |
List |
getLinks()
Gets the list of the links that start from this model element. |
String |
getName()
Gets the model element name. |
Type |
getType()
Get the type of the model element. |
void |
remove(ConfigItem config)
remove an ConfigItem |
void |
removeEndingLink(Role l)
Removes an ending link. |
void |
removeLink(Role l)
Removes an ending link. |
void |
setDescription(String v)
Set the value of description. |
void |
setEndingLinks(List l)
Sets the ending links list. |
void |
setLinks(List l)
Sets the ending links list. |
void |
setName(String name)
Sets the model element name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelElement()
public ModelElement(String name)
Method Detail |
public void setName(String name)
public String getFullName()
getName()
method.
public String getName()
public String getGenerationName()
public String getGenerationFullName()
public Type getType()
public List getEndingLinks()
Link
public void setEndingLinks(List l)
public void addEndingLink(Role l)
public void removeEndingLink(Role l)
public List getLinks()
Link
public void setLinks(List l)
public void addLink(Role l)
public void removeLink(Role l)
public String getDescription()
public void setDescription(String v)
v
- Value to assign to description.public void addConfigItem(ConfigItem config)
config
- the new ConfigItempublic void remove(ConfigItem config)
config
- the ConfigItempublic List getConfigItems()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |