org.kuali.hr.time.earncode
Class EarnCode

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.hr.time.HrBusinessObject
              extended by org.kuali.hr.time.earncode.EarnCode
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, 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 EarnCode
extends HrBusinessObject

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
 
Fields inherited from class org.kuali.hr.time.HrBusinessObject
active, effectiveDate, timestamp
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
EarnCode()
           
 
Method Summary
 void assingAccrualCategoryObj()
           
 String getAccrualCategory()
           
 AccrualCategory getAccrualCategoryObj()
           
 Long getDefaultAmountofTime()
           
 String getDescription()
           
 String getEarnCode()
           
 String getEarnCodeKeyForDisplay()
           
 String getEarnCodeType()
          This is used by the timeblock json object.
 String getEarnCodeValueForDisplay()
           
 Date getEffectiveDate()
           
 String getHrEarnCodeId()
           
 String getId()
           
 BigDecimal getInflateFactor()
           
 BigDecimal getInflateMinHours()
           
 Boolean getOvtEarnCode()
           
 String getRecordMethod()
           
 Timestamp getTimestamp()
           
 String getUniqueKey()
           
 boolean isActive()
           
 boolean isHistory()
           
 void setAccrualCategory(String accrualCategory)
           
 void setAccrualCategoryObj(AccrualCategory accrualCategoryObj)
           
 void setActive(boolean active)
           
 void setDefaultAmountofTime(Long defaultAmountofTime)
           
 void setDescription(String description)
           
 void setEarnCode(String earnCode)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setHistory(boolean history)
           
 void setHrEarnCodeId(String hrEarnCodeId)
           
 void setId(String id)
           
 void setInflateFactor(BigDecimal inflateFactor)
           
 void setInflateMinHours(BigDecimal inflateMinHours)
           
 void setOvtEarnCode(Boolean ovtEarnCode)
           
 void setRecordMethod(String recordMethod)
           
 void setTimestamp(Timestamp timestamp)
           
 
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.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values
Constructor Detail

EarnCode

public EarnCode()
Method Detail

getRecordMethod

public String getRecordMethod()

setRecordMethod

public void setRecordMethod(String recordMethod)

getDefaultAmountofTime

public Long getDefaultAmountofTime()

setDefaultAmountofTime

public void setDefaultAmountofTime(Long defaultAmountofTime)

getEarnCode

public String getEarnCode()

setEarnCode

public void setEarnCode(String earnCode)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getEffectiveDate

public Date getEffectiveDate()
Overrides:
getEffectiveDate in class HrBusinessObject

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)
Overrides:
setEffectiveDate in class HrBusinessObject

isHistory

public boolean isHistory()

setHistory

public void setHistory(boolean history)

isActive

public boolean isActive()
Overrides:
isActive in class HrBusinessObject

setActive

public void setActive(boolean active)
Overrides:
setActive in class HrBusinessObject

getHrEarnCodeId

public String getHrEarnCodeId()

setHrEarnCodeId

public void setHrEarnCodeId(String hrEarnCodeId)

getTimestamp

public Timestamp getTimestamp()
Overrides:
getTimestamp in class HrBusinessObject

setTimestamp

public void setTimestamp(Timestamp timestamp)
Overrides:
setTimestamp in class HrBusinessObject

getAccrualCategory

public String getAccrualCategory()

setAccrualCategory

public void setAccrualCategory(String accrualCategory)

getAccrualCategoryObj

public AccrualCategory getAccrualCategoryObj()

assingAccrualCategoryObj

public void assingAccrualCategoryObj()

setAccrualCategoryObj

public void setAccrualCategoryObj(AccrualCategory accrualCategoryObj)

getInflateMinHours

public BigDecimal getInflateMinHours()

setInflateMinHours

public void setInflateMinHours(BigDecimal inflateMinHours)

getInflateFactor

public BigDecimal getInflateFactor()

setInflateFactor

public void setInflateFactor(BigDecimal inflateFactor)

getOvtEarnCode

public Boolean getOvtEarnCode()

setOvtEarnCode

public void setOvtEarnCode(Boolean ovtEarnCode)

getEarnCodeType

public String getEarnCodeType()
This is used by the timeblock json object. The purpose of this function is to create a string based on the record_* fields which can be used to render hour / begin(end) time input box

Returns:
String fieldType

getUniqueKey

public String getUniqueKey()
Specified by:
getUniqueKey in class HrBusinessObject

getId

public String getId()
Specified by:
getId in class HrBusinessObject

setId

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

getEarnCodeKeyForDisplay

public String getEarnCodeKeyForDisplay()

getEarnCodeValueForDisplay

public String getEarnCodeValueForDisplay()


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