| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.common.assignee.Assignee.Builder
public static final class Assignee.Builder
This builder constructs a PermissionAssignee enforcing the constraints of the AssigneeContract.
| Method Summary | |
|---|---|
|  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) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static Assignee.Builder create(String principalId,
                                      String groupId,
                                      List<DelegateType.Builder> delegates)
public static Assignee.Builder create(AssigneeContract contract)
KimAttributeDataContract.
public String getPrincipalId()
AssigneeContract
getPrincipalId in interface AssigneeContractpublic void setPrincipalId(String principalId)
public String getGroupId()
AssigneeContract
getGroupId in interface AssigneeContractpublic void setGroupId(String groupId)
public List<DelegateType.Builder> getDelegates()
AssigneeContract
getDelegates in interface AssigneeContractpublic void setDelegates(List<DelegateType.Builder> delegates)
public Assignee build()
ModelBuilder
build in interface ModelBuilder| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||