public class GlobalExistsStatementImpl extends ConstraintImpl implements IGlobalExistsStatement
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
GlobalExistsStatementImpl() |
GlobalExistsStatementImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(INRLAstVisitor visitor)
Accept a visitor to this node.
|
String |
dump(int indent)
Deprecated.
|
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.
|
String |
getElementName() |
IModelReference |
getModelReference() |
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.
|
String |
getVariableName() |
boolean |
hasConstraint()
Return true if there is a constraint attached that is to be executed
relative to the model element.
|
void |
setModelElement(IModelElement element) |
void |
setVariable(IVariable variable) |
getNRLDataType, setNRLDataTypedoIndent, getColumn, getLine, getUserData, initialisePositionFromChild, setColumn, setLine, setUserDatadupNode, getCharPositionInLine, getChildIndex, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNRLDataType, setNRLDataTypegetColumn, getLine, getUserData, setUserDatapublic GlobalExistsStatementImpl()
public GlobalExistsStatementImpl(org.antlr.runtime.Token token)
public void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitor@Deprecated public String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic IConstraint getConstraint()
IGlobalExistsStatementIGlobalExistsStatement.hasConstraint() to check if it exists first.getConstraint in interface IGlobalExistsStatementpublic int getCount()
IGlobalExistsStatementIt never returns null.
getCount in interface IGlobalExistsStatementpublic IModelElement getElement()
IGlobalExistsStatementgetElement in interface IGlobalExistsStatementpublic IVariable getVariable()
IGlobalExistsStatementgetVariable in interface IGlobalExistsStatementpublic String getVariableName()
public boolean hasConstraint()
IGlobalExistsStatementhasConstraint in interface IGlobalExistsStatementpublic IModelReference getModelReference()
public String getElementName()
public void setModelElement(IModelElement element)
public void setVariable(IVariable variable)
Copyright © 2006-2013. All Rights Reserved.