public static final class Assignee.Builder extends Object implements AssigneeContract, ModelBuilder, Serializable
AssigneeContract.| Modifier and Type | Method and Description |
|---|---|
Assignee |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static Assignee.Builder |
create(AssigneeContract contract)
creates a KimAttributeData from an existing
KimAttributeDataContract. |
static Assignee.Builder |
create(String principalId,
String groupId,
List<DelegateType.Builder> delegates)
Creates a KimAttributeData with the required fields.
|
List<DelegateType.Builder> |
getDelegates()
List of Delegates for a Permission Assignee
|
String |
getGroupId()
The Group ID referenced by the Permission Assignee.
|
String |
getPrincipalId()
The Principal ID referenced by the Permission Assignee.
|
void |
setDelegates(List<DelegateType.Builder> delegates) |
void |
setGroupId(String groupId) |
void |
setPrincipalId(String principalId) |
public static Assignee.Builder create(String principalId, String groupId, List<DelegateType.Builder> delegates)
public static Assignee.Builder create(AssigneeContract contract)
KimAttributeDataContract.public String getPrincipalId()
AssigneeContractgetPrincipalId in interface AssigneeContractpublic void setPrincipalId(String principalId)
public String getGroupId()
AssigneeContractgetGroupId in interface AssigneeContractpublic void setGroupId(String groupId)
public List<DelegateType.Builder> getDelegates()
AssigneeContractgetDelegates in interface AssigneeContractpublic void setDelegates(List<DelegateType.Builder> delegates)
public Assignee build()
ModelBuilderbuild in interface ModelBuilderCopyright © 2005–2014 The Kuali Foundation. All rights reserved.