org.kuali.rice.kew.api.action
Class ActionItem.Builder
java.lang.Object
org.kuali.rice.kew.api.action.ActionItem.Builder
- All Implemented Interfaces:
- Serializable, ModelBuilder, ActionItemContract
- Enclosing class:
- ActionItem
public static final class ActionItem.Builder
- extends Object
- implements Serializable, ModelBuilder, ActionItemContract
A builder which can be used to construct ActionItem
instances. Enforces the constraints of the ActionItemContract
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static ActionItem.Builder create(String documentId,
String actionRequestCd,
String actionRequestId,
org.joda.time.DateTime dateTimeAssigned,
String docLabel,
String docHanderlURL,
String docName,
String responsibilityId,
String principalId)
create
public static ActionItem.Builder create(ActionItemContract contract)
build
public ActionItem build()
- Description copied from interface:
ModelBuilder
- Returns an instance of the object being built by this builder based
on the current state of the builder. It should be possible to
invoke this method more than once on the same builder. It should
never return null;
- Specified by:
build
in interface ModelBuilder
- Returns:
- an instance of the object being built by this builder,
should never return null
getId
public String getId()
- Specified by:
getId
in interface ActionItemContract
getDateTimeAssigned
public org.joda.time.DateTime getDateTimeAssigned()
- Specified by:
getDateTimeAssigned
in interface ActionItemContract
getActionRequestCd
public String getActionRequestCd()
- Specified by:
getActionRequestCd
in interface ActionItemContract
getActionRequestId
public String getActionRequestId()
- Specified by:
getActionRequestId
in interface ActionItemContract
getDocumentId
public String getDocumentId()
- Specified by:
getDocumentId
in interface ActionItemContract
getDocTitle
public String getDocTitle()
- Specified by:
getDocTitle
in interface ActionItemContract
getDocLabel
public String getDocLabel()
- Specified by:
getDocLabel
in interface ActionItemContract
getDocHandlerURL
public String getDocHandlerURL()
- Specified by:
getDocHandlerURL
in interface ActionItemContract
getDocName
public String getDocName()
- Specified by:
getDocName
in interface ActionItemContract
getResponsibilityId
public String getResponsibilityId()
- Specified by:
getResponsibilityId
in interface ActionItemContract
getRoleName
public String getRoleName()
- Specified by:
getRoleName
in interface ActionItemContract
getDateAssignedString
public String getDateAssignedString()
- Specified by:
getDateAssignedString
in interface ActionItemContract
getActionToTake
public String getActionToTake()
- Specified by:
getActionToTake
in interface ActionItemContract
getDelegationType
public DelegationType getDelegationType()
- Specified by:
getDelegationType
in interface ActionItemContract
getActionItemIndex
public Integer getActionItemIndex()
- Specified by:
getActionItemIndex
in interface ActionItemContract
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interface ActionItemContract
getPrincipalId
public String getPrincipalId()
- Specified by:
getPrincipalId
in interface ActionItemContract
getDelegatorGroupId
public String getDelegatorGroupId()
- Specified by:
getDelegatorGroupId
in interface ActionItemContract
getDelegatorPrincipalId
public String getDelegatorPrincipalId()
- Specified by:
getDelegatorPrincipalId
in interface ActionItemContract
setId
public void setId(String id)
setDateTimeAssigned
public void setDateTimeAssigned(org.joda.time.DateTime dateTimeAssigned)
setActionRequestCd
public void setActionRequestCd(String actionRequestCd)
setActionRequestId
public void setActionRequestId(String actionRequestId)
setDocumentId
public void setDocumentId(String documentId)
setDocTitle
public void setDocTitle(String docTitle)
setDocLabel
public void setDocLabel(String docLabel)
setDocHandlerURL
public void setDocHandlerURL(String docHandlerURL)
setDocName
public void setDocName(String docName)
setResponsibilityId
public void setResponsibilityId(String responsibilityId)
setRoleName
public void setRoleName(String roleName)
setDateAssignedString
public void setDateAssignedString(String dateAssignedString)
setActionToTake
public void setActionToTake(String actionToTake)
setDelegationType
public void setDelegationType(DelegationType delegationType)
setActionItemIndex
public void setActionItemIndex(Integer actionItemIndex)
setGroupId
public void setGroupId(String groupId)
setPrincipalId
public void setPrincipalId(String principalId)
setDelegatorGroupId
public void setDelegatorGroupId(String delegatorGroupId)
setDelegatorPrincipalId
public void setDelegatorPrincipalId(String delegatorPrincipalId)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.