public class SimpleStep extends Object implements Step, Serializable
Constructor and Description |
---|
SimpleStep() |
SimpleStep(long id,
long entryId,
int stepId,
int actionId,
String owner,
Date startDate,
Date dueDate,
Date finishDate,
String status,
long[] previousStepIds,
String caller) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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 actionId) |
void |
setCaller(String caller) |
void |
setDueDate(Date dueDate) |
void |
setEntryId(long entryId) |
void |
setFinishDate(Date finishDate) |
void |
setId(long id) |
void |
setOwner(String owner) |
void |
setPreviousStepIds(long[] previousStepIds) |
void |
setStartDate(Date startDate) |
void |
setStatus(String status) |
void |
setStepId(int stepId) |
String |
toString() |
public void setActionId(int actionId)
public int getActionId()
Step
getActionId
in interface Step
public void setCaller(String caller)
public void setDueDate(Date dueDate)
public Date getDueDate()
Step
getDueDate
in interface Step
public void setEntryId(long entryId)
public long getEntryId()
Step
getEntryId
in interface Step
public void setFinishDate(Date finishDate)
public Date getFinishDate()
Step
getFinishDate
in interface Step
public void setId(long id)
public long getId()
Step
public void setOwner(String owner)
public String getOwner()
Step
public void setPreviousStepIds(long[] previousStepIds)
public long[] getPreviousStepIds()
Step
getPreviousStepIds
in interface Step
public void setStartDate(Date startDate)
public Date getStartDate()
Step
getStartDate
in interface Step
public void setStatus(String status)
public String getStatus()
Step
public void setStepId(int stepId)
public int getStepId()
Step
Copyright © 2021 catworkx GmbH. All rights reserved.