|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kpme.tklm.leave.accrual.bucket.LeaveBalance
public abstract class LeaveBalance
| Field Summary | |
|---|---|
protected AccrualCategory |
accrualCategory
|
protected org.joda.time.LocalDate |
asOfDate
|
protected BigDecimal |
balance
|
protected org.joda.time.LocalDate |
calendarPeriodBeginDate
|
protected org.joda.time.LocalDate |
calendarPeriodEndDate
|
protected PrincipalHRAttributes |
principalCalendar
|
| Constructor Summary | |
|---|---|
protected |
LeaveBalance(AccrualCategory accrualCategory,
PrincipalHRAttributes principalCalendar)
|
| Method Summary | |
|---|---|
protected void |
add(BigDecimal amount)
|
abstract void |
add(LeaveBlock leaveBlock)
A hook for adding leave blocks via leave calendar action |
abstract void |
adjust(LeaveBlock leaveBlock)
A hook for editing leave blocks via leave calendar action |
void |
clear()
|
AccrualCategory |
getAccrualCategory()
The AccuralCategory object associated with the LeaveBalance |
protected AccrualCategoryRule |
getAccrualCategoryRuleForDate(org.joda.time.LocalDate leaveLocalDate)
|
BigDecimal |
getBalance()
The AccuralCategory object associated with the LeaveBalance |
abstract String |
getBalanceType()
The balance type associated with the LeaveBalance |
protected EmployeeOverride |
getEmployeeOverride(LeaveBlock leaveBlock,
String overrideType)
|
protected void |
remove(BigDecimal amount)
|
abstract void |
remove(LeaveBlock leaveBlock)
A hook for removing leave blocks via leave calendar action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AccrualCategory accrualCategory
protected PrincipalHRAttributes principalCalendar
protected org.joda.time.LocalDate asOfDate
protected org.joda.time.LocalDate calendarPeriodBeginDate
protected org.joda.time.LocalDate calendarPeriodEndDate
protected BigDecimal balance
| Constructor Detail |
|---|
protected LeaveBalance(AccrualCategory accrualCategory,
PrincipalHRAttributes principalCalendar)
| Method Detail |
|---|
protected void add(BigDecimal amount)
protected void remove(BigDecimal amount)
public abstract void add(LeaveBlock leaveBlock)
throws KPMEBalanceException
leaveBlock - The leave block to be added to the bucket
KPMEBalanceException
public abstract void remove(LeaveBlock leaveBlock)
throws KPMEBalanceException
leaveBlock -
KPMEBalanceException
public abstract void adjust(LeaveBlock leaveBlock)
throws KPMEBalanceException
leaveBlock -
KPMEBalanceExceptionpublic void clear()
public abstract String getBalanceType()
LeaveBalanceContractThis is an abstract method that gets overridden in sub classes
getBalanceType in interface LeaveBalanceContractpublic BigDecimal getBalance()
LeaveBalanceContractbalance of a LeaveBalance
getBalance in interface LeaveBalanceContractprotected AccrualCategoryRule getAccrualCategoryRuleForDate(org.joda.time.LocalDate leaveLocalDate)
protected EmployeeOverride getEmployeeOverride(LeaveBlock leaveBlock,
String overrideType)
public AccrualCategory getAccrualCategory()
LeaveBalanceContractaccrualCategory of a LeaveBalance
getAccrualCategory in interface LeaveBalanceContract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||