|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.group.GroupMember.Builder
public static class GroupMember.Builder
| Method Summary | |
|---|---|
GroupMember |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static GroupMember.Builder |
create(GroupMemberContract contract)
creates a GroupMember from an existing GroupMemberContract. |
static GroupMember.Builder |
create(String groupId,
String memberId,
MemberType type)
creates a Parameter with the required fields. |
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. |
String |
getGroupId()
This is the id for the Group. |
String |
getId()
The unique identifier for an object. |
String |
getMemberId()
This is the member id for the Group Member. |
String |
getObjectId()
Return the globally unique object id of this object. |
MemberType |
getType()
This is the type code for the Group Member. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isActive(org.joda.time.DateTime activeAsOf)
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 |
setGroupId(String groupId)
|
void |
setId(String id)
|
void |
setMemberId(String memberId)
|
void |
setObjectId(String objectId)
|
void |
setType(MemberType type)
|
void |
setVersionNumber(Long versionNumber)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GroupMember.Builder create(String groupId,
String memberId,
MemberType type)
public static GroupMember.Builder create(GroupMemberContract contract)
GroupMemberContract.
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getGroupId()
GroupMemberContractThis is a id assigned to a Group. It defines the group this group member belongs to.
getGroupId in interface GroupMemberContractpublic void setGroupId(String groupId)
public String getMemberId()
GroupMemberContractThis is a id value that defines the Group Member. This value is either a Principal Id or Group Id depending on the type code
getMemberId in interface GroupMemberContractpublic void setMemberId(String memberId)
public MemberType getType()
GroupMemberContractThis is a value that defines the type of Group Member. This value determines whether memberId is either a Principal Id or Group Id
getType in interface GroupMemberContractpublic void setType(MemberType type)
public org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate in interface InactivatableFromTopublic void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate in interface InactivatableFromTopublic void setActiveToDate(org.joda.time.DateTime activeToDate)
public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public boolean isActive(org.joda.time.DateTime activeAsOf)
InactivatableFromTo
isActive in interface InactivatableFromTopublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic GroupMember build()
ModelBuilder
build in interface ModelBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||