|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.role.RoleMembership.Builder
public static final class RoleMembership.Builder
Method Summary | |
---|---|
RoleMembership |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static RoleMembership.Builder |
create(RoleMembershipContract contract)
|
static RoleMembership.Builder |
create(String roleId,
String id,
String memberId,
MemberType memberType,
Map<String,String> qualifier)
|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
List<DelegateType.Builder> |
getDelegates()
|
String |
getEmbeddedRoleId()
|
String |
getId()
The unique identifier for an object. |
String |
getMemberId()
|
Map<String,String> |
getQualifier()
|
String |
getRoleId()
|
String |
getRoleSortingCode()
|
MemberType |
getType()
|
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
void |
setDelegates(List<DelegateType.Builder> delegates)
|
void |
setEmbeddedRoleId(String embeddedRoleId)
|
void |
setId(String id)
|
void |
setMemberId(String memberId)
|
void |
setQualifier(Map<String,String> qualifier)
|
void |
setRoleId(String roleId)
|
void |
setRoleSortingCode(String roleSortingCode)
|
void |
setType(MemberType type)
|
String |
toString()
This will return a proper string representation of the Model Object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static RoleMembership.Builder create(String roleId, String id, String memberId, MemberType memberType, Map<String,String> qualifier)
public static RoleMembership.Builder create(RoleMembershipContract contract)
public RoleMembership build()
ModelBuilder
build
in interface ModelBuilder
public String getRoleId()
getRoleId
in interface RoleMembershipContract
public void setRoleId(String roleId)
public Map<String,String> getQualifier()
getQualifier
in interface RoleMembershipContract
public void setQualifier(Map<String,String> qualifier)
public List<DelegateType.Builder> getDelegates()
getDelegates
in interface RoleMembershipContract
public void setDelegates(List<DelegateType.Builder> delegates)
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
public String getMemberId()
getMemberId
in interface RoleMembershipContract
public void setMemberId(String memberId)
public MemberType getType()
getType
in interface RoleMembershipContract
public void setType(MemberType type)
public String getEmbeddedRoleId()
getEmbeddedRoleId
in interface RoleMembershipContract
public void setEmbeddedRoleId(String embeddedRoleId)
public String getRoleSortingCode()
getRoleSortingCode
in interface RoleMembershipContract
public void setRoleSortingCode(String roleSortingCode)
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.
hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object obj)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.
equals
in interface ModelObjectComplete
equals
in class Object
obj
- to object to compare for equality
public String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |