Attributes | Name and Description |
---|---|
|
caplin.trading.statemachine.StateModel(String sModelName)
Constructs a |
Attributes | Name and Description |
---|---|
|
void
addState(caplin.trading.statemachine.State oState)
Add a state object to this group of related States. |
|
void
getAllStates()
Returns all the states contained within this StateModel. |
|
caplin.trading.statemachine.State
getInitialState()
Get the State that a StateMachine operating on this group of States should start with. |
|
String
getName()
Returns the model name that this StateModel represents. |
|
void
setInitialState(caplin.trading.statemachine.State oState)
Set the State that a StateMachine operating on this group of States should start with. |
►
caplin.trading.statemachine.StateModel(String sModelName)
Constructs a StateModel
.
String | sModelName | The name the model represents. |
►
void
addState(caplin.trading.statemachine.State oState)
Add a state object to this group of related States. It is expected that this method will only be called during the configuration phase of the StateModel.
caplin.trading.statemachine.State | oState | The state object to add to this StateModel |
►
void
getAllStates()
Returns all the states contained within this StateModel.
►
caplin.trading.statemachine.State
getInitialState()
Get the State that a StateMachine operating on this group of States should start with.
►
String
getName()
Returns the model name that this StateModel represents.
►
void
setInitialState(caplin.trading.statemachine.State oState)
Set the State that a StateMachine operating on this group of States should start with. It is expected that this will be called only once, when the StateModel is being configured.
caplin.trading.statemachine.State | oState | The initial state object for a model. |