com.evelopers.unimod.debug.protocol.position
Class InputActionExecutionPosition

java.lang.Object
  extended bycom.evelopers.unimod.debug.protocol.position.Position
      extended bycom.evelopers.unimod.debug.protocol.position.ActionExecutionPosition
          extended bycom.evelopers.unimod.debug.protocol.position.InputActionExecutionPosition
All Implemented Interfaces:
java.io.Serializable

public class InputActionExecutionPosition
extends ActionExecutionPosition

Before or after execution of input action inside guard condition of given transition

See Also:
Serialized Form

Constructor Summary
InputActionExecutionPosition(StateMachineContext context, StateMachinePath path, java.lang.String transition, java.lang.String action, boolean before, java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ModelElement getContainer(Model m)
          Returns container element for position.
 ModelElement getTarget(Model m)
          Returns target element of position.
 java.lang.String getTransition()
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.evelopers.unimod.debug.protocol.position.ActionExecutionPosition
getAction, isBefore
 
Methods inherited from class com.evelopers.unimod.debug.protocol.position.Position
getContext, getPath, getStateMachine, setContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputActionExecutionPosition

public InputActionExecutionPosition(StateMachineContext context,
                                    StateMachinePath path,
                                    java.lang.String transition,
                                    java.lang.String action,
                                    boolean before,
                                    java.lang.String value)
Method Detail

getTransition

public java.lang.String getTransition()

getValue

public java.lang.String getValue()

getContainer

public ModelElement getContainer(Model m)
Description copied from class: Position
Returns container element for position. For example, if position is execution of input action on transition, it will return transition that holds guard with input action. Returns State or Transition only.

Specified by:
getContainer in class Position
Parameters:
m -
Returns:

getTarget

public ModelElement getTarget(Model m)
Description copied from class: Position
Returns target element of position.

Specified by:
getTarget in class Position
Parameters:
m -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class ActionExecutionPosition

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ActionExecutionPosition

toString

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