|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.agila.impl.TokenImpl
public class TokenImpl
Field Summary |
---|
Fields inherited from interface org.apache.agila.engine.Token |
---|
MID, POST, PRE |
Constructor Summary | |
---|---|
TokenImpl()
|
Method Summary | |
---|---|
NodeID |
getCurrentNodeID()
return the node ID that this token is pointing at |
int |
getCurrentState()
Return the current state of the token - where in the node it's pointing |
InstanceID |
getInstanceID()
return the process instance ID for which this token is associated |
TokenID |
getTokenID()
returns the unique ID of this token |
boolean |
isActive()
returns the active/inactive status of the token. |
void |
setActive(boolean active)
|
void |
setCurrentNodeID(NodeID currentNodeId)
Sets the nodeid for this token |
void |
setCurrentState(int currentState)
Sets the current state of the token |
void |
setInstanceID(InstanceID instanceId)
|
void |
setTokenID(TokenID tokenID)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TokenImpl()
Method Detail |
---|
public InstanceID getInstanceID()
Token
getInstanceID
in interface Token
public void setInstanceID(InstanceID instanceId)
public NodeID getCurrentNodeID()
Token
getCurrentNodeID
in interface Token
public void setCurrentNodeID(NodeID currentNodeId)
Token
setCurrentNodeID
in interface Token
public int getCurrentState()
Token
getCurrentState
in interface Token
public void setCurrentState(int currentState)
Token
setCurrentState
in interface Token
public boolean isActive()
Token
isActive
in interface Token
public void setActive(boolean active)
setActive
in interface Token
public TokenID getTokenID()
Token
getTokenID
in interface Token
public void setTokenID(TokenID tokenID)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |