Package cruise.umple.cpp.gen
Class AbstractGenConstraint
java.lang.Object
cruise.umple.cpp.gen.AbstractGenBody
cruise.umple.cpp.gen.GenBody
cruise.umple.cpp.gen.AbstractGenConstraint
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GenConstraint
public abstract class AbstractGenConstraint extends GenBody
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractGenConstraint(java.lang.String aBody)
-
Method Summary
Methods inherited from class cruise.umple.cpp.gen.GenBody
getDefaultBodyOwner, getGenClass, getGenMethod, getOwnerGenBody, hasDefaultBodyOwner, hasGenClass, hasGenMethod, hasOwnerGenBody, setDefaultBodyOwner, setGenClass, setGenMethod, setOwnerGenBody
Methods inherited from class cruise.umple.cpp.gen.AbstractGenBody
_cr, cr, getBody, getPriority, getType, setBody, setPriority, setType
-
Constructor Details
-
AbstractGenConstraint
public AbstractGenConstraint(java.lang.String aBody)
-
-
Method Details
-
setBaseContent
public boolean setBaseContent(java.lang.String aBaseContent) -
setInvert
public boolean setInvert(boolean aInvert) -
getBaseContent
public java.lang.String getBaseContent() -
getInvert
public boolean getInvert() -
isInvert
public boolean isInvert() -
getMethod
-
hasMethod
public boolean hasMethod() -
getVariable
-
getVariables
-
numberOfVariables
public int numberOfVariables() -
hasVariables
public boolean hasVariables() -
indexOfVariable
-
getCondition
-
getConditions
-
numberOfConditions
public int numberOfConditions() -
hasConditions
public boolean hasConditions() -
indexOfCondition
-
getListener
-
getListeners
-
numberOfListeners
public int numberOfListeners() -
hasListeners
public boolean hasListeners() -
indexOfListener
-
setMethod
-
minimumNumberOfVariables
public static int minimumNumberOfVariables() -
addVariable
-
removeVariable
-
addVariableAt
-
addOrMoveVariableAt
-
minimumNumberOfConditions
public static int minimumNumberOfConditions() -
addCondition
-
removeCondition
-
addConditionAt
-
addOrMoveConditionAt
-
minimumNumberOfListeners
public static int minimumNumberOfListeners() -
addListener
-
removeListener
-
addListenerAt
-
addOrMoveListenerAt
-
delete
public void delete() -
constraintCheckCall
public java.lang.String constraintCheckCall() -
isMany
public java.lang.Boolean isMany() -
variableString
public java.lang.String variableString() -
conditionString
public java.lang.String conditionString() -
dynamicContent
- Overrides:
dynamicContent
in classAbstractGenBody
-
_indent
public java.lang.StringBuilder _indent(java.lang.Integer numSpaces, java.lang.StringBuilder sb, java.lang.String content) -
indent
public java.lang.String indent(java.lang.String content) -
toString
public java.lang.String toString()
-