org.objectweb.jorm.api
Class PStateGraph
java.lang.Object
org.objectweb.jorm.api.PStateGraph
public class PStateGraph
extends java.lang.Object
This class, which is entirely static, defines the state graphs for various
JORM objects.
- P. Dechamboux
static byte | nextStatePBinding(byte currentstate, byte action) - It defines the state graph that represents the lifecycle of PBinding
objects.
|
nextStatePBinding
public static byte nextStatePBinding(byte currentstate,
byte action)
It defines the state graph that represents the lifecycle of PBinding
objects. This means that, knowing a particular state and the action to
be performed, it computes the transition to the next state that should be
taken by this PBinding after the execution of this action.
currentstate
- The state before the execution of the action.action
- The action to be performed.
- The state after the execution of the action.