com.evelopers.unimod.debug.protocol.position
Class Position
java.lang.Object
com.evelopers.unimod.debug.protocol.position.Position
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ActionExecutionPosition, ComeToStatePosition, CompositeTargetStatePosition, EventProcessingPosition, FinalStatePosition, SubmachinesExecutionPosition, TransitionSelectionPosition
- public abstract class Position
- extends java.lang.Object
- implements java.io.Serializable
Indicates position in algorythm of event processing
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Position
public Position(StateMachineContext context,
StateMachinePath path)
getPath
public StateMachinePath getPath()
getContext
public StateMachineContext getContext()
- Returns:
- Returns the context.
setContext
public void setContext(StateMachineContext context)
- Parameters:
context
- The context to set.
toString
public java.lang.String toString()
hashCode
public int hashCode()
getContainer
public abstract ModelElement getContainer(Model m)
- 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.
- Parameters:
m
-
- Returns:
getTarget
public abstract ModelElement getTarget(Model m)
- Returns target element of position.
- Parameters:
m
-
- Returns:
getStateMachine
public StateMachine getStateMachine(Model m)
equals
public boolean equals(java.lang.Object o)