com.opensymphony.workflow.spi.ejb
Class PreviousStepPK

java.lang.Object
  extended by com.opensymphony.workflow.spi.ejb.PreviousStepPK
All Implemented Interfaces:
Serializable

public class PreviousStepPK
extends Object
implements Serializable

Primary key for CurrentStepPrev.

Author:
Hani Suleiman (hani@formicary.net) Date: Apr 7, 2003 Time: 8:17:26 PM
See Also:
Serialized Form

Field Summary
 Long id
           
 Long previousId
           
 
Constructor Summary
PreviousStepPK()
           
PreviousStepPK(Long id, Long previousId)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 Long getPreviousId()
           
 int hashCode()
           
 void setId(Long id)
           
 void setPreviousId(Long previousId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public Long id

previousId

public Long previousId
Constructor Detail

PreviousStepPK

public PreviousStepPK()

PreviousStepPK

public PreviousStepPK(Long id,
                      Long previousId)
Method Detail

setId

public void setId(Long id)

getId

public Long getId()

setPreviousId

public void setPreviousId(Long previousId)

getPreviousId

public Long getPreviousId()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object
Returns:
String representation of this pk in the form of [.field1.field2.field3].

OpenSymphony Workflow Project Page