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()
AssigneeContract
getPrincipalId
in interface AssigneeContract
public void setPrincipalId(String principalId)
public String getGroupId()
AssigneeContract
getGroupId
in interface AssigneeContract
public void setGroupId(String groupId)
public List<DelegateType.Builder> getDelegates()
AssigneeContract
getDelegates
in interface AssigneeContract
public void setDelegates(List<DelegateType.Builder> delegates)
public Assignee build()
ModelBuilder
build
in interface ModelBuilder
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.