Package cruise.umple.compiler
Class ConstraintStateMachine
java.lang.Object
cruise.umple.compiler.ConstraintVariable
cruise.umple.compiler.ConstraintNamed
cruise.umple.compiler.ConstraintStateMachine
- All Implemented Interfaces:
java.lang.Iterable<ConstraintVariable>
public class ConstraintStateMachine extends ConstraintNamed
ConstraintStateMachines encapsulate the statemachine data in a statemachine expression such as [sm is in state st], this is a leaf in the constraint tree.
-
Constructor Summary
Constructors Constructor Description ConstraintStateMachine(StateMachine aStateMachine)
-
Method Summary
Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
java.lang.String
getName()
The reason d'etre of this super class, it ensures that subclasses have getName methodsStateMachine
getStateMachine()
java.lang.String
getType()
int
hashCode()
boolean
setStateMachine(StateMachine aStateMachine)
java.lang.String
toString()
Methods inherited from class cruise.umple.compiler.ConstraintVariable
getValue, iterator, retrieveClassifier
-
Constructor Details
-
Method Details
-
setStateMachine
-
getStateMachine
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()- Overrides:
delete
in classConstraintNamed
-
getName
public java.lang.String getName()Description copied from class:ConstraintNamed
The reason d'etre of this super class, it ensures that subclasses have getName methods- Specified by:
getName
in classConstraintNamed
-
getType
public java.lang.String getType()- Specified by:
getType
in classConstraintVariable
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-