org.kuali.rice.kim.api.identity.employment
Class EntityEmployment

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kim.api.identity.employment.EntityEmployment
All Implemented Interfaces:
Serializable, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, EntityEmploymentContract

public final class EntityEmployment
extends AbstractDataTransferObject
implements EntityEmploymentContract

See Also:
Serialized Form

Nested Class Summary
static class EntityEmployment.Builder
          A builder which can be used to construct EntityEmployment instances.
 
Method Summary
 KualiDecimal getBaseSalaryAmount()
          Gets this EntityEmploymentContract's base salary amount.
 String getEmployeeId()
          Gets this EntityEmploymentContract's employee id.
 CodedAttribute getEmployeeStatus()
          Gets this EntityEmploymentContract's employee status.
 CodedAttribute getEmployeeType()
          Gets this EntityEmploymentContract's employee type.
 String getEmploymentRecordId()
          Gets this EntityEmploymentContract's employment record id.
 EntityAffiliation getEntityAffiliation()
          Gets this EntityEmploymentContract's identity affiliation.
 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.
 String getPrimaryDepartmentCode()
          Gets this EntityEmploymentContract's primary department code.
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive()
          The active indicator for an object.
 boolean isPrimary()
          The primary value for this object.
 
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

getEntityId

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

Specified by:
getEntityId in interface EntityEmploymentContract
Returns:
the identity id for this EntityEmailContract

getEntityAffiliation

public EntityAffiliation getEntityAffiliation()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's identity affiliation.

Specified by:
getEntityAffiliation in interface EntityEmploymentContract
Returns:
the identity affiliation for this EntityEmploymentContract, or null if none has been assigned.

getEmployeeStatus

public CodedAttribute getEmployeeStatus()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's employee status.

Specified by:
getEmployeeStatus in interface EntityEmploymentContract
Returns:
the employee status for this EntityEmploymentContract, or null if none has been assigned.

getEmployeeType

public CodedAttribute getEmployeeType()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's employee type.

Specified by:
getEmployeeType in interface EntityEmploymentContract
Returns:
the employee type for this EntityEmploymentContract, or null if none has been assigned.

getPrimaryDepartmentCode

public String getPrimaryDepartmentCode()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's primary department code.

Specified by:
getPrimaryDepartmentCode in interface EntityEmploymentContract
Returns:
the primary department code for this EntityEmploymentContract, or null if none has been assigned.

getEmployeeId

public String getEmployeeId()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's employee id.

Specified by:
getEmployeeId in interface EntityEmploymentContract
Returns:
the employee id for this EntityEmploymentContract, or null if none has been assigned.

getEmploymentRecordId

public String getEmploymentRecordId()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's employment record id.

Specified by:
getEmploymentRecordId in interface EntityEmploymentContract
Returns:
the employment record id for this EntityEmploymentContract, or null if none has been assigned.

getBaseSalaryAmount

public KualiDecimal getBaseSalaryAmount()
Description copied from interface: EntityEmploymentContract
Gets this EntityEmploymentContract's base salary amount.

Specified by:
getBaseSalaryAmount in interface EntityEmploymentContract
Returns:
the base salary amount for this EntityEmploymentContract, or null if none has been assigned.

isPrimary

public boolean isPrimary()
Description copied from interface: EntityEmploymentContract
The primary value for this object.

Specified by:
isPrimary in interface EntityEmploymentContract
Returns:
returns true if the record is the primary Employment record for the parent entity

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

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-2012 The Kuali Foundation. All Rights Reserved.