|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Model element constraint interface.
Method Summary | |
void |
addConstrainedElement(int index,
ModelElement constrainedElement)
Adds a constrained element. |
void |
addConstrainedElement(ModelElement constrainedElement)
Adds a constrained element. |
List |
getConstrainedElements()
Gets the constrained elements. |
void |
removeConstrainedElement(ModelElement constrainedElement)
Removes a constrained element. |
Methods inherited from interface be.ac.vub.cocompose.lang.constraints.Constraint |
check, getOwnerConstraint, isInverted, setInverted, setOwnerConstraint |
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace |
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement |
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement |
getId, getModel, getName, getNamespace, getRootNamespace, setId, setName, setNamespace |
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 List getConstrainedElements()
public void addConstrainedElement(ModelElement constrainedElement)
constrainedElement
- the element to add.public void addConstrainedElement(int index, ModelElement constrainedElement)
index
- the index at which to add the element.constrainedElement
- the element to add.public void removeConstrainedElement(ModelElement constrainedElement)
constrainedElement
- the element to remove.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |