org.apache.lenya.workflow.impl
Class StateImpl
java.lang.Object
org.apache.lenya.workflow.impl.StateImpl
- All Implemented Interfaces:
- State
public class StateImpl
- extends java.lang.Object
- implements State
Implementation of a state.
Constructor Summary |
protected |
StateImpl(java.lang.String stateId)
Creates a new instance of StateImpl |
Method Summary |
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getId()
Returns the state ID. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
StateImpl
protected StateImpl(java.lang.String stateId)
- Creates a new instance of StateImpl
- Parameters:
stateId
- The state ID.
getId
public java.lang.String getId()
- Returns the state ID.
- Returns:
- A string.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.