public interface IGlobalExistsStatement extends IConstraint
Abstract syntax reference:
thereIs ("no")? element:ModelReference (Variable)? (constraint:Constraint)?
NEWLINE| Modifier and Type | Method and Description |
|---|---|
IConstraint |
getConstraint()
Return the constraint to check relative to the object being iterated
over.
|
int |
getCount()
Return the cardinality constraint if there is one.
|
IModelElement |
getElement()
Return the model element being checked for existence.
|
IVariable |
getVariable()
If the statement is used to check for the existence (rather than absence)
of an element, the element can be assigned to a variable if found.
|
boolean |
hasConstraint()
Return true if there is a constraint attached that is to be executed
relative to the model element.
|
getNRLDataType, setNRLDataTypeaccept, dump, getColumn, getLine, getUserData, setUserDataIConstraint getConstraint()
hasConstraint() to check if it exists first.int getCount()
It never returns null.
IModelElement getElement()
IVariable getVariable()
boolean hasConstraint()
Copyright © 2006-2013. All Rights Reserved.