public class BalanceTransfer extends HrBusinessObject implements Assignable, BalanceTransferContract
extension, versionNumber
ASSIGNABLE_TERM_NAME
Constructor and Description |
---|
BalanceTransfer() |
Modifier and Type | Method and Description |
---|---|
BalanceTransfer |
adjust(BigDecimal transferAmount)
Returns a balance transfer object adjusted for the new transfer amount.
|
void |
approve() |
void |
cancel() |
void |
disapprove() |
String |
getAccrualCategoryRule()
The AccrualCategoryRule name associated with the BalanceTransfer
|
String |
getAccruedLeaveBlockId()
The accrued leave block id associated with the BalanceTransfer
|
BigDecimal |
getAmountTransferred()
The amount transfered
|
List<Assignment> |
getAssignments() |
String |
getBalanceTransferId()
The primary key of a BalanceTransfer entry saved in a database
|
AccrualCategory |
getCreditedAccrualCategory()
The AccrualCategory object that the leave is transfered to
|
AccrualCategory |
getDebitedAccrualCategory()
The AccrualCategory object that the leave is transfered from
|
String |
getDebitedLeaveBlockId()
The debited leave block id associated with the BalanceTransfer
|
String |
getDocumentHeaderId()
The document header id associated with the BalanceTransfer
|
BigDecimal |
getForfeitedAmount()
The computed amount of accrued leave that will be forfeited
|
String |
getForfeitedLeaveBlockId()
The forfeited leave block id associated with the BalanceTransfer
|
String |
getFromAccrualCategory()
The AccrualCategory name that the leave is transfered from
|
String |
getId()
The unique id defined by the object, could be a combination
of multiple fields
|
List<LeaveBlock> |
getLeaveBlocks()
The list of LeaveBlock objects associated with the BalanceTransfer
|
String |
getLeaveCalendarDocumentId()
The leave calendar document id associated with the BalanceTransfer
|
org.kuali.rice.kim.api.identity.Person |
getPrincipal()
The Person object of the user associated with the BalanceTransfer
|
String |
getPrincipalId()
The principalId of the user associated with the BalanceTransfer
|
String |
getSstoId()
TODO: Put a better comment
|
String |
getStatus()
The status associated with the BalanceTransfer
|
String |
getToAccrualCategory()
The AccrualCategory name that the leave is transfered to
|
BigDecimal |
getTransferAmount()
The amount of accrued leave to transfer
|
protected String |
getUniqueKey() |
void |
setAccrualCategoryRule(String accrualCategoryRule) |
void |
setAccruedLeaveBlockId(String accruedLeaveBlockId) |
void |
setAmountTransferred(BigDecimal amountTransferrerd) |
void |
setBalanceTransferId(String balanceTransferId) |
void |
setDebitedLeaveBlockId(String debitedLeaveBlockId) |
void |
setDocumentHeaderId(String documentHeaderId) |
void |
setForfeitedAmount(BigDecimal forfeitedAmount) |
void |
setForfeitedLeaveBlockId(String forfeitedLeaveBlockId) |
void |
setFromAccrualCategory(String fromAccrualCategory) |
void |
setId(String id) |
void |
setLeaveCalendarDocumentId(String leaveCalendarDocumentId) |
void |
setPrincipal(org.kuali.rice.kim.api.identity.Person principal) |
void |
setPrincipalId(String principalId) |
void |
setSstoId(String sstoId) |
void |
setStatus(String status) |
void |
setToAccrualCategory(String toAccrualCategory) |
void |
setTransferAmount(BigDecimal transferAmount) |
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
public BalanceTransfer()
public String getPrincipalId()
BalanceTransferContract
principalId of a BalanceTransfer
getPrincipalId
in interface BalanceTransferContract
public void setPrincipalId(String principalId)
public String getToAccrualCategory()
BalanceTransferContract
toAccrualCategory of a BalanceTransfer
getToAccrualCategory
in interface BalanceTransferContract
public void setToAccrualCategory(String toAccrualCategory)
public String getFromAccrualCategory()
BalanceTransferContract
fromAccrualCategory of a BalanceTransfer
getFromAccrualCategory
in interface BalanceTransferContract
public void setFromAccrualCategory(String fromAccrualCategory)
public BigDecimal getTransferAmount()
BalanceTransferContract
transferAmount of a BalanceTransfer
getTransferAmount
in interface BalanceTransferContract
public void setTransferAmount(BigDecimal transferAmount)
public BigDecimal getForfeitedAmount()
BalanceTransferContract
forfeitedAmount of a BalanceTransfer
getForfeitedAmount
in interface BalanceTransferContract
public void setForfeitedAmount(BigDecimal forfeitedAmount)
public String getBalanceTransferId()
BalanceTransferContract
balanceTransferId of a BalanceTransfer
getBalanceTransferId
in interface BalanceTransferContract
public void setBalanceTransferId(String balanceTransferId)
public String getAccrualCategoryRule()
BalanceTransferContract
accrualCategoryRule of a BalanceTransfer
getAccrualCategoryRule
in interface BalanceTransferContract
public void setAccrualCategoryRule(String accrualCategoryRule)
protected String getUniqueKey()
getUniqueKey
in class HrBusinessObject
public String getId()
HrBusinessObjectContract
id of HrBusinessObject
getId
in interface HrBusinessObjectContract
getId
in class HrBusinessObject
public void setId(String id)
setId
in class HrBusinessObject
public org.kuali.rice.kim.api.identity.Person getPrincipal()
BalanceTransferContract
principal of a BalanceTransfer
getPrincipal
in interface BalanceTransferContract
public void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)
public AccrualCategory getCreditedAccrualCategory()
BalanceTransferContract
AccrualCategory object based on toAccrualCategory
getCreditedAccrualCategory
in interface BalanceTransferContract
public AccrualCategory getDebitedAccrualCategory()
BalanceTransferContract
AccrualCategory object based on fromAccrualCategory
getDebitedAccrualCategory
in interface BalanceTransferContract
public String getLeaveCalendarDocumentId()
BalanceTransferContract
leaveCalendarDocumentId of a BalanceTransfer
getLeaveCalendarDocumentId
in interface BalanceTransferContract
public void setLeaveCalendarDocumentId(String leaveCalendarDocumentId)
public BalanceTransfer adjust(BigDecimal transferAmount)
transferAmount
- The desired transfer amountpublic List<LeaveBlock> getLeaveBlocks()
BalanceTransferContract
The list contains LeaveBlock objects based on forfeitedLeaveBlockId, accruedLeaveBlockId, and debitedLeaveBlockId
getLeaveBlocks
in interface BalanceTransferContract
public String getStatus()
BalanceTransferContract
status of a BalanceTransfer
getStatus
in interface BalanceTransferContract
public void disapprove()
public void approve()
public void cancel()
public String getAccruedLeaveBlockId()
BalanceTransferContract
accruedLeaveBlockId of a BalanceTransfer
getAccruedLeaveBlockId
in interface BalanceTransferContract
public void setAccruedLeaveBlockId(String accruedLeaveBlockId)
public String getForfeitedLeaveBlockId()
BalanceTransferContract
forfeitedLeaveBlockId of a BalanceTransfer
getForfeitedLeaveBlockId
in interface BalanceTransferContract
public void setForfeitedLeaveBlockId(String forfeitedLeaveBlockId)
public String getDebitedLeaveBlockId()
BalanceTransferContract
debitedLeaveBlockId of a BalanceTransfer
getDebitedLeaveBlockId
in interface BalanceTransferContract
public void setDebitedLeaveBlockId(String debitedLeaveBlockId)
public BigDecimal getAmountTransferred()
BalanceTransferContract
amountTransferred of a BalanceTransfer
getAmountTransferred
in interface BalanceTransferContract
public void setAmountTransferred(BigDecimal amountTransferrerd)
public String getSstoId()
BalanceTransferContract
sstoId of a BalanceTransfer
getSstoId
in interface BalanceTransferContract
public String getDocumentHeaderId()
BalanceTransferContract
documentHeaderId of a BalanceTransfer
getDocumentHeaderId
in interface BalanceTransferContract
public void setDocumentHeaderId(String documentHeaderId)
public List<Assignment> getAssignments()
getAssignments
in interface Assignable
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.