org.kuali.rice.kim.impl.identity.employment
Class EntityEmploymentBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kim.impl.identity.employment.EntityEmploymentBo
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, EntityEmploymentContract, BusinessObject, PersistableBusinessObject

public class EntityEmploymentBo
extends PersistableBusinessObjectBase
implements EntityEmploymentContract, groovy.lang.GroovyObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
EntityEmploymentBo()
           
 
Method Summary
static EntityEmploymentBo from(EntityEmployment immutable)
           
 boolean getActive()
           
 KualiDecimal getBaseSalaryAmount()
          Gets this EntityEmploymentContract's base salary amount.
 String getEmployeeId()
          Gets this EntityEmploymentContract's employee id.
 EntityEmploymentStatusBo getEmployeeStatus()
          Gets this EntityEmploymentContract's employee status.
 String getEmployeeStatusCode()
           
 EntityEmploymentTypeBo getEmployeeType()
          Gets this EntityEmploymentContract's employee type.
 String getEmployeeTypeCode()
           
 String getEmploymentRecordId()
          Gets this EntityEmploymentContract's employment record id.
 EntityAffiliationBo getEntityAffiliation()
          Gets this EntityEmploymentContract's identity affiliation.
 String getEntityAffiliationId()
           
 String getEntityId()
          Gets this id of the parent identity object.
 String getId()
          The unique identifier for an object.
 groovy.lang.MetaClass getMetaClass()
           
 boolean getPrimary()
           
 String getPrimaryDepartmentCode()
          Gets this EntityEmploymentContract's primary department code.
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
 boolean isActive()
          The active indicator for an object.
 boolean isPrimary()
          The primary value for this object.
 void setActive(boolean value)
           
 void setBaseSalaryAmount(KualiDecimal value)
           
 void setEmployeeId(String value)
           
 void setEmployeeStatus(EntityEmploymentStatusBo value)
           
 void setEmployeeStatusCode(String value)
           
 void setEmployeeType(EntityEmploymentTypeBo value)
           
 void setEmployeeTypeCode(String value)
           
 void setEmploymentRecordId(String value)
           
 void setEntityAffiliation(EntityAffiliationBo value)
           
 void setEntityAffiliationId(String value)
           
 void setEntityId(String value)
           
 void setId(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setPrimary(boolean value)
           
 void setPrimaryDepartmentCode(String value)
           
 void setProperty(String property, Object value)
           
static EntityEmployment to(EntityEmploymentBo bo)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

EntityEmploymentBo

public EntityEmploymentBo()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

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

setId

public void setId(String value)

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

setEntityId

public void setEntityId(String value)

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.

setEmployeeId

public void setEmployeeId(String value)

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.

setEmploymentRecordId

public void setEmploymentRecordId(String value)

getEntityAffiliationId

public String getEntityAffiliationId()

setEntityAffiliationId

public void setEntityAffiliationId(String value)

getEmployeeStatusCode

public String getEmployeeStatusCode()

setEmployeeStatusCode

public void setEmployeeStatusCode(String value)

getEmployeeTypeCode

public String getEmployeeTypeCode()

setEmployeeTypeCode

public void setEmployeeTypeCode(String value)

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.

setPrimaryDepartmentCode

public void setPrimaryDepartmentCode(String value)

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.

setBaseSalaryAmount

public void setBaseSalaryAmount(KualiDecimal value)

getPrimary

public boolean getPrimary()

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

setPrimary

public void setPrimary(boolean value)

getActive

public boolean getActive()

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.

setActive

public void setActive(boolean value)

setEmployeeType

public void setEmployeeType(EntityEmploymentTypeBo value)

setEmployeeStatus

public void setEmployeeStatus(EntityEmploymentStatusBo value)

setEntityAffiliation

public void setEntityAffiliation(EntityAffiliationBo value)

getEntityAffiliation

public EntityAffiliationBo 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 EntityEmploymentStatusBo 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 EntityEmploymentTypeBo 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.

to

public static EntityEmployment to(EntityEmploymentBo bo)

from

public static EntityEmploymentBo from(EntityEmployment immutable)


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