Class ConstraintPort

java.lang.Object
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 methods
    Port 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

  • Method Details

    • setPort

      public boolean setPort​(Port aPort)
    • getPort

      public Port getPort()
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • delete

      public void delete()
      Overrides:
      delete in class ConstraintNamed
    • 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 class ConstraintNamed
    • getType

      public java.lang.String getType()
      Specified by:
      getType in class ConstraintVariable
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object