Class Action

java.lang.Object
cruise.umple.compiler.Action

public class Action
extends java.lang.Object
A quickly-executed block of code that is run upon entry or exit from a state NEW CLASS****************************************
  • Constructor Details

    • Action

      public Action​(java.lang.String aActionCode)
  • Method Details

    • setActionType

      public boolean setActionType​(java.lang.String aActionType)
    • setPosition

      public boolean setPosition​(Position aPosition)
    • setEndPosition

      public boolean setEndPosition​(Position aEndPosition)
    • setActionCode

      public boolean setActionCode​(java.lang.String aActionCode)
    • setIsInternal

      public boolean setIsInternal​(boolean aIsInternal)
    • setCodeblock

      public boolean setCodeblock​(CodeBlock aCodeblock)
    • getActionType

      public java.lang.String getActionType()
    • getPosition

      public Position getPosition()
    • getEndPosition

      public Position getEndPosition()
    • getActionCode

      public java.lang.String getActionCode()
    • getIsInternal

      public boolean getIsInternal()
    • getCodeblock

      public CodeBlock getCodeblock()
    • isIsInternal

      public boolean isIsInternal()
    • 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()
    • setActionCode

      public void setActionCode​(java.lang.String lang, java.lang.String code)
    • clone

      public Action clone()
      Please maintain this method if you're going to add new features to Actions. This code manually creates a clone of a Actions.
      Overrides:
      clone in class java.lang.Object
    • toString

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