|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.state.NullState
public final class NullState
Null state implementation.
Field Summary |
---|
Fields inherited from interface net.dpml.state.State |
---|
NULL_STATE, TYPE |
Constructor Summary | |
---|---|
NullState()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
Test is this state is equal to the supplied object. |
Interface[] |
getInterfaces()
Return the array of operations associated with the state. |
String |
getName()
Return the name of the state. |
Operation[] |
getOperations()
Return the array of operations associated with the state. |
State |
getParent()
Return the parent state to this state or null if this is the root of a state graph. |
State[] |
getStatePath()
Return the state path. |
State[] |
getStates()
Return the substates within this state. |
Transition[] |
getTransitions()
Return the array of transtions associated with the state. |
Trigger[] |
getTriggers()
Return the array of triggers associated with the state. |
int |
hashCode()
Calcualte the hashcode for this instance. |
boolean |
isTerminal()
Test is the state is a terminal state. |
void |
setParent(State state)
Set the parent state. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullState()
Method Detail |
---|
public String getName()
getName
in interface State
public void setParent(State state)
setParent
in interface State
state
- the parent statepublic State getParent()
getParent
in interface State
public State[] getStatePath()
getStatePath
in interface State
public State[] getStates()
getStates
in interface State
public Trigger[] getTriggers()
getTriggers
in interface State
public Transition[] getTransitions()
getTransitions
in interface State
public Operation[] getOperations()
getOperations
in interface State
public Interface[] getInterfaces()
getInterfaces
in interface State
public boolean isTerminal()
isTerminal
in interface State
public boolean equals(Object other)
equals
in class Object
other
- the other object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |