public static final class RuleResponsibility.Builder extends Object implements Serializable, ModelBuilder, RuleResponsibilityContract
RuleResponsibility instances. Enforces the constraints of the RuleResponsibilityContract.| Modifier and Type | Method and Description |
|---|---|
RuleResponsibility |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RuleResponsibility.Builder |
create() |
static RuleResponsibility.Builder |
create(RuleResponsibilityContract contract) |
String |
getActionRequestedCd()
code for the Action Requested
|
String |
getApprovePolicy()
approval policy for the RuleResponsibility
|
List<RuleDelegation.Builder> |
getDelegationRules()
list of RuleDelegations for the RuleResponsibility
|
String |
getGroupId()
unique id of the Group for the RuleResponsibility
|
String |
getId()
The unique identifier for an object.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
String |
getPrincipalId()
unique id of the Principal for the RuleResponsibility
|
Integer |
getPriority()
integer representation of the priority of the RuleResponsibility
|
String |
getResponsibilityId()
Unique Id for Responsibility.
|
String |
getRoleName()
unique name of the Role for the RuleResponsibility
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isUsingGroup()
determines if the RuleResponsibiltity is using a kim Group
|
boolean |
isUsingPrincipal()
determines if the RuleResponsibiltity is using a kim Principal
|
boolean |
isUsingRole()
determines if the RuleResponsibiltity is using a kim Role
|
void |
setActionRequestedCd(String actionRequestedCd) |
void |
setApprovePolicy(String approvePolicy) |
void |
setDelegationRules(List<RuleDelegation.Builder> delegationRules) |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setPrincipalId(String principalId) |
void |
setPriority(Integer priority) |
void |
setResponsibilityId(String responsibilityId) |
void |
setRoleName(String roleName) |
void |
setUsingGroup(boolean usingGroup) |
void |
setUsingPrincipal(boolean usingPrincipal) |
void |
setUsingRole(boolean usingRole) |
void |
setVersionNumber(Long versionNumber) |
public static RuleResponsibility.Builder create()
public static RuleResponsibility.Builder create(RuleResponsibilityContract contract)
public RuleResponsibility build()
ModelBuilderbuild in interface ModelBuilderpublic String getId()
IdentifiablegetId in interface Identifiablepublic Integer getPriority()
RuleResponsibilityContractgetPriority in interface RuleResponsibilityContractpublic String getResponsibilityId()
RuleResponsibilityContractThis is the unique Id of the Responsibility
getResponsibilityId in interface RuleResponsibilityContractpublic String getActionRequestedCd()
RuleResponsibilityContractThis code matches the unique code for an ActionRequest
getActionRequestedCd in interface RuleResponsibilityContractpublic String getApprovePolicy()
RuleResponsibilityContractgetApprovePolicy in interface RuleResponsibilityContractpublic String getPrincipalId()
RuleResponsibilityContractgetPrincipalId in interface RuleResponsibilityContractpublic String getGroupId()
RuleResponsibilityContractgetGroupId in interface RuleResponsibilityContractpublic String getRoleName()
RuleResponsibilityContractgetRoleName in interface RuleResponsibilityContractpublic List<RuleDelegation.Builder> getDelegationRules()
RuleResponsibilityContractgetDelegationRules in interface RuleResponsibilityContractpublic boolean isUsingRole()
RuleResponsibilityContractisUsingRole in interface RuleResponsibilityContractpublic boolean isUsingPrincipal()
RuleResponsibilityContractisUsingPrincipal in interface RuleResponsibilityContractpublic boolean isUsingGroup()
RuleResponsibilityContractisUsingGroup in interface RuleResponsibilityContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setPriority(Integer priority)
public void setResponsibilityId(String responsibilityId)
public void setActionRequestedCd(String actionRequestedCd)
public void setApprovePolicy(String approvePolicy)
public void setPrincipalId(String principalId)
public void setGroupId(String groupId)
public void setRoleName(String roleName)
public void setDelegationRules(List<RuleDelegation.Builder> delegationRules)
public void setUsingRole(boolean usingRole)
public void setUsingPrincipal(boolean usingPrincipal)
public void setUsingGroup(boolean usingGroup)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.