|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.state.DefaultTransition
public class DefaultTransition
Default implemention of a state transition descriptor.
| Constructor Summary | |
|---|---|
DefaultTransition(String name,
String target)
Creation of a new transition. |
|
DefaultTransition(String name,
String target,
Operation operation)
Creation of a new transition. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Compare this object to another for equality. |
String |
getName()
Return the transition name |
Operation |
getOperation()
Return an operation associated with the transition. |
State |
getState()
Return the state that this transition is a part of. |
String |
getTargetName()
Return the transition target state name |
int |
hashCode()
Compute the hashcode for this instance. |
void |
setState(State state)
Set the state that this transition is a part of. |
String |
toString()
Return a string representation of the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTransition(String name,
String target)
name - the transition nametarget - the transit target state name
public DefaultTransition(String name,
String target,
Operation operation)
name - the transition nametarget - the transit target state nameoperation - optional transition operation| Method Detail |
|---|
public void setState(State state)
setState in interface Transitionstate - the owning statepublic State getState()
getState in interface Transitionpublic String getName()
getName in interface Actionpublic String getTargetName()
getTargetName in interface Transitionpublic Operation getOperation()
getOperation in interface Transitionpublic boolean equals(Object other)
equals in class Objectother - the other object
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||