org.kuali.kpme.core.job
Class Job

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.kpme.core.bo.HrBusinessObject
              extended by org.kuali.kpme.core.job.Job
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, JobContract, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class Job
extends HrBusinessObject
implements JobContract

See Also:
Serialized Form

Field Summary
static com.google.common.collect.ImmutableList<String> CACHE_FLUSH
           
static String CACHE_NAME
           
static com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Job()
           
 
Method Summary
 org.kuali.rice.core.api.util.type.KualiDecimal getCompRate()
          The hourly rate for this job
 String getDept()
          The name of the Department associated with the Job
 Department getDeptObj()
          The Department object associated with the Job
 String getFirstName()
          First name of the employee that holds the Job
 String getFlsaStatus()
          Indicates if Job is FLSA exempt or non-exempt.
 BigDecimal getFte()
          Rate used by the accrual service for calculating leave accrued by on FTE.
 Boolean getHistory()
          History flag for Job lookups
 String getHrJobId()
          The Primary Key of a Job entry saved in a database
 String getHrPayType()
          The pay type value of the PayType object associated with the Job
 String getHrSalGroup()
          The name of the SalaryGroup associated with the Job
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 Long getJobNumber()
          Sequential number which uniquely identify the job occurrence for the employee.
 String getLastName()
          Last name of the employee that holds the Job
 String getLocation()
          The location the job is associated with.
 Location getLocationObj()
          The Location object associated with the Job
 String getName()
          Name of the employee that holds the Job
 String getPayGrade()
          The pay grade field of the PayGrad object associated with the Job
 PayGrade getPayGradeObj()
          The PayGrade object associated with the Job
 PayType getPayTypeObj()
          The PayType object associated with the Job
 String getPositionNumber()
          Position associated with the job.
 PositionBase getPositionObj()
          PositionBase Object associated with the job.
 Boolean getPrimaryIndicator()
          Indicates if the Job is the primary job for the employee
 org.kuali.rice.kim.api.identity.Person getPrincipal()
          The employee that holds this job
 String getPrincipalId()
          Identifier of the employee that holds the Job
 String getPrincipalName()
          CompositeName the employee that holds the Job
 SalaryGroup getSalaryGroupObj()
          The SalaryGroup object associated with the Job
 BigDecimal getStandardHours()
          The standard hours for this job.
 String getUniqueKey()
          Combination of multiple string fields to identify the job.
 boolean isEligibleForLeave()
          Indicates if the Job is eligible for leave benefits
 void setCompRate(org.kuali.rice.core.api.util.type.KualiDecimal compRate)
           
 void setDept(String dept)
           
 void setDeptObj(Department deptObj)
           
 void setEligibleForLeave(boolean eligibleForLeave)
           
 void setFirstName(String firstName)
           
 void setFlsaStatus(String flsaStatus)
           
 void setFte()
           
 void setHistory(Boolean history)
           
 void setHrJobId(String hrJobId)
           
 void setHrPayType(String hrPayType)
           
 void setHrSalGroup(String hrSalGroup)
           
 void setId(String id)
           
 void setJobNumber(Long jobNumber)
           
 void setLastName(String lastName)
           
 void setLocation(String location)
           
 void setLocationObj(Location locationObj)
           
 void setPayGrade(String payGrade)
           
 void setPayGradeObj(PayGrade payGradeObj)
           
 void setPayTypeObj(PayType payTypeObj)
           
 void setPositionNumber(String positionNumber)
           
 void setPositionObj(PositionBase positionObj)
           
 void setPrimaryIndicator(Boolean primaryIndicator)
           
 void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)
           
 void setPrincipalId(String principalId)
           
 void setPrincipalName(String principalName)
           
 void setSalaryGroupObj(SalaryGroup salaryGroupObj)
           
 void setStandardHours(BigDecimal standardHours)
           
 
Methods inherited from class org.kuali.kpme.core.bo.HrBusinessObject
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
 
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
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kpme.core.api.bo.HrBusinessObjectContract
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
 
Methods inherited from interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 
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.common.active.Inactivatable
isActive
 

Field Detail

EQUAL_TO_FIELDS

public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values

CACHE_FLUSH

public static final com.google.common.collect.ImmutableList<String> CACHE_FLUSH
Constructor Detail

Job

public Job()
Method Detail

getFlsaStatus

public String getFlsaStatus()
Description copied from interface: JobContract
Indicates if Job is FLSA exempt or non-exempt.

flsaStatus of Job

Specified by:
getFlsaStatus in interface JobContract
Returns:
flsaStatus for Job

setFlsaStatus

public void setFlsaStatus(String flsaStatus)

getFte

public BigDecimal getFte()
Description copied from interface: JobContract
Rate used by the accrual service for calculating leave accrued by on FTE.

fte of Job

Specified by:
getFte in interface JobContract
Returns:
fte for Job

setFte

public void setFte()

getPayGrade

public String getPayGrade()
Description copied from interface: JobContract
The pay grade field of the PayGrad object associated with the Job

payGrade of Job

Specified by:
getPayGrade in interface JobContract
Returns:
payGrade for Job

setPayGrade

public void setPayGrade(String payGrade)

getStandardHours

public BigDecimal getStandardHours()
Description copied from interface: JobContract
The standard hours for this job. This drives holiday proration and “ready to approve criteria” for the timesheet (only timesheets meeting standard hours can be approved). Hourly jobs can have 0 standard hours

standardHours of Job

Specified by:
getStandardHours in interface JobContract
Returns:
standardHours for Job

setStandardHours

public void setStandardHours(BigDecimal standardHours)

getPrincipalId

public String getPrincipalId()
Description copied from interface: JobContract
Identifier of the employee that holds the Job

principalId of Job

Specified by:
getPrincipalId in interface JobContract
Returns:
principalId for Job

setPrincipalId

public void setPrincipalId(String principalId)

getFirstName

public String getFirstName()
Description copied from interface: JobContract
First name of the employee that holds the Job

firstName of Job

Specified by:
getFirstName in interface JobContract
Returns:
firstName for Job

setFirstName

public void setFirstName(String firstName)

getLastName

public String getLastName()
Description copied from interface: JobContract
Last name of the employee that holds the Job

lastName of Job

Specified by:
getLastName in interface JobContract
Returns:
lastName for Job

setLastName

public void setLastName(String lastName)

getName

public String getName()
Description copied from interface: JobContract
Name of the employee that holds the Job

name of Job

Specified by:
getName in interface JobContract
Returns:
name for Job

getPrincipalName

public String getPrincipalName()
Description copied from interface: JobContract
CompositeName the employee that holds the Job

principalName of Job

Specified by:
getPrincipalName in interface JobContract
Returns:
principalName for Job

setPrincipalName

public void setPrincipalName(String principalName)

getJobNumber

public Long getJobNumber()
Description copied from interface: JobContract
Sequential number which uniquely identify the job occurrence for the employee.

jobNumber of Job

Specified by:
getJobNumber in interface JobContract
Returns:
jobNumber for Job

setJobNumber

public void setJobNumber(Long jobNumber)

getHistory

public Boolean getHistory()
Description copied from interface: JobContract
History flag for Job lookups

history of Job

Specified by:
getHistory in interface JobContract
Returns:
true if want to show history, false if not

setHistory

public void setHistory(Boolean history)

setLocation

public void setLocation(String location)

getLocation

public String getLocation()
Description copied from interface: JobContract
The location the job is associated with.

location of Job

Specified by:
getLocation in interface JobContract
Returns:
location for Job

getHrPayType

public String getHrPayType()
Description copied from interface: JobContract
The pay type value of the PayType object associated with the Job

payType of Job

Specified by:
getHrPayType in interface JobContract
Returns:
payType for Job

setHrPayType

public void setHrPayType(String hrPayType)

getHrJobId

public String getHrJobId()
Description copied from interface: JobContract
The Primary Key of a Job entry saved in a database

hrJobId of a Job

Specified by:
getHrJobId in interface JobContract
Returns:
hrJobId for Job

setHrJobId

public void setHrJobId(String hrJobId)

getDept

public String getDept()
Description copied from interface: JobContract
The name of the Department associated with the Job

dept of a Job

Specified by:
getDept in interface JobContract
Returns:
dept for Job

setDept

public void setDept(String dept)

getHrSalGroup

public String getHrSalGroup()
Description copied from interface: JobContract
The name of the SalaryGroup associated with the Job

hrSalGroup of a Job

Specified by:
getHrSalGroup in interface JobContract
Returns:
hrSalGroup for Job

setHrSalGroup

public void setHrSalGroup(String hrSalGroup)

getCompRate

public org.kuali.rice.core.api.util.type.KualiDecimal getCompRate()
Description copied from interface: JobContract
The hourly rate for this job

compRate of a Job

Specified by:
getCompRate in interface JobContract
Returns:
compRate for Job

setCompRate

public void setCompRate(org.kuali.rice.core.api.util.type.KualiDecimal compRate)

getDeptObj

public Department getDeptObj()
Description copied from interface: JobContract
The Department object associated with the Job

deptObj of a Job

Specified by:
getDeptObj in interface JobContract
Returns:
deptObj for Job

setDeptObj

public void setDeptObj(Department deptObj)

getPayTypeObj

public PayType getPayTypeObj()
Description copied from interface: JobContract
The PayType object associated with the Job

payTypeObj of a Job

Specified by:
getPayTypeObj in interface JobContract
Returns:
payTypeObj for Job

setPayTypeObj

public void setPayTypeObj(PayType payTypeObj)

getPrincipal

public org.kuali.rice.kim.api.identity.Person getPrincipal()
Description copied from interface: JobContract
The employee that holds this job

principal of a Job

Specified by:
getPrincipal in interface JobContract
Returns:
principal for Job

setPrincipal

public void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)

setPrimaryIndicator

public void setPrimaryIndicator(Boolean primaryIndicator)

getPrimaryIndicator

public Boolean getPrimaryIndicator()
Description copied from interface: JobContract
Indicates if the Job is the primary job for the employee

primaryIndicator of a Job

Specified by:
getPrimaryIndicator in interface JobContract
Returns:
true if is primary, false if not

getLocationObj

public Location getLocationObj()
Description copied from interface: JobContract
The Location object associated with the Job

locationObj of a Job

Specified by:
getLocationObj in interface JobContract
Returns:
locationObj for Job

setLocationObj

public void setLocationObj(Location locationObj)

getPayGradeObj

public PayGrade getPayGradeObj()
Description copied from interface: JobContract
The PayGrade object associated with the Job

payGradeObj of a Job

Specified by:
getPayGradeObj in interface JobContract
Returns:
payGradeObj for Job

setPayGradeObj

public void setPayGradeObj(PayGrade payGradeObj)

getSalaryGroupObj

public SalaryGroup getSalaryGroupObj()
Description copied from interface: JobContract
The SalaryGroup object associated with the Job

salaryGroupObj of a Job

Specified by:
getSalaryGroupObj in interface JobContract
Returns:
salaryGroupObj for Job

setSalaryGroupObj

public void setSalaryGroupObj(SalaryGroup salaryGroupObj)

setPositionNumber

public void setPositionNumber(String positionNumber)

getPositionNumber

public String getPositionNumber()
Description copied from interface: JobContract
Position associated with the job.

positionNumber of a Job

Specified by:
getPositionNumber in interface JobContract
Returns:
positionNumber for Job

setPositionObj

public void setPositionObj(PositionBase positionObj)

getPositionObj

public PositionBase getPositionObj()
Description copied from interface: JobContract
PositionBase Object associated with the job.

positionObj of a Job

Specified by:
getPositionObj in interface JobContract
Returns:
positionObj for Job

getUniqueKey

public String getUniqueKey()
Description copied from interface: JobContract
Combination of multiple string fields to identify the job.

uniqueKey of a Job

Specified by:
getUniqueKey in interface JobContract
Specified by:
getUniqueKey in class HrBusinessObject
Returns:
uniqueKey for Job

getId

public String getId()
Description copied from interface: HrBusinessObjectContract
The unique id defined by the object, could be a combination of multiple fields

id of HrBusinessObject

Specified by:
getId in interface HrBusinessObjectContract
Specified by:
getId in interface JobContract
Specified by:
getId in class HrBusinessObject
Returns:
id of HrBusinessObject

setId

public void setId(String id)
Specified by:
setId in class HrBusinessObject

isEligibleForLeave

public boolean isEligibleForLeave()
Description copied from interface: JobContract
Indicates if the Job is eligible for leave benefits

eligibleForLeave of a Job

Specified by:
isEligibleForLeave in interface JobContract
Returns:
true if yes, false if not

setEligibleForLeave

public void setEligibleForLeave(boolean eligibleForLeave)


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