public class LeaveSummary extends Object implements Serializable, LeaveSummaryContract
Constructor and Description |
---|
LeaveSummary() |
LeaveSummary(LeaveSummary leaveSummary) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getApprovalHeaders()
The list of approval headers associated with the LeaveSummary
|
LeaveSummaryRow |
getLeaveSummaryRowForAccrualCategory(String accrualCategoryId)
The LeaveSummaryRow object associated with the LeaveSummary
|
LeaveSummaryRow |
getLeaveSummaryRowForAccrualCtgy(String accrualCategory)
The LeaveSummaryRow object associated with the LeaveSummary
|
List<LeaveSummaryRow> |
getLeaveSummaryRows()
The list of LeaveSummaryRow objects associated with the LeaveSummary
|
String |
getNote()
The note associated with the LeaveSummary
|
String |
getPendingDatesString()
TODO: Put a better comment
The pending dates String associated with the LeaveSummary
|
String |
getYtdDatesString()
TODO: Put a better comment
The year to date dates string associated with the LeaveSummary
|
boolean |
isUsageLimit() |
void |
setApprovalHeaders(List<String> approvalHeaders) |
void |
setLeaveSummaryRows(List<LeaveSummaryRow> leaveSummaryRows) |
void |
setNote(String note) |
void |
setPendingDatesString(String pendingDatesString) |
void |
setUsageLimit(boolean usageLimit) |
void |
setYtdDatesString(String ytdDatesString) |
String |
toJsonString() |
public LeaveSummary(LeaveSummary leaveSummary)
public LeaveSummary()
public List<LeaveSummaryRow> getLeaveSummaryRows()
LeaveSummaryContract
leaveSummaryRows of a LeaveSummary
getLeaveSummaryRows
in interface LeaveSummaryContract
public LeaveSummaryRow getLeaveSummaryRowForAccrualCtgy(String accrualCategory)
LeaveSummaryContract
leaveSummaryRow of a LeaveSummary
getLeaveSummaryRowForAccrualCtgy
in interface LeaveSummaryContract
accrualCategory
- name to retrieve LeaveSummaryRow objects from leaveSummaryRowspublic void setLeaveSummaryRows(List<LeaveSummaryRow> leaveSummaryRows)
public String getYtdDatesString()
LeaveSummaryContract
ytdDatesString of a LeaveSummary
getYtdDatesString
in interface LeaveSummaryContract
public void setYtdDatesString(String ytdDatesString)
public String getPendingDatesString()
LeaveSummaryContract
pendingDatesString of a LeaveSummary
getPendingDatesString
in interface LeaveSummaryContract
public void setPendingDatesString(String pendingDatesString)
public String toJsonString()
public List<String> getApprovalHeaders()
LeaveSummaryContract
approvalHeaders of a LeaveSummary
getApprovalHeaders
in interface LeaveSummaryContract
public void setApprovalHeaders(List<String> approvalHeaders)
public LeaveSummaryRow getLeaveSummaryRowForAccrualCategory(String accrualCategoryId)
LeaveSummaryContract
leaveSummaryRow of a LeaveSummary
getLeaveSummaryRowForAccrualCategory
in interface LeaveSummaryContract
accrualCategoryId
- id to retrieve LeaveSummaryRow object from leaveSummaryRowspublic String getNote()
LeaveSummaryContract
note of a LeaveSummary
getNote
in interface LeaveSummaryContract
public boolean isUsageLimit()
public void setUsageLimit(boolean usageLimit)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.