public static final class ResponsibilityAction.Builder extends Object implements Serializable, ModelBuilder, ResponsibilityActionContract
ResponsibilityAction instances. Enforces the constraints of the ResponsibilityActionContract.| Modifier and Type | Method and Description |
|---|---|
ResponsibilityAction |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static ResponsibilityAction.Builder |
create()
All required fields are enforced in the
build()
method. |
static ResponsibilityAction.Builder |
create(ResponsibilityActionContract contract) |
String |
getActionPolicyCode()
The actionPolicyCode the responsibility action is associated with.
|
String |
getActionTypeCode()
The actionTypeCode the responsibility action is associated with.
|
List<DelegateType.Builder> |
getDelegates()
The delegates for this responsibility action.
|
String |
getGroupId()
The groupId the responsibility action is associated with.
|
String |
getMemberRoleId()
The memberRoleId the responsibility action is associated with.
|
String |
getParallelRoutingGroupingCode()
The parallelRoutingGroupingCode the responsibility action is associated with.
|
String |
getPrincipalId()
The principalId the responsibility action is associated with.
|
Integer |
getPriorityNumber()
The priorityNumber the responsibility action is associated with.
|
Map<String,String> |
getQualifier()
The qualifying attributes for the responsibility action.
|
String |
getResponsibilityId()
The responsibilityId the responsibility action is associated with.
|
String |
getResponsibilityName()
The responsibilityName the responsibility action is associated with.
|
String |
getResponsibilityNamespaceCode()
The responsibilityNamespaceCode the responsibility action is associated with.
|
String |
getRoleId()
The roleId the responsibility action is associated with.
|
String |
getRoleResponsibilityActionId()
The roleResponsibilityActionId the responsibility action is associated with.
|
boolean |
isForceAction()
Whether is responsibility action is a force action.
|
void |
setActionPolicyCode(String actionPolicyCode) |
void |
setActionTypeCode(String actionTypeCode) |
void |
setDelegates(List<DelegateType.Builder> delegates) |
void |
setForceAction(boolean forceAction) |
void |
setGroupId(String groupId) |
void |
setMemberRoleId(String memberRoleId) |
void |
setParallelRoutingGroupingCode(String parallelRoutingGroupingCode) |
void |
setPrincipalId(String principalId) |
void |
setPriorityNumber(Integer priorityNumber) |
void |
setQualifier(Map<String,String> qualifier) |
void |
setResponsibilityId(String responsibilityId) |
void |
setResponsibilityName(String responsibilityName) |
void |
setResponsibilityNamespaceCode(String responsibilityNamespaceCode) |
void |
setRoleId(String roleId) |
void |
setRoleResponsibilityActionId(String roleResponsibilityActionId) |
public static ResponsibilityAction.Builder create()
build()
method. Please see ResponsibilityActionContract to see what fields are required.public static ResponsibilityAction.Builder create(ResponsibilityActionContract contract)
public ResponsibilityAction build()
ModelBuilderbuild in interface ModelBuilderpublic String getPrincipalId()
ResponsibilityActionContract
Can be null as long as the ResponsibilityActionContract.getGroupId() is not null.
When this is set the ResponsibilityActionContract.getGroupId() will not be.
getPrincipalId in interface ResponsibilityActionContractpublic String getRoleResponsibilityActionId()
ResponsibilityActionContractgetRoleResponsibilityActionId in interface ResponsibilityActionContractpublic String getParallelRoutingGroupingCode()
ResponsibilityActionContractgetParallelRoutingGroupingCode in interface ResponsibilityActionContractpublic String getActionTypeCode()
ResponsibilityActionContractgetActionTypeCode in interface ResponsibilityActionContractpublic String getActionPolicyCode()
ResponsibilityActionContractgetActionPolicyCode in interface ResponsibilityActionContractpublic Integer getPriorityNumber()
ResponsibilityActionContractgetPriorityNumber in interface ResponsibilityActionContractpublic String getGroupId()
ResponsibilityActionContract
Can be null as long as the ResponsibilityActionContract.getPrincipalId() is not null.
When this is set the ResponsibilityActionContract.getPrincipalId() will not be.
getGroupId in interface ResponsibilityActionContractpublic String getMemberRoleId()
ResponsibilityActionContractgetMemberRoleId in interface ResponsibilityActionContractpublic String getResponsibilityName()
ResponsibilityActionContractgetResponsibilityName in interface ResponsibilityActionContractpublic String getResponsibilityId()
ResponsibilityActionContractgetResponsibilityId in interface ResponsibilityActionContractpublic String getResponsibilityNamespaceCode()
ResponsibilityActionContractgetResponsibilityNamespaceCode in interface ResponsibilityActionContractpublic boolean isForceAction()
ResponsibilityActionContractisForceAction in interface ResponsibilityActionContractpublic Map<String,String> getQualifier()
ResponsibilityActionContractgetQualifier in interface ResponsibilityActionContractpublic List<DelegateType.Builder> getDelegates()
ResponsibilityActionContractgetDelegates in interface ResponsibilityActionContractpublic String getRoleId()
ResponsibilityActionContractgetRoleId in interface ResponsibilityActionContractpublic void setPrincipalId(String principalId)
public void setRoleResponsibilityActionId(String roleResponsibilityActionId)
public void setParallelRoutingGroupingCode(String parallelRoutingGroupingCode)
public void setActionTypeCode(String actionTypeCode)
public void setActionPolicyCode(String actionPolicyCode)
public void setPriorityNumber(Integer priorityNumber)
public void setGroupId(String groupId)
public void setMemberRoleId(String memberRoleId)
public void setResponsibilityName(String responsibilityName)
public void setResponsibilityId(String responsibilityId)
public void setResponsibilityNamespaceCode(String responsibilityNamespaceCode)
public void setForceAction(boolean forceAction)
public void setQualifier(Map<String,String> qualifier)
public void setDelegates(List<DelegateType.Builder> delegates)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.