|
||||||||||
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.RoleMember.Builder
public static final class RoleMember.Builder
Method Summary | |
---|---|
RoleMember |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static RoleMember.Builder |
create(RoleMemberContract contract)
|
static RoleMember.Builder |
create(String roleId,
String id,
String memberId,
MemberType memberType,
org.joda.time.DateTime activeFromDate,
org.joda.time.DateTime activeToDate,
Map<String,String> attributes,
String memberName,
String memberNamespaceCode)
|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
org.joda.time.DateTime |
getActiveFromDate()
Gets the date for which the record become active. |
org.joda.time.DateTime |
getActiveToDate()
Gets the date for which the record become inactive. |
Map<String,String> |
getAttributes()
This returns specific attributes to be set on a Role Member in order to match permission and responsibilitys. |
String |
getId()
The unique identifier for an object. |
String |
getMemberId()
This is the member id for the Role Member. |
String |
getMemberName()
|
String |
getMemberNamespaceCode()
|
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getRoleId()
This is the id for the Role. |
List<RoleResponsibilityAction.Builder> |
getRoleRspActions()
This returns a list of role responsibility actions assigned to a role member |
MemberType |
getType()
This is the type code for the Role Member. |
Long |
getVersionNumber()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isActive(org.joda.time.DateTime activeAsOfDate)
Returns if the record is active for a given Time. |
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setAttributes(Map<String,String> attributes)
|
void |
setId(String id)
|
void |
setMemberId(String memberId)
|
void |
setMemberName(String memberName)
|
void |
setMemberNamespaceCode(String memberNamespaceCode)
|
void |
setObjectId(String objectId)
|
void |
setRoleId(String roleId)
|
void |
setRoleRspActions(List<RoleResponsibilityAction.Builder> roleRspActions)
|
void |
setType(MemberType type)
|
void |
setVersionNumber(Long versionNumber)
|
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 RoleMember.Builder create(String roleId, String id, String memberId, MemberType memberType, org.joda.time.DateTime activeFromDate, org.joda.time.DateTime activeToDate, Map<String,String> attributes, String memberName, String memberNamespaceCode)
public static RoleMember.Builder create(RoleMemberContract contract)
public RoleMember build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
public String getRoleId()
RoleMemberContract
This is a id assigned to a Role. It defines the role this role member belongs to.
getRoleId
in interface RoleMemberContract
public void setRoleId(String roleId)
public Map<String,String> getAttributes()
RoleMemberContract
getAttributes
in interface RoleMemberContract
public void setAttributes(Map<String,String> attributes)
public List<RoleResponsibilityAction.Builder> getRoleRspActions()
RoleMemberContract
getRoleRspActions
in interface RoleMemberContract
public void setRoleRspActions(List<RoleResponsibilityAction.Builder> roleRspActions)
public String getMemberId()
RoleMemberContract
This is a id value that defines the Role Member. This value is either a Principal Id, Group Id, or Role Id depending on the type code
getMemberId
in interface RoleMemberContract
public void setMemberId(String memberId)
public MemberType getType()
RoleMemberContract
This is a value that defines the type of Role Member. This value determines whether memberId is either a Principal Id, Group Id, or Role Id
getType
in interface RoleMemberContract
public String getMemberName()
getMemberName
in interface RoleMemberContract
public void setMemberName(String memberName)
public String getMemberNamespaceCode()
getMemberNamespaceCode
in interface RoleMemberContract
public void setMemberNamespaceCode(String memberNamespaceCode)
public void setType(MemberType type)
public org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate
in interface InactivatableFromTo
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate
in interface InactivatableFromTo
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public boolean isActive(org.joda.time.DateTime activeAsOfDate)
InactivatableFromTo
isActive
in interface InactivatableFromTo
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setObjectId(String objectId)
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 |