org.kuali.rice.kim.api.common.delegate
Class DelegateMember

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kim.api.common.delegate.DelegateMember
All Implemented Interfaces:
Serializable, InactivatableFromTo, Versioned, ModelObjectBasic, ModelObjectComplete, DelegateMemberContract

public final class DelegateMember
extends AbstractDataTransferObject
implements DelegateMemberContract

See Also:
Serialized Form

Nested Class Summary
static class DelegateMember.Builder
          A builder which can be used to construct DelegateMember instances.
static class DelegateMember.Cache
           
 
Method Summary
 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 getDelegationId()
           
 String getDelegationMemberId()
           
 String getMemberId()
           
 String getRoleMemberId()
           
 MemberType getType()
           
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive(org.joda.time.DateTime activeAsOfDate)
          Returns if the record is active for a given Time.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getDelegationMemberId

public String getDelegationMemberId()
Specified by:
getDelegationMemberId in interface DelegateMemberContract

getDelegationId

public String getDelegationId()
Specified by:
getDelegationId in interface DelegateMemberContract

getType

public MemberType getType()
Specified by:
getType in interface DelegateMemberContract

getRoleMemberId

public String getRoleMemberId()
Specified by:
getRoleMemberId in interface DelegateMemberContract

getMemberId

public String getMemberId()
Specified by:
getMemberId in interface DelegateMemberContract

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

getActiveFromDate

public org.joda.time.DateTime getActiveFromDate()
Description copied from interface: InactivatableFromTo
Gets the date for which the record become active. Can be null.

Specified by:
getActiveFromDate in interface InactivatableFromTo
Returns:
Timestamp of active from date

getActiveToDate

public org.joda.time.DateTime getActiveToDate()
Description copied from interface: InactivatableFromTo
Gets the date for which the record become inactive. Can be null.

Specified by:
getActiveToDate in interface InactivatableFromTo
Returns:
Timestamp of active to date

isActive

public boolean isActive(org.joda.time.DateTime activeAsOfDate)
Description copied from interface: InactivatableFromTo
Returns if the record is active for a given Time. If the activeAsOfDate is null will return null.

Specified by:
isActive in interface InactivatableFromTo
Returns:
true if active false if not


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.