com.opensymphony.workflow.spi.ojb
Class OJBStep

java.lang.Object
  extended by com.opensymphony.workflow.spi.ojb.OJBStep
All Implemented Interfaces:
Step
Direct Known Subclasses:
OJBCurrentStep, OJBHistoryStep

public abstract class OJBStep
extends Object
implements Step

Author:
picard Created on 9 sept. 2003

Constructor Summary
OJBStep()
           
OJBStep(OJBStep step)
           
 
Method Summary
 int getActionId()
          Returns the ID of the action associated with this step, or 0 if there is no action associated.
 String getCaller()
           
 Date getDueDate()
          Returns an optional date signifying when this step must be finished.
 OJBWorkflowEntry getEntry()
           
 long getEntryId()
          Returns the unique ID of the workflow entry.
 Date getFinishDate()
          Returns the date this step was finished, or null if it isn't finished.
 long getId()
          Returns the unique ID of this step.
 String getOwner()
          Returns the owner of this step, or null if there is no owner.
 long[] getPreviousStepIds()
          Returns the unique ID of the previous step, or 0 if this is the first step.
 List getPreviousSteps()
           
 Date getStartDate()
          Returns the date that this step was created.
 String getStatus()
          Returns the status of this step.
 int getStepId()
          Returns the ID of the step in the workflow definition.
 void setActionId(int i)
           
 void setCaller(String string)
           
 void setDueDate(Date date)
           
 void setEntry(OJBWorkflowEntry entry)
           
 void setEntryId(long l)
           
 void setFinishDate(Date date)
           
 void setId(long l)
           
 void setOwner(String string)
           
 void setPreviousSteps(List list)
           
 void setStartDate(Date date)
           
 void setStatus(String string)
           
 void setStepId(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OJBStep

public OJBStep()

OJBStep

public OJBStep(OJBStep step)
Method Detail

setActionId

public void setActionId(int i)

getActionId

public int getActionId()
Description copied from interface: Step
Returns the ID of the action associated with this step, or 0 if there is no action associated.

Specified by:
getActionId in interface Step

setCaller

public void setCaller(String string)

getCaller

public String getCaller()
Specified by:
getCaller in interface Step

setDueDate

public void setDueDate(Date date)

getDueDate

public Date getDueDate()
Description copied from interface: Step
Returns an optional date signifying when this step must be finished.

Specified by:
getDueDate in interface Step

setEntry

public void setEntry(OJBWorkflowEntry entry)

getEntry

public OJBWorkflowEntry getEntry()

setEntryId

public void setEntryId(long l)

getEntryId

public long getEntryId()
Description copied from interface: Step
Returns the unique ID of the workflow entry.

Specified by:
getEntryId in interface Step

setFinishDate

public void setFinishDate(Date date)

getFinishDate

public Date getFinishDate()
Description copied from interface: Step
Returns the date this step was finished, or null if it isn't finished.

Specified by:
getFinishDate in interface Step

setId

public void setId(long l)

getId

public long getId()
Description copied from interface: Step
Returns the unique ID of this step.

Specified by:
getId in interface Step

setOwner

public void setOwner(String string)

getOwner

public String getOwner()
Description copied from interface: Step
Returns the owner of this step, or null if there is no owner.

Specified by:
getOwner in interface Step

getPreviousStepIds

public long[] getPreviousStepIds()
Description copied from interface: Step
Returns the unique ID of the previous step, or 0 if this is the first step.

Specified by:
getPreviousStepIds in interface Step

setPreviousSteps

public void setPreviousSteps(List list)

getPreviousSteps

public List getPreviousSteps()

setStartDate

public void setStartDate(Date date)

getStartDate

public Date getStartDate()
Description copied from interface: Step
Returns the date that this step was created.

Specified by:
getStartDate in interface Step

setStatus

public void setStatus(String string)

getStatus

public String getStatus()
Description copied from interface: Step
Returns the status of this step.

Specified by:
getStatus in interface Step

setStepId

public void setStepId(int i)

getStepId

public int getStepId()
Description copied from interface: Step
Returns the ID of the step in the workflow definition.

Specified by:
getStepId in interface Step

OpenSymphony Workflow Project Page