org.kuali.rice.kim.api.identity.affiliation
Class EntityAffiliation

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kim.api.identity.affiliation.EntityAffiliation
All Implemented Interfaces:
Serializable, Inactivatable, Defaultable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, EntityAffiliationContract

public final class EntityAffiliation
extends AbstractDataTransferObject
implements EntityAffiliationContract

See Also:
Serialized Form

Nested Class Summary
static class EntityAffiliation.Builder
          A builder which can be used to construct EntityAffiliation instances.
 
Method Summary
 EntityAffiliationType getAffiliationType()
          Gets this KimEntityAffiliation's type.
 String getCampusCode()
          Gets this KimEntityAffiliation's campus code.
 String getEntityId()
          Gets this id of the parent identity object.
 String getId()
          The unique identifier for an object.
 String getObjectId()
          Return the globally unique object id of this object.
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive()
          The active indicator for an object.
 boolean isDefaultValue()
          The default value for this object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getEntityId

public String getEntityId()
Description copied from interface: EntityAffiliationContract
Gets this id of the parent identity object.

Specified by:
getEntityId in interface EntityAffiliationContract
Returns:
the identity id for this EntityAddressContract

getAffiliationType

public EntityAffiliationType getAffiliationType()
Description copied from interface: EntityAffiliationContract
Gets this KimEntityAffiliation's type.

Specified by:
getAffiliationType in interface EntityAffiliationContract
Returns:
the type for this KimEntityAffiliation, or null if none has been assigned.

getCampusCode

public String getCampusCode()
Description copied from interface: EntityAffiliationContract
Gets this KimEntityAffiliation's campus code.

Specified by:
getCampusCode in interface EntityAffiliationContract
Returns:
the campus code for this KimEntityAffiliation, or null if none has been assigned.

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

getObjectId

public String getObjectId()
Description copied from interface: GloballyUnique
Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.

Specified by:
getObjectId in interface GloballyUnique
Returns:
the objectId of this object, or null if it has not been set yet

isDefaultValue

public boolean isDefaultValue()
Description copied from interface: Defaultable
The default value for this object.

Specified by:
isDefaultValue in interface Defaultable
Returns:
the default value for this object

isActive

public boolean isActive()
Description copied from interface: Inactivatable
The active indicator for an object.

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

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id


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