public class BalanceTransfer extends HrBusinessObject implements Assignable, BalanceTransferContract
extension, versionNumberASSIGNABLE_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, setTimestampafterDelete, 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, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamppublic BalanceTransfer()
public String getPrincipalId()
BalanceTransferContractprincipalId of a BalanceTransfer
getPrincipalId in interface BalanceTransferContractpublic void setPrincipalId(String principalId)
public String getToAccrualCategory()
BalanceTransferContracttoAccrualCategory of a BalanceTransfer
getToAccrualCategory in interface BalanceTransferContractpublic void setToAccrualCategory(String toAccrualCategory)
public String getFromAccrualCategory()
BalanceTransferContractfromAccrualCategory of a BalanceTransfer
getFromAccrualCategory in interface BalanceTransferContractpublic void setFromAccrualCategory(String fromAccrualCategory)
public BigDecimal getTransferAmount()
BalanceTransferContracttransferAmount of a BalanceTransfer
getTransferAmount in interface BalanceTransferContractpublic void setTransferAmount(BigDecimal transferAmount)
public BigDecimal getForfeitedAmount()
BalanceTransferContractforfeitedAmount of a BalanceTransfer
getForfeitedAmount in interface BalanceTransferContractpublic void setForfeitedAmount(BigDecimal forfeitedAmount)
public String getBalanceTransferId()
BalanceTransferContractbalanceTransferId of a BalanceTransfer
getBalanceTransferId in interface BalanceTransferContractpublic void setBalanceTransferId(String balanceTransferId)
public String getAccrualCategoryRule()
BalanceTransferContractaccrualCategoryRule of a BalanceTransfer
getAccrualCategoryRule in interface BalanceTransferContractpublic void setAccrualCategoryRule(String accrualCategoryRule)
protected String getUniqueKey()
getUniqueKey in class HrBusinessObjectpublic String getId()
HrBusinessObjectContractid of HrBusinessObject
getId in interface HrBusinessObjectContractgetId in class HrBusinessObjectpublic void setId(String id)
setId in class HrBusinessObjectpublic org.kuali.rice.kim.api.identity.Person getPrincipal()
BalanceTransferContractprincipal of a BalanceTransfer
getPrincipal in interface BalanceTransferContractpublic void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)
public AccrualCategory getCreditedAccrualCategory()
BalanceTransferContractAccrualCategory object based on toAccrualCategory
getCreditedAccrualCategory in interface BalanceTransferContractpublic AccrualCategory getDebitedAccrualCategory()
BalanceTransferContractAccrualCategory object based on fromAccrualCategory
getDebitedAccrualCategory in interface BalanceTransferContractpublic String getLeaveCalendarDocumentId()
BalanceTransferContractleaveCalendarDocumentId of a BalanceTransfer
getLeaveCalendarDocumentId in interface BalanceTransferContractpublic void setLeaveCalendarDocumentId(String leaveCalendarDocumentId)
public BalanceTransfer adjust(BigDecimal transferAmount)
transferAmount - The desired transfer amountpublic List<LeaveBlock> getLeaveBlocks()
BalanceTransferContractThe list contains LeaveBlock objects based on forfeitedLeaveBlockId, accruedLeaveBlockId, and debitedLeaveBlockId
getLeaveBlocks in interface BalanceTransferContractpublic String getStatus()
BalanceTransferContractstatus of a BalanceTransfer
getStatus in interface BalanceTransferContractpublic void disapprove()
public void approve()
public void cancel()
public String getAccruedLeaveBlockId()
BalanceTransferContractaccruedLeaveBlockId of a BalanceTransfer
getAccruedLeaveBlockId in interface BalanceTransferContractpublic void setAccruedLeaveBlockId(String accruedLeaveBlockId)
public String getForfeitedLeaveBlockId()
BalanceTransferContractforfeitedLeaveBlockId of a BalanceTransfer
getForfeitedLeaveBlockId in interface BalanceTransferContractpublic void setForfeitedLeaveBlockId(String forfeitedLeaveBlockId)
public String getDebitedLeaveBlockId()
BalanceTransferContractdebitedLeaveBlockId of a BalanceTransfer
getDebitedLeaveBlockId in interface BalanceTransferContractpublic void setDebitedLeaveBlockId(String debitedLeaveBlockId)
public BigDecimal getAmountTransferred()
BalanceTransferContractamountTransferred of a BalanceTransfer
getAmountTransferred in interface BalanceTransferContractpublic void setAmountTransferred(BigDecimal amountTransferrerd)
public String getSstoId()
BalanceTransferContractsstoId of a BalanceTransfer
getSstoId in interface BalanceTransferContractpublic String getDocumentHeaderId()
BalanceTransferContractdocumentHeaderId of a BalanceTransfer
getDocumentHeaderId in interface BalanceTransferContractpublic void setDocumentHeaderId(String documentHeaderId)
public List<Assignment> getAssignments()
getAssignments in interface AssignableCopyright © 2004–2014 The Kuali Foundation. All rights reserved.