Package cruise.umple.analysis
Class ConstraintNameAnalyzer
java.lang.Object
cruise.umple.parser.analysis.Analyzer
cruise.umple.analysis.ConstraintNameAnalyzer
public class ConstraintNameAnalyzer extends Analyzer
-
Constructor Summary
Constructors Constructor Description ConstraintNameAnalyzer()
-
Method Summary
Modifier and Type Method Description void
analyze(Token nameToken)
Analyze is called to analyze the particular tokenvoid
delete()
ConstraintTree
getCv()
Token
getGrandparentToken()
boolean
getMustBeInClass()
boolean
getMustWarn()
ConstraintTree
getPersonalRawLine()
ConstraintTree
getRawLine()
java.util.List<java.lang.String>
getType()
UmpleClassifier
getUClassifier()
void
prepare(Token nameToken)
Prepare is called before analyzing the token, allowing edits or sanitizing to be doneboolean
setCv(ConstraintTree aCv)
boolean
setGrandparentToken(Token aGrandparentToken)
boolean
setMustBeInClass(boolean aMustBeInClass)
boolean
setMustWarn(boolean aMustWarn)
boolean
setPersonalRawLine(ConstraintTree aPersonalRawLine)
boolean
setRawLine(ConstraintTree aRawLine)
boolean
setType(java.util.List<java.lang.String> aType)
boolean
setUClassifier(UmpleClassifier aUClassifier)
java.lang.String
toString()
Methods inherited from class cruise.umple.parser.analysis.Analyzer
addChild, addChildAt, addOrMoveChildAt, addOrMoveParentAt, addParent, addParentAt, analyzeToken, getChild, getChildren, getName, getParent, getParent, hasChildren, hasParent, indexOfChild, indexOfParent, minimumNumberOfChildren, minimumNumberOfParent, numberOfChildren, numberOfParent, removeChild, removeParent, setName
-
Constructor Details
-
ConstraintNameAnalyzer
public ConstraintNameAnalyzer()
-
-
Method Details
-
setUClassifier
-
setRawLine
-
setMustBeInClass
public boolean setMustBeInClass(boolean aMustBeInClass) -
setType
public boolean setType(java.util.List<java.lang.String> aType) -
setMustWarn
public boolean setMustWarn(boolean aMustWarn) -
setGrandparentToken
-
setCv
-
setPersonalRawLine
-
getUClassifier
-
getRawLine
-
getMustBeInClass
public boolean getMustBeInClass() -
getType
public java.util.List<java.lang.String> getType() -
getMustWarn
public boolean getMustWarn() -
getGrandparentToken
-
getCv
-
getPersonalRawLine
-
delete
public void delete() -
prepare
Description copied from class:Analyzer
Prepare is called before analyzing the token, allowing edits or sanitizing to be done -
analyze
Description copied from class:Analyzer
Analyze is called to analyze the particular token -
toString
public java.lang.String toString()
-