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

java.lang.Object
  extended by org.kuali.kpme.tklm.leave.summary.LeaveSummaryRow
All Implemented Interfaces:
Serializable, Comparable<LeaveSummaryRow>, LeaveSummaryRowContract

public class LeaveSummaryRow
extends Object
implements Serializable, Comparable<LeaveSummaryRow>, LeaveSummaryRowContract

See Also:
Serialized Form

Constructor Summary
LeaveSummaryRow()
           
 
Method Summary
 int compareTo(LeaveSummaryRow row)
           
 String getAccrualCategory()
          The AccrualCategory name associated with the LeaveSummaryRow
 String getAccrualCategoryId()
          The AccrualCategory id associated with the LeaveSummaryRow
 String getAccrualCategoryRuleId()
          The AccrualCategoryRule id associated with the LeaveSummaryRow
 BigDecimal getAccruedBalance()
          The accrued balance associated with the LeaveSummaryRow
 BigDecimal getCarryOver()
          TODO: Make sure this comment is right The amount user can carry over to next year associated with the LeaveSummaryRow
 BigDecimal getFmlaUsage()
          The fmla usage associated with the LeaveSummaryRow
 String getInfractingLeaveBlockId()
          TODO: Put a better comment The infractingLeaveBlockId associated with the LeaveSummaryRow
 BigDecimal getLeaveBalance()
          The leave balance associated with the LeaveSummaryRow
 BigDecimal getMaxCarryOver()
          The max carry over associated with the LeaveSummaryRow
 BigDecimal getPendingAvailableUsage()
          The pending available usage associated with the LeaveSummaryRow
 BigDecimal getPendingLeaveAccrual()
          The pending leave accrual associated with the LeaveSummaryRow
 BigDecimal getPendingLeaveBalance()
          The pending leave balance associated with the LeaveSummaryRow
 BigDecimal getPendingLeaveRequests()
          The pending leave requests associated with the LeaveSummaryRow
 SortedMap<String,BigDecimal> getPriorYearsTotalAccrued()
          The map of prior years accrued total associated with the LeaveSummaryRow
 SortedMap<String,BigDecimal> getPriorYearsUsage()
          The map of prior year usage associated with the LeaveSummaryRow
 BigDecimal getUsageLimit()
          The usage limit associated with the LeaveSummaryRow
 BigDecimal getYtdAccruedBalance()
          The year to date accrued balance associated with the LeaveSummaryRow
 BigDecimal getYtdApprovedUsage()
          The year to date approved usage associated with the LeaveSummaryRow
 boolean isPayoutable()
          The flag that indicates if accrued balance is eligible for payout
 boolean isTransferable()
          The flag that indicates if accrued balance is eligible for transfer
 void setAccrualCategory(String accrualCategory)
           
 void setAccrualCategoryId(String accrualCategoryId)
           
 void setAccrualCategoryRuleId(String accrualCategoryRuleId)
           
 void setCarryOver(BigDecimal carryOver)
           
 void setFmlaUsage(BigDecimal fmlaUsage)
           
 void setInfractingLeaveBlockId(String infractingLeaveBlockId)
           
 void setLeaveBalance(BigDecimal leaveBalance)
           
 void setMaxCarryOver(BigDecimal maxCarryOver)
           
 void setPayoutable(boolean payoutable)
           
 void setPendingAvailableUsage(BigDecimal pendingAvailableUsage)
           
 void setPendingLeaveAccrual(BigDecimal pendingLeaveAccrual)
           
 void setPendingLeaveBalance(BigDecimal pendingLeaveBalance)
           
 void setPendingLeaveRequests(BigDecimal pendingLeaveRequests)
           
 void setPriorYearsTotalAccrued(SortedMap<String,BigDecimal> priorYearsTotalAccrued)
           
 void setPriorYearsUsage(SortedMap<String,BigDecimal> priorYearsUsage)
           
 void setTransferable(boolean transferable)
           
 void setUsageLimit(BigDecimal usageLimit)
           
 void setYtdAccruedBalance(BigDecimal ytdAccruedBalance)
           
 void setYtdApprovedUsage(BigDecimal ytdApprovedUsage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveSummaryRow

public LeaveSummaryRow()
Method Detail

getAccrualCategory

public String getAccrualCategory()
Description copied from interface: LeaveSummaryRowContract
The AccrualCategory name associated with the LeaveSummaryRow

accrualCategory of a LeaveSummaryRow

Specified by:
getAccrualCategory in interface LeaveSummaryRowContract
Returns:
accrualCategory for LeaveSummaryRow

setAccrualCategory

public void setAccrualCategory(String accrualCategory)

getAccrualCategoryId

public String getAccrualCategoryId()
Description copied from interface: LeaveSummaryRowContract
The AccrualCategory id associated with the LeaveSummaryRow

accrualCategoryId of a LeaveSummaryRow - used as a very simple means of getting the AccrualCategory object

Specified by:
getAccrualCategoryId in interface LeaveSummaryRowContract
Returns:
accrualCategoryId for LeaveSummaryRow

setAccrualCategoryId

public void setAccrualCategoryId(String accrualCategoryId)

getAccrualCategoryRuleId

public String getAccrualCategoryRuleId()
Description copied from interface: LeaveSummaryRowContract
The AccrualCategoryRule id associated with the LeaveSummaryRow

accrualCategoryRuleId of a LeaveSummaryRow

Specified by:
getAccrualCategoryRuleId in interface LeaveSummaryRowContract
Returns:
accrualCategoryRuleId for LeaveSummaryRow

setAccrualCategoryRuleId

public void setAccrualCategoryRuleId(String accrualCategoryRuleId)

getCarryOver

public BigDecimal getCarryOver()
Description copied from interface: LeaveSummaryRowContract
TODO: Make sure this comment is right The amount user can carry over to next year associated with the LeaveSummaryRow

carryOver of a LeaveSummaryRow

Specified by:
getCarryOver in interface LeaveSummaryRowContract
Returns:
carryOver for LeaveSummaryRow

setCarryOver

public void setCarryOver(BigDecimal carryOver)

getYtdAccruedBalance

public BigDecimal getYtdAccruedBalance()
Description copied from interface: LeaveSummaryRowContract
The year to date accrued balance associated with the LeaveSummaryRow

ytdAccruedBalance of a LeaveSummaryRow

Specified by:
getYtdAccruedBalance in interface LeaveSummaryRowContract
Returns:
ytdAccruedBalance for LeaveSummaryRow

setYtdAccruedBalance

public void setYtdAccruedBalance(BigDecimal ytdAccruedBalance)

getYtdApprovedUsage

public BigDecimal getYtdApprovedUsage()
Description copied from interface: LeaveSummaryRowContract
The year to date approved usage associated with the LeaveSummaryRow

ytdApprovedUsage of a LeaveSummaryRow

Specified by:
getYtdApprovedUsage in interface LeaveSummaryRowContract
Returns:
ytdApprovedUsage for LeaveSummaryRow

setYtdApprovedUsage

public void setYtdApprovedUsage(BigDecimal ytdApprovedUsage)

getLeaveBalance

public BigDecimal getLeaveBalance()
Description copied from interface: LeaveSummaryRowContract
The leave balance associated with the LeaveSummaryRow

leaveBalance of a LeaveSummaryRow

Specified by:
getLeaveBalance in interface LeaveSummaryRowContract
Returns:
leaveBalance for LeaveSummaryRow

setLeaveBalance

public void setLeaveBalance(BigDecimal leaveBalance)

getPendingLeaveAccrual

public BigDecimal getPendingLeaveAccrual()
Description copied from interface: LeaveSummaryRowContract
The pending leave accrual associated with the LeaveSummaryRow

pendingLeaveAccrual of a LeaveSummaryRow

Specified by:
getPendingLeaveAccrual in interface LeaveSummaryRowContract
Returns:
pendingLeaveAccrual for LeaveSummaryRow

setPendingLeaveAccrual

public void setPendingLeaveAccrual(BigDecimal pendingLeaveAccrual)

getPendingLeaveRequests

public BigDecimal getPendingLeaveRequests()
Description copied from interface: LeaveSummaryRowContract
The pending leave requests associated with the LeaveSummaryRow

pendingLeaveRequests of a LeaveSummaryRow

Specified by:
getPendingLeaveRequests in interface LeaveSummaryRowContract
Returns:
pendingLeaveRequests for LeaveSummaryRow

setPendingLeaveRequests

public void setPendingLeaveRequests(BigDecimal pendingLeaveRequests)

getPendingLeaveBalance

public BigDecimal getPendingLeaveBalance()
Description copied from interface: LeaveSummaryRowContract
The pending leave balance associated with the LeaveSummaryRow

pendingLeaveBalance of a LeaveSummaryRow

Specified by:
getPendingLeaveBalance in interface LeaveSummaryRowContract
Returns:
pendingLeaveBalance for LeaveSummaryRow

setPendingLeaveBalance

public void setPendingLeaveBalance(BigDecimal pendingLeaveBalance)

getPendingAvailableUsage

public BigDecimal getPendingAvailableUsage()
Description copied from interface: LeaveSummaryRowContract
The pending available usage associated with the LeaveSummaryRow

pendingAvailableUsage of a LeaveSummaryRow

Specified by:
getPendingAvailableUsage in interface LeaveSummaryRowContract
Returns:
pendingAvailableUsage for LeaveSummaryRow

setPendingAvailableUsage

public void setPendingAvailableUsage(BigDecimal pendingAvailableUsage)

getUsageLimit

public BigDecimal getUsageLimit()
Description copied from interface: LeaveSummaryRowContract
The usage limit associated with the LeaveSummaryRow

usageLimit of a LeaveSummaryRow

Specified by:
getUsageLimit in interface LeaveSummaryRowContract
Returns:
usageLimit for LeaveSummaryRow

setUsageLimit

public void setUsageLimit(BigDecimal usageLimit)

getFmlaUsage

public BigDecimal getFmlaUsage()
Description copied from interface: LeaveSummaryRowContract
The fmla usage associated with the LeaveSummaryRow

fmlaUsage of a LeaveSummaryRow

Specified by:
getFmlaUsage in interface LeaveSummaryRowContract
Returns:
fmlaUsage for LeaveSummaryRow

setFmlaUsage

public void setFmlaUsage(BigDecimal fmlaUsage)

getAccruedBalance

public BigDecimal getAccruedBalance()
Description copied from interface: LeaveSummaryRowContract
The accrued balance associated with the LeaveSummaryRow

carryOver + ytdAccruedBalance - ytdApprovedUsage

Specified by:
getAccruedBalance in interface LeaveSummaryRowContract
Returns:
accrued balance for LeaveSummaryRow

isTransferable

public boolean isTransferable()
Description copied from interface: LeaveSummaryRowContract
The flag that indicates if accrued balance is eligible for transfer

transferable flag of a ShiftDifferentialRule

Specified by:
isTransferable in interface LeaveSummaryRowContract
Returns:
Y if accrued balance is eligible for transfer, N if not

setTransferable

public void setTransferable(boolean transferable)

isPayoutable

public boolean isPayoutable()
Description copied from interface: LeaveSummaryRowContract
The flag that indicates if accrued balance is eligible for payout

payoutable flag of a ShiftDifferentialRule

Specified by:
isPayoutable in interface LeaveSummaryRowContract
Returns:
Y if accrued balance is eligible for payout, N if not

setPayoutable

public void setPayoutable(boolean payoutable)

getPriorYearsUsage

public SortedMap<String,BigDecimal> getPriorYearsUsage()
Description copied from interface: LeaveSummaryRowContract
The map of prior year usage associated with the LeaveSummaryRow

priorYearsUsage of a LeaveSummaryRow

Specified by:
getPriorYearsUsage in interface LeaveSummaryRowContract
Returns:
priorYearsUsage for LeaveSummaryRow

setPriorYearsUsage

public void setPriorYearsUsage(SortedMap<String,BigDecimal> priorYearsUsage)

getPriorYearsTotalAccrued

public SortedMap<String,BigDecimal> getPriorYearsTotalAccrued()
Description copied from interface: LeaveSummaryRowContract
The map of prior years accrued total associated with the LeaveSummaryRow

priorYearsTotalAccrued of a LeaveSummaryRow

Specified by:
getPriorYearsTotalAccrued in interface LeaveSummaryRowContract
Returns:
priorYearsTotalAccrued for LeaveSummaryRow

setPriorYearsTotalAccrued

public void setPriorYearsTotalAccrued(SortedMap<String,BigDecimal> priorYearsTotalAccrued)

getMaxCarryOver

public BigDecimal getMaxCarryOver()
Description copied from interface: LeaveSummaryRowContract
The max carry over associated with the LeaveSummaryRow

maxCarryOver of a LeaveSummaryRow

Specified by:
getMaxCarryOver in interface LeaveSummaryRowContract
Returns:
maxCarryOver for LeaveSummaryRow

setMaxCarryOver

public void setMaxCarryOver(BigDecimal maxCarryOver)

getInfractingLeaveBlockId

public String getInfractingLeaveBlockId()
Description copied from interface: LeaveSummaryRowContract
TODO: Put a better comment The infractingLeaveBlockId associated with the LeaveSummaryRow

infractingLeaveBlockId of a LeaveSummaryRow

Specified by:
getInfractingLeaveBlockId in interface LeaveSummaryRowContract
Returns:
infractingLeaveBlockId for LeaveSummaryRow

setInfractingLeaveBlockId

public void setInfractingLeaveBlockId(String infractingLeaveBlockId)

compareTo

public int compareTo(LeaveSummaryRow row)
Specified by:
compareTo in interface Comparable<LeaveSummaryRow>


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