|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.api.action.ActionTaken.Builder
public static final class ActionTaken.Builder
A builder which can be used to construct ActionTaken instances. Enforces the constraints of the ActionTakenContract.
| Method Summary | |
|---|---|
ActionTaken |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ActionTaken.Builder |
create(ActionTakenContract contract)
|
static ActionTaken.Builder |
create(String id,
String documentId,
String principalId,
ActionType actionTaken)
|
org.joda.time.DateTime |
getActionDate()
|
ActionType |
getActionTaken()
|
String |
getAnnotation()
|
String |
getDelegatorGroupId()
|
String |
getDelegatorPrincipalId()
|
String |
getDocumentId()
|
String |
getId()
The unique identifier for an object. |
String |
getPrincipalId()
|
boolean |
isCurrent()
|
void |
setActionDate(org.joda.time.DateTime actionDate)
|
void |
setActionTaken(ActionType actionTaken)
|
void |
setAnnotation(String annotation)
|
void |
setCurrent(boolean current)
|
void |
setDelegatorGroupId(String delegatorGroupId)
|
void |
setDelegatorPrincipalId(String delegatorPrincipalId)
|
void |
setDocumentId(String documentId)
|
void |
setId(String id)
|
void |
setPrincipalId(String principalId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ActionTaken.Builder create(String id,
String documentId,
String principalId,
ActionType actionTaken)
public static ActionTaken.Builder create(ActionTakenContract contract)
public ActionTaken build()
ModelBuilder
build in interface ModelBuilderpublic String getId()
Identifiable
getId in interface IdentifiablegetId in interface ActionTakenContractpublic String getDocumentId()
getDocumentId in interface ActionTakenContractpublic String getPrincipalId()
getPrincipalId in interface ActionTakenContractpublic String getDelegatorPrincipalId()
getDelegatorPrincipalId in interface ActionTakenContractpublic String getDelegatorGroupId()
getDelegatorGroupId in interface ActionTakenContractpublic ActionType getActionTaken()
getActionTaken in interface ActionTakenContractpublic org.joda.time.DateTime getActionDate()
getActionDate in interface ActionTakenContractpublic String getAnnotation()
getAnnotation in interface ActionTakenContractpublic boolean isCurrent()
isCurrent in interface ActionTakenContractpublic void setId(String id)
public void setDocumentId(String documentId)
public void setPrincipalId(String principalId)
public void setDelegatorPrincipalId(String delegatorPrincipalId)
public void setDelegatorGroupId(String delegatorGroupId)
public void setActionTaken(ActionType actionTaken)
public void setActionDate(org.joda.time.DateTime actionDate)
public void setAnnotation(String annotation)
public void setCurrent(boolean current)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||