Package cruise.umple.compiler
Class ConstraintPort
java.lang.Object
cruise.umple.compiler.ConstraintVariable
cruise.umple.compiler.ConstraintNamed
cruise.umple.compiler.ConstraintPort
- All Implemented Interfaces:
java.lang.Iterable<ConstraintVariable>
public class ConstraintPort extends ConstraintNamed
ConstraintPort encapsulate the statemachine data in a port watch expression
-
Constructor Summary
Constructors Constructor Description ConstraintPort(Port aPort)
-
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 methodsPort
getPort()
java.lang.String
getType()
int
hashCode()
boolean
setPort(Port aPort)
java.lang.String
toString()
Methods inherited from class cruise.umple.compiler.ConstraintVariable
getValue, iterator, retrieveClassifier
-
Constructor Details
-
Method Details
-
setPort
-
getPort
-
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
-