public interface IState
IDesignSpace
for
explanation of the general concept.Modifier and Type | Interface and Description |
---|---|
static class |
IState.TraversalStateType
A
state can be categorized with the following types: |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getId()
Every
state has a unique id that was generated by an IStateCoder . |
java.util.Collection<? extends ITransition> |
getIncomingTransitions()
Returns the collection of the already discovered incoming
transitions through which this
state can be reached. |
java.util.Collection<? extends ITransition> |
getOutgoingTransitions()
Returns the collection of the outgoing
transitions through which this state can be left. |
IState.TraversalStateType |
getTraversalState()
Getter of
traversal type . |
boolean |
isProcessed() |
void |
setProcessed()
Mark the
state as fully initialized. |
void |
setTraversalState(IState.TraversalStateType traversalState)
Setter of
traversal type . |
IState.TraversalStateType getTraversalState()
traversal type
.traversal type
of this state.void setTraversalState(IState.TraversalStateType traversalState)
traversal type
.traversalState
- the new traversal type
.java.lang.Object getId()
state
has a unique id that was generated by an IStateCoder
. An
attempt to add a different state
to the design space
with the same id will be
ignored. See IDesignSpace.addState(ITransition, Object, java.util.Map)
and
IStateCoder.createStateCode()
for more details.IState
.java.util.Collection<? extends ITransition> getIncomingTransitions()
transitions
through which this
state can be reached.Collection
of ITransition
s.java.util.Collection<? extends ITransition> getOutgoingTransitions()
transitions
through which this state can be left.Collection
of ITransition
s.boolean isProcessed()
state
has been initialized already.void setProcessed()
state
as fully initialized.