|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
General constraint interface.
Method Summary | |
void |
check()
Checks whether the constraint holds. |
CompositeConstraint |
getOwnerConstraint()
Gets the owner constraint. |
boolean |
isInverted()
Gets the inverted attribute. |
void |
setInverted(boolean inverted)
Sets the inverted attribute. |
void |
setOwnerConstraint(CompositeConstraint ownerConstraint)
Sets the owner constraint. |
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace |
addOwnedElement, addOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElementId, getOwnedElements, getOwnedElements, isRegistered, registerNameChange, removeOwnedElement |
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement |
getId, getModel, getName, getNamespace, 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 void check() throws ModelElementException
ModelElementException
- - if the hard constraint doesn't hold.public CompositeConstraint getOwnerConstraint()
public void setOwnerConstraint(CompositeConstraint ownerConstraint)
ownerConstraint
- - the owner constraint.public boolean isInverted()
public void setInverted(boolean inverted)
inverted
- - if true, the constraint is inverted.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |