|
||||||||||
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
Constructor Summary | |
---|---|
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 roleMemberId,
String memberId,
MemberType memberType,
org.joda.time.DateTime activeFromDate,
org.joda.time.DateTime activeToDate,
Map<String,String> attributes)
|
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()
|
String |
getMemberId()
|
MemberType |
getMemberType()
|
String |
getRoleId()
|
String |
getRoleMemberId()
|
List<RoleResponsibilityAction.Builder> |
getRoleRspActions()
|
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
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 |
setMemberId(String memberId)
|
void |
setMemberType(MemberType memberType)
|
void |
setRoleId(String roleId)
|
void |
setRoleMemberId(String roleMemberId)
|
void |
setRoleRspActions(List<RoleResponsibilityAction.Builder> roleRspActions)
|
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 |
Constructor Detail |
---|
public RoleMember.Builder()
Method Detail |
---|
public static RoleMember.Builder create(String roleId, String roleMemberId, String memberId, MemberType memberType, org.joda.time.DateTime activeFromDate, org.joda.time.DateTime activeToDate, Map<String,String> attributes)
public static RoleMember.Builder create(RoleMemberContract contract)
public RoleMember build()
ModelBuilder
build
in interface ModelBuilder
public String getRoleMemberId()
getRoleMemberId
in interface RoleMemberContract
public void setRoleMemberId(String roleMemberId)
public String getRoleId()
getRoleId
in interface RoleMemberContract
public void setRoleId(String roleId)
public Map<String,String> getAttributes()
getAttributes
in interface RoleMemberContract
public void setAttributes(Map<String,String> attributes)
public List<RoleResponsibilityAction.Builder> getRoleRspActions()
getRoleRspActions
in interface RoleMemberContract
public void setRoleRspActions(List<RoleResponsibilityAction.Builder> roleRspActions)
public String getMemberId()
getMemberId
in interface RoleMemberContract
public void setMemberId(String memberId)
public MemberType getMemberType()
getMemberType
in interface RoleMemberContract
public void setMemberType(MemberType memberType)
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 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 |