|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 Statepublic void setParent(State state)
setParent in interface Statestate - the parent statepublic State getParent()
getParent in interface Statepublic State[] getStatePath()
getStatePath in interface Statepublic State[] getStates()
getStates in interface Statepublic Trigger[] getTriggers()
getTriggers in interface Statepublic Transition[] getTransitions()
getTransitions in interface Statepublic Operation[] getOperations()
getOperations in interface Statepublic Interface[] getInterfaces()
getInterfaces in interface Statepublic boolean isTerminal()
isTerminal in interface Statepublic boolean equals(Object other)
equals in class Objectother - 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 | |||||||||