|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Root interface for each CoCompose language element.
Method Summary | |
String |
getId()
Gets the Id of this element, based upon its namespace. |
Model |
getModel()
Gets the root model for this element, if any. |
String |
getName()
Gets the name of this ModelElement. |
Namespace |
getNamespace()
Gets the namespace that contains this element. |
Namespace |
getRootNamespace()
Gets the root namespace for this element, if any. |
void |
setId(String id)
Sets the Id of this element. |
void |
setName(String name)
Sets the name of this ModelElement. |
void |
setNamespace(Namespace namespace)
Sets the namespace that contains this element. |
Methods inherited from interface be.ac.vub.cocompose.lang.Element |
addPropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface be.ac.vub.cocompose.lang.VisitedElement |
accept |
Method Detail |
public String getName()
public void setName(String name) throws ModelElementException
name
- - the name of this ModelElement.
ModelElementException
- - if the name is already used within the namespace.public Namespace getNamespace()
public void setNamespace(Namespace namespace)
namespace
- - the namespace.public String getId()
public void setId(String id)
id
- - the Id.public Namespace getRootNamespace()
public Model getModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |