| net.sourceforge.groboutils.mbtf.v1.IState
All known Subclasses: net.sourceforge.groboutils.mbtf.v1.engine.StateImpl,
IState | public interface IState (Code) | | Associates a system state with the transitions leading out of the state,
and with the validation of the state. The state object should be immutable
once the path generation begins.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2003/02/10 22:52:25 $ since: June 12, 2002 |
Method Summary | |
public String | getName() Retrieves the name for the state. | public ITransition[] | getTransitions() Retrieves the list of transitions leading from this state.
a non-null list of all transitions from this state. | public IValidate[] | getValidates() Retrieves the list of all validation instances used to assert that
the current state is valid.
a non-null list of all validation instances for this state.An empty list will cause a warning on all but the first(initial) state. |
getName | public String getName()(Code) | | Retrieves the name for the state. This should be unique for
state-machine assembly purposes, but it does not have to be.
a non-null name for this state. |
getTransitions | public ITransition[] getTransitions()(Code) | | Retrieves the list of transitions leading from this state.
a non-null list of all transitions from this state. If thelength of the list is 0, then this is a terminal state. |
getValidates | public IValidate[] getValidates()(Code) | | Retrieves the list of all validation instances used to assert that
the current state is valid.
a non-null list of all validation instances for this state.An empty list will cause a warning on all but the first(initial) state. This list should not include the includedTransitions' validates. |
|
|