org.kuali.kpme.tklm.leave.donation
Class LeaveDonation

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.tklm.leave.donation.LeaveDonation
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, LeaveDonationContract, 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 LeaveDonation
extends HrBusinessObject
implements LeaveDonationContract

See Also:
Serialized Form

Field Summary
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
LeaveDonation()
           
 
Method Summary
 AccrualCategory getAccrualCategoryObj()
          The AccuralCategory object associated with the LeaveDonation
 BigDecimal getAmountDonated()
          The amount of accrued leave to be donated
 BigDecimal getAmountReceived()
          The amount of accrued leave to be received
 String getDescription()
          The descripton of the LeaveDonation
 String getDonatedAccrualCategory()
          The AccrualCategory name associated with the LeaveDonation
 String getDonatedEarnCode()
          The EarnCode name that a leave block indicating the amount donated will be recorded with
 String getDonorsPrincipalID()
          The principalID of the employee who is donating leave
 EarnCode getEarnCodeObj()
          The EarnCode object associated with the LeaveDonation
 Boolean getHistory()
          The history flag of the LeaveDonation
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 String getLmLeaveDonationId()
          The primary key of a LeaveDonation entry saved in a database
 org.kuali.rice.kim.api.identity.Person getPersonObj()
          The Person object associated with the LeaveDonation
 String getRecipientsAccrualCategory()
          The AccrualCategory name the donated Leave will be accrued to
 String getRecipientsEarnCode()
          The EarnCode name that donation accrual leave block will be recorded with
 String getRecipientsPrincipalID()
          The principalID of the employee who is receiving the donated leave
protected  String getUniqueKey()
           
 void setAccrualCategoryObj(AccrualCategory accrualCategoryObj)
           
 void setAmountDonated(BigDecimal amountDonated)
           
 void setAmountReceived(BigDecimal amountReceived)
           
 void setDescription(String description)
           
 void setDonatedAccrualCategory(String donatedAccrualCategory)
           
 void setDonatedEarnCode(String donatedEarnCode)
           
 void setDonorsPrincipalID(String donorsPrincipalID)
           
 void setEarnCodeObj(EarnCode earnCodeObj)
           
 void setHistory(Boolean history)
           
 void setId(String id)
           
 void setLmLeaveDonationId(String lmLeaveDonationId)
           
 void setPersonObj(org.kuali.rice.kim.api.identity.Person personObj)
           
 void setRecipientsAccrualCategory(String recipientsAccrualCategory)
           
 void setRecipientsEarnCode(String recipientsEarnCode)
           
 void setRecipientsPrincipalID(String recipientsPrincipalID)
           
 
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

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values

EQUAL_TO_FIELDS

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

LeaveDonation

public LeaveDonation()
Method Detail

getEarnCodeObj

public EarnCode getEarnCodeObj()
Description copied from interface: LeaveDonationContract
The EarnCode object associated with the LeaveDonation

earnCodeObject of a LeaveDonation

Specified by:
getEarnCodeObj in interface LeaveDonationContract
Returns:
earnCodeObject for LeaveDonation

setEarnCodeObj

public void setEarnCodeObj(EarnCode earnCodeObj)

getDonatedEarnCode

public String getDonatedEarnCode()
Description copied from interface: LeaveDonationContract
The EarnCode name that a leave block indicating the amount donated will be recorded with

donatedEarnCode of a LeaveDonation

Specified by:
getDonatedEarnCode in interface LeaveDonationContract
Returns:
donatedEarnCode for LeaveDonation

setDonatedEarnCode

public void setDonatedEarnCode(String donatedEarnCode)

getRecipientsEarnCode

public String getRecipientsEarnCode()
Description copied from interface: LeaveDonationContract
The EarnCode name that donation accrual leave block will be recorded with

recipientsEarnCode of a LeaveDonation

Specified by:
getRecipientsEarnCode in interface LeaveDonationContract
Returns:
recipientsEarnCode for LeaveDonation

setRecipientsEarnCode

public void setRecipientsEarnCode(String recipientsEarnCode)

getLmLeaveDonationId

public String getLmLeaveDonationId()
Description copied from interface: LeaveDonationContract
The primary key of a LeaveDonation entry saved in a database

lmLeaveDonationId of a LeaveDonation

Specified by:
getLmLeaveDonationId in interface LeaveDonationContract
Returns:
lmLeaveDonationId for LeaveDonation

setLmLeaveDonationId

public void setLmLeaveDonationId(String lmLeaveDonationId)

getDonatedAccrualCategory

public String getDonatedAccrualCategory()
Description copied from interface: LeaveDonationContract
The AccrualCategory name associated with the LeaveDonation

donatedAccrualCategory of a LeaveDonation

Specified by:
getDonatedAccrualCategory in interface LeaveDonationContract
Returns:
donatedAccrualCategory for LeaveDonation

setDonatedAccrualCategory

public void setDonatedAccrualCategory(String donatedAccrualCategory)

getRecipientsAccrualCategory

public String getRecipientsAccrualCategory()
Description copied from interface: LeaveDonationContract
The AccrualCategory name the donated Leave will be accrued to

recipientsAccrualCategory of a LeaveDonation

Specified by:
getRecipientsAccrualCategory in interface LeaveDonationContract
Returns:
recipientsAccrualCategory for LeaveDonation

setRecipientsAccrualCategory

public void setRecipientsAccrualCategory(String recipientsAccrualCategory)

getAmountDonated

public BigDecimal getAmountDonated()
Description copied from interface: LeaveDonationContract
The amount of accrued leave to be donated

amountDonated of a LeaveDonation

Specified by:
getAmountDonated in interface LeaveDonationContract
Returns:
amountDonated for LeaveDonation

setAmountDonated

public void setAmountDonated(BigDecimal amountDonated)

getAmountReceived

public BigDecimal getAmountReceived()
Description copied from interface: LeaveDonationContract
The amount of accrued leave to be received

amountReceived of a LeaveDonation

Specified by:
getAmountReceived in interface LeaveDonationContract
Returns:
amountReceived for LeaveDonation

setAmountReceived

public void setAmountReceived(BigDecimal amountReceived)

getDonorsPrincipalID

public String getDonorsPrincipalID()
Description copied from interface: LeaveDonationContract
The principalID of the employee who is donating leave

donorsPrincipalID of a LeaveDonation

Specified by:
getDonorsPrincipalID in interface LeaveDonationContract
Returns:
donorsPrincipalID for LeaveDonation

setDonorsPrincipalID

public void setDonorsPrincipalID(String donorsPrincipalID)

getRecipientsPrincipalID

public String getRecipientsPrincipalID()
Description copied from interface: LeaveDonationContract
The principalID of the employee who is receiving the donated leave

recipientsPrincipalID of a LeaveDonation

Specified by:
getRecipientsPrincipalID in interface LeaveDonationContract
Returns:
recipientsPrincipalID for LeaveDonation

setRecipientsPrincipalID

public void setRecipientsPrincipalID(String recipientsPrincipalID)

getDescription

public String getDescription()
Description copied from interface: LeaveDonationContract
The descripton of the LeaveDonation

description of a LeaveDonation

Specified by:
getDescription in interface LeaveDonationContract
Returns:
description for LeaveDonation

setDescription

public void setDescription(String description)

getHistory

public Boolean getHistory()
Description copied from interface: LeaveDonationContract
The history flag of the LeaveDonation

history flag of a LeaveDonation

Specified by:
getHistory in interface LeaveDonationContract
Returns:
Y if on, N if not

setHistory

public void setHistory(Boolean history)

getPersonObj

public org.kuali.rice.kim.api.identity.Person getPersonObj()
Description copied from interface: LeaveDonationContract
The Person object associated with the LeaveDonation

personObj of a LeaveDonation

Specified by:
getPersonObj in interface LeaveDonationContract
Returns:
personObj for LeaveDonation

setPersonObj

public void setPersonObj(org.kuali.rice.kim.api.identity.Person personObj)

getAccrualCategoryObj

public AccrualCategory getAccrualCategoryObj()
Description copied from interface: LeaveDonationContract
The AccuralCategory object associated with the LeaveDonation

accrualCategoryObj of a LeaveDonation

Specified by:
getAccrualCategoryObj in interface LeaveDonationContract
Returns:
accrualCategoryObj for LeaveDonation

setAccrualCategoryObj

public void setAccrualCategoryObj(AccrualCategory accrualCategoryObj)

getUniqueKey

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

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 class HrBusinessObject
Returns:
id of HrBusinessObject

setId

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


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