|
||||||||||
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
Field Summary | |
---|---|
private Timestamp |
activeFromDate
|
private Timestamp |
activeToDate
|
private Map<String,String> |
attributes
|
private String |
memberId
|
private String |
memberTypeCode
|
private String |
roleId
|
private String |
roleMemberId
|
private List<RoleResponsibilityAction.Builder> |
roleRspActions
|
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,
String memberTypeCode,
Timestamp activeFromDate,
Timestamp activeToDate,
Map<String,String> attributes)
|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
Timestamp |
getActiveFromDate()
Gets the date for which the record become active. |
Timestamp |
getActiveToDate()
Gets the date for which the record become inactive. |
Map<String,String> |
getAttributes()
|
String |
getMemberId()
|
String |
getMemberTypeCode()
|
String |
getRoleId()
|
String |
getRoleMemberId()
|
List<RoleResponsibilityAction.Builder> |
getRoleRspActions()
|
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive(Timestamp activeAsOfDate)
Returns if the record is active for a given Time. |
void |
setActiveFromDate(Timestamp activeFromDate)
|
void |
setActiveToDate(Timestamp activeToDate)
|
void |
setAttributes(Map<String,String> attributes)
|
void |
setMemberId(String memberId)
|
void |
setMemberTypeCode(String memberTypeCode)
|
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 |
Field Detail |
---|
private String roleMemberId
private String roleId
private Map<String,String> attributes
private List<RoleResponsibilityAction.Builder> roleRspActions
private String memberId
private String memberTypeCode
private Timestamp activeFromDate
private Timestamp activeToDate
Constructor Detail |
---|
public RoleMember.Builder()
Method Detail |
---|
public static RoleMember.Builder create(String roleId, String roleMemberId, String memberId, String memberTypeCode, Timestamp activeFromDate, Timestamp 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 String getMemberTypeCode()
getMemberTypeCode
in interface RoleMemberContract
public void setMemberTypeCode(String memberTypeCode)
public Timestamp getActiveFromDate()
InactivatableFromTo
getActiveFromDate
in interface InactivatableFromTo
public void setActiveFromDate(Timestamp activeFromDate)
public Timestamp getActiveToDate()
InactivatableFromTo
getActiveToDate
in interface InactivatableFromTo
public void setActiveToDate(Timestamp activeToDate)
public boolean isActive(Timestamp 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 |