public static final class DelegateMember.Builder extends Object implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
DelegateMember
instances. Enforces the constraints of the DelegateMemberContract
.Modifier and Type | Method and Description |
---|---|
DelegateMember |
build() |
static DelegateMember.Builder |
create() |
static DelegateMember.Builder |
create(org.kuali.rice.kim.api.common.delegate.DelegateMemberContract contract) |
org.joda.time.DateTime |
getActiveFromDate() |
org.joda.time.DateTime |
getActiveToDate() |
Map<String,String> |
getAttributes() |
String |
getDelegationId() |
String |
getDelegationMemberId() |
String |
getMemberId() |
String |
getRoleMemberId() |
org.kuali.rice.core.api.membership.MemberType |
getType() |
Long |
getVersionNumber() |
boolean |
isActive() |
boolean |
isActive(org.joda.time.DateTime activeAsOfDate) |
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(org.kuali.rice.core.api.membership.MemberType type) |
void |
setVersionNumber(Long versionNumber) |
public static DelegateMember.Builder create()
public static DelegateMember.Builder create(org.kuali.rice.kim.api.common.delegate.DelegateMemberContract contract)
public DelegateMember build()
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
public String getDelegationMemberId()
getDelegationMemberId
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setDelegationMemberId(String delegationMemberId)
public String getDelegationId()
getDelegationId
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setDelegationId(String delegationId)
public String getMemberId()
getMemberId
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setMemberId(String memberId)
public String getRoleMemberId()
getRoleMemberId
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setRoleMemberId(String roleMemberId)
public org.kuali.rice.core.api.membership.MemberType getType()
getType
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setType(org.kuali.rice.core.api.membership.MemberType type)
public Map<String,String> getAttributes()
getAttributes
in interface org.kuali.rice.kim.api.common.delegate.DelegateMemberContract
public void setAttributes(Map<String,String> attributes)
public Long getVersionNumber()
getVersionNumber
in interface org.kuali.rice.core.api.mo.common.Versioned
public void setVersionNumber(Long versionNumber)
public org.joda.time.DateTime getActiveFromDate()
getActiveFromDate
in interface org.kuali.rice.core.api.mo.common.active.InactivatableFromTo
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public org.joda.time.DateTime getActiveToDate()
getActiveToDate
in interface org.kuali.rice.core.api.mo.common.active.InactivatableFromTo
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public boolean isActive(org.joda.time.DateTime activeAsOfDate)
isActive
in interface org.kuali.rice.core.api.mo.common.active.InactivatableFromTo
public boolean isActive()
isActive
in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.