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()
ModelBuilder
build
in interface ModelBuilder
public 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 ResponsibilityActionContract
public String getRoleResponsibilityActionId()
ResponsibilityActionContract
getRoleResponsibilityActionId
in interface ResponsibilityActionContract
public String getParallelRoutingGroupingCode()
ResponsibilityActionContract
getParallelRoutingGroupingCode
in interface ResponsibilityActionContract
public String getActionTypeCode()
ResponsibilityActionContract
getActionTypeCode
in interface ResponsibilityActionContract
public String getActionPolicyCode()
ResponsibilityActionContract
getActionPolicyCode
in interface ResponsibilityActionContract
public Integer getPriorityNumber()
ResponsibilityActionContract
getPriorityNumber
in interface ResponsibilityActionContract
public 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 ResponsibilityActionContract
public String getMemberRoleId()
ResponsibilityActionContract
getMemberRoleId
in interface ResponsibilityActionContract
public String getResponsibilityName()
ResponsibilityActionContract
getResponsibilityName
in interface ResponsibilityActionContract
public String getResponsibilityId()
ResponsibilityActionContract
getResponsibilityId
in interface ResponsibilityActionContract
public String getResponsibilityNamespaceCode()
ResponsibilityActionContract
getResponsibilityNamespaceCode
in interface ResponsibilityActionContract
public boolean isForceAction()
ResponsibilityActionContract
isForceAction
in interface ResponsibilityActionContract
public Map<String,String> getQualifier()
ResponsibilityActionContract
getQualifier
in interface ResponsibilityActionContract
public List<DelegateType.Builder> getDelegates()
ResponsibilityActionContract
getDelegates
in interface ResponsibilityActionContract
public String getRoleId()
ResponsibilityActionContract
getRoleId
in interface ResponsibilityActionContract
public 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.