public class LeaveBlockDisplay extends Object implements Serializable, LeaveBlockDisplayContract
| Constructor and Description |
|---|
LeaveBlockDisplay(LeaveBlock leaveBlock) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAccrualBalance(String accrualCategory)
The accrual balance associated with the LeaveBlockDisplay
|
Collection<BigDecimal> |
getAccrualBalances()
The accrual balances associated with the LeaveBlockDisplay
|
String |
getAccrualCategory()
The accrual category associated with the LeaveBlockDisplay
|
String |
getAssignmentTitle()
The assignment title associated with the LeaveBlockDisplay
|
String |
getCalendarId()
The calendar id associated with the LeaveBlockDisplay
|
String |
getDescription()
The description associated with the LeaveBlockDisplay
|
String |
getDocumentId()
The document id associated with the LeaveBlockDisplay
|
String |
getDocumentStatus()
The document status associated with the LeaveBlockDisplay
|
String |
getEarnCode()
The earn code associated with the LeaveBlockDisplay
|
BigDecimal |
getLeaveAmount()
The leave amount associated with the LeaveBlockDisplay
|
Date |
getLeaveDate()
The leave date associated with the LeaveBlockDisplay
|
String |
getRequestStatus()
The request status associated with the LeaveBlockDisplay
|
Timestamp |
getTimestamp()
The time stamp associated with the LeaveBlockDisplay
|
void |
setAccrualBalance(String accrualCategory,
BigDecimal accrualBalance) |
public LeaveBlockDisplay(LeaveBlock leaveBlock)
public Date getLeaveDate()
LeaveBlockDisplayContract
getLeaveDate in interface LeaveBlockDisplayContractpublic String getDocumentId()
LeaveBlockDisplayContract
getDocumentId in interface LeaveBlockDisplayContractpublic String getCalendarId()
LeaveBlockDisplayContract
getCalendarId in interface LeaveBlockDisplayContractpublic String getEarnCode()
LeaveBlockDisplayContract
getEarnCode in interface LeaveBlockDisplayContractpublic String getDescription()
LeaveBlockDisplayContractIf leaveBlock.getDescription() is null, call private retrieveDescriptionAccordingToLeaveType method
getDescription in interface LeaveBlockDisplayContractpublic String getRequestStatus()
LeaveBlockDisplayContractIf leaveBlock.getRequestStatus() is not null, it returns HrConstants.REQUEST_STATUS_STRINGS for the status
getRequestStatus in interface LeaveBlockDisplayContractpublic String getDocumentStatus()
LeaveBlockDisplayContractIf leaveBlock.getDocumentId() is not null, it gets leave calendar document header based on the document id and returns KewApiConstants.DOCUMENT_STATUSES for the header's document status
getDocumentStatus in interface LeaveBlockDisplayContractpublic BigDecimal getLeaveAmount()
LeaveBlockDisplayContract
getLeaveAmount in interface LeaveBlockDisplayContractpublic Timestamp getTimestamp()
LeaveBlockDisplayContract
getTimestamp in interface LeaveBlockDisplayContractpublic String getAssignmentTitle()
LeaveBlockDisplayContract
getAssignmentTitle in interface LeaveBlockDisplayContractpublic String getAccrualCategory()
LeaveBlockDisplayContract
getAccrualCategory in interface LeaveBlockDisplayContractpublic Collection<BigDecimal> getAccrualBalances()
LeaveBlockDisplayContract
getAccrualBalances in interface LeaveBlockDisplayContractpublic BigDecimal getAccrualBalance(String accrualCategory)
LeaveBlockDisplayContract
getAccrualBalance in interface LeaveBlockDisplayContractpublic void setAccrualBalance(String accrualCategory, BigDecimal accrualBalance)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.