org.kuali.kpme.tklm.leave.summary
Class LeaveSummary

java.lang.Object
  extended by org.kuali.kpme.tklm.leave.summary.LeaveSummary
All Implemented Interfaces:
Serializable, LeaveSummaryContract

public class LeaveSummary
extends Object
implements Serializable, LeaveSummaryContract

See Also:
Serialized Form

Constructor Summary
LeaveSummary()
           
LeaveSummary(LeaveSummary leaveSummary)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveSummary

public LeaveSummary(LeaveSummary leaveSummary)

LeaveSummary

public LeaveSummary()
Method Detail

getLeaveSummaryRows

public List<LeaveSummaryRow> getLeaveSummaryRows()
Description copied from interface: LeaveSummaryContract
The list of LeaveSummaryRow objects associated with the LeaveSummary

leaveSummaryRows of a LeaveSummary

Specified by:
getLeaveSummaryRows in interface LeaveSummaryContract
Returns:
leaveSummaryRows for LeaveSummary

getLeaveSummaryRowForAccrualCtgy

public LeaveSummaryRow getLeaveSummaryRowForAccrualCtgy(String accrualCategory)
Description copied from interface: LeaveSummaryContract
The LeaveSummaryRow object associated with the LeaveSummary

leaveSummaryRow of a LeaveSummary

Specified by:
getLeaveSummaryRowForAccrualCtgy in interface LeaveSummaryContract
Parameters:
accrualCategory - name to retrieve LeaveSummaryRow objects from leaveSummaryRows
Returns:
leaveSummaryRow for LeaveSummary

setLeaveSummaryRows

public void setLeaveSummaryRows(List<LeaveSummaryRow> leaveSummaryRows)

getYtdDatesString

public String getYtdDatesString()
Description copied from interface: LeaveSummaryContract
TODO: Put a better comment The year to date dates string associated with the LeaveSummary

ytdDatesString of a LeaveSummary

Specified by:
getYtdDatesString in interface LeaveSummaryContract
Returns:
ytdDatesString for LeaveSummary

setYtdDatesString

public void setYtdDatesString(String ytdDatesString)

getPendingDatesString

public String getPendingDatesString()
Description copied from interface: LeaveSummaryContract
TODO: Put a better comment The pending dates String associated with the LeaveSummary

pendingDatesString of a LeaveSummary

Specified by:
getPendingDatesString in interface LeaveSummaryContract
Returns:
pendingDatesString for LeaveSummary

setPendingDatesString

public void setPendingDatesString(String pendingDatesString)

toJsonString

public String toJsonString()

getApprovalHeaders

public List<String> getApprovalHeaders()
Description copied from interface: LeaveSummaryContract
The list of approval headers associated with the LeaveSummary

approvalHeaders of a LeaveSummary

Specified by:
getApprovalHeaders in interface LeaveSummaryContract
Returns:
approvalHeaders for LeaveSummary

setApprovalHeaders

public void setApprovalHeaders(List<String> approvalHeaders)

getLeaveSummaryRowForAccrualCategory

public LeaveSummaryRow getLeaveSummaryRowForAccrualCategory(String accrualCategoryId)
Description copied from interface: LeaveSummaryContract
The LeaveSummaryRow object associated with the LeaveSummary

leaveSummaryRow of a LeaveSummary

Specified by:
getLeaveSummaryRowForAccrualCategory in interface LeaveSummaryContract
Returns:
leaveSummaryRow for LeaveSummary

getNote

public String getNote()
Description copied from interface: LeaveSummaryContract
The note associated with the LeaveSummary

note of a LeaveSummary

Specified by:
getNote in interface LeaveSummaryContract
Returns:
note for LeaveSummary

setNote

public void setNote(String note)

isUsageLimit

public boolean isUsageLimit()

setUsageLimit

public void setUsageLimit(boolean usageLimit)


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