public static final class DelegateMember.Builder extends Object implements Serializable, ModelBuilder, DelegateMemberContract
DelegateMember
instances. Enforces the constraints of the DelegateMemberContract
.Modifier and Type | Method and Description |
---|---|
DelegateMember |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static DelegateMember.Builder |
create() |
static DelegateMember.Builder |
create(DelegateMemberContract 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 |
getDelegationId() |
String |
getDelegationMemberId() |
String |
getMemberId() |
String |
getRoleMemberId() |
MemberType |
getType() |
Long |
getVersionNumber()
Returns the version number for this object.
|
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 |
setDelegationId(String delegationId) |
void |
setDelegationMemberId(String delegationMemberId) |
void |
setMemberId(String memberId) |
void |
setRoleMemberId(String roleMemberId) |
void |
setType(MemberType type) |
void |
setVersionNumber(Long versionNumber) |
public static DelegateMember.Builder create()
public static DelegateMember.Builder create(DelegateMemberContract contract)
public DelegateMember build()
ModelBuilder
build
in interface ModelBuilder
public String getDelegationMemberId()
getDelegationMemberId
in interface DelegateMemberContract
public void setDelegationMemberId(String delegationMemberId)
public String getDelegationId()
getDelegationId
in interface DelegateMemberContract
public void setDelegationId(String delegationId)
public String getMemberId()
getMemberId
in interface DelegateMemberContract
public void setMemberId(String memberId)
public String getRoleMemberId()
getRoleMemberId
in interface DelegateMemberContract
public void setRoleMemberId(String roleMemberId)
public MemberType getType()
getType
in interface DelegateMemberContract
public void setType(MemberType type)
public Map<String,String> getAttributes()
getAttributes
in interface DelegateMemberContract
public void setAttributes(Map<String,String> attributes)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
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
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.