Class Event

java.lang.Object
cruise.umple.compiler.Event

public class Event extends Object
NEW CLASS****************************************
  • Constructor Details

    • Event

      public Event(String aName)
  • Method Details

    • setName

      public boolean setName(String aName)
    • setIsTimer

      public boolean setIsTimer(boolean aIsTimer)
    • setAutoTransition

      public boolean setAutoTransition(boolean aAutoTransition)
    • setTimerInSeconds

      public boolean setTimerInSeconds(String aTimerInSeconds)
    • setIsInternal

      public boolean setIsInternal(boolean aIsInternal)
    • setUnspecified

      public boolean setUnspecified(boolean aUnspecified)
    • setType

      public boolean setType(String aType)
    • getName

      public String getName()
    • getIsTimer

      public boolean getIsTimer()
      String args = null;
    • getAutoTransition

      public boolean getAutoTransition()
    • getTimerInSeconds

      public String getTimerInSeconds()
      TODO: how do you specify milliseconds etc.
    • getIsInternal

      public boolean getIsInternal()
      for code generation only e.g. ouside scope of nested state
    • getUnspecified

      public boolean getUnspecified()
    • getType

      public String getType()
      The type of the method.
    • isIsTimer

      public boolean isIsTimer()
    • isAutoTransition

      public boolean isAutoTransition()
    • isIsInternal

      public boolean isIsInternal()
    • isUnspecified

      public boolean isUnspecified()
    • getParam

      public MethodParameter getParam(int index)
    • getParams

      public List<MethodParameter> getParams()
      The event parameters.
    • numberOfParams

      public int numberOfParams()
    • hasParams

      public boolean hasParams()
    • indexOfParam

      public int indexOfParam(MethodParameter aParam)
    • minimumNumberOfParams

      public static int minimumNumberOfParams()
    • addParam

      public boolean addParam(MethodParameter aParam)
    • removeParam

      public boolean removeParam(MethodParameter aParam)
    • addParamAt

      public boolean addParamAt(MethodParameter aParam, int index)
    • addOrMoveParamAt

      public boolean addOrMoveParamAt(MethodParameter aParam, int index)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public void delete()
    • createAutoTransition

      public static Event createAutoTransition()
    • setNextAutoTransitionId

      public static void setNextAutoTransitionId(int value)
    • getArgs

      public String getArgs()
    • compareWithAnotherEvent

      public boolean compareWithAnotherEvent(Event inEvent)
    • clone

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

      public String toString()
      Overrides:
      toString in class Object