|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.ec.util.PayrollAmountHolder
public class PayrollAmountHolder
To hold the payroll amount and percent
| Constructor Summary | |
|---|---|
PayrollAmountHolder(org.kuali.rice.kns.util.KualiDecimal totalAmount,
org.kuali.rice.kns.util.KualiDecimal accumulatedAmount,
Integer accumulatedPercent)
Constructs a PayrollAmountHolder.java. |
|
| Method Summary | |
|---|---|
static void |
calculatePayrollPercent(PayrollAmountHolder payrollAmountHolder)
calculate the payroll percentage based on the given information in payroll amount holder |
org.kuali.rice.kns.util.KualiDecimal |
getAccumulatedAmount()
Gets the accumulatedAmount attribute. |
Integer |
getAccumulatedPercent()
Gets the accumulatedPercent attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getPayrollAmount()
Gets the payrollAmount attribute. |
Integer |
getPayrollPercent()
Gets the payrollPercent attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalAmount()
Gets the totalAmount attribute. |
static Double |
recalculateEffortPercent(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
org.kuali.rice.kns.util.KualiDecimal payrollAmount)
recalculate the effort percent based on the given total amount and payroll amount |
static String |
recalculateEffortPercentAsString(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
org.kuali.rice.kns.util.KualiDecimal payrollAmount)
recalculate the effort percent based on the given total amount and payroll amount and return it as of type String |
static org.kuali.rice.kns.util.KualiDecimal |
recalculatePayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
Integer effortPercent)
recalculate the payroll amount based on the given total amount and effort percent |
void |
setAccumulatedAmount(org.kuali.rice.kns.util.KualiDecimal accumulatedAmount)
Sets the accumulatedAmount attribute value. |
void |
setAccumulatedPercent(Integer accumulatedPercent)
Sets the accumulatedPercent attribute value. |
void |
setPayrollAmount(org.kuali.rice.kns.util.KualiDecimal payrollAmount)
Sets the payrollAmount attribute value. |
void |
setPayrollPercent(Integer payrollPercent)
Sets the payrollPercent attribute value. |
void |
setTotalAmount(org.kuali.rice.kns.util.KualiDecimal totalAmount)
Sets the totalAmount attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PayrollAmountHolder(org.kuali.rice.kns.util.KualiDecimal totalAmount,
org.kuali.rice.kns.util.KualiDecimal accumulatedAmount,
Integer accumulatedPercent)
totalAmount - the total payroll amountaccumulatedAmount - the accumulated payroll amountaccumulatedPercent - the accumulated payroll percent| Method Detail |
|---|
public org.kuali.rice.kns.util.KualiDecimal getPayrollAmount()
public void setPayrollAmount(org.kuali.rice.kns.util.KualiDecimal payrollAmount)
payrollAmount - The payrollAmount to set.public Integer getPayrollPercent()
public void setPayrollPercent(Integer payrollPercent)
payrollPercent - The payrollPercent to set.public org.kuali.rice.kns.util.KualiDecimal getTotalAmount()
public void setTotalAmount(org.kuali.rice.kns.util.KualiDecimal totalAmount)
totalAmount - The totalAmount to set.public org.kuali.rice.kns.util.KualiDecimal getAccumulatedAmount()
public void setAccumulatedAmount(org.kuali.rice.kns.util.KualiDecimal accumulatedAmount)
accumulatedAmount - The accumulatedAmount to set.public Integer getAccumulatedPercent()
public void setAccumulatedPercent(Integer accumulatedPercent)
accumulatedPercent - The accumulatedPercent to set.public static void calculatePayrollPercent(PayrollAmountHolder payrollAmountHolder)
payrollAmountHolder - the given payroll amount holder containing relating information
public static org.kuali.rice.kns.util.KualiDecimal recalculatePayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
Integer effortPercent)
totalPayrollAmount - the given total amounteffortPercent - the given effort percent
public static Double recalculateEffortPercent(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
org.kuali.rice.kns.util.KualiDecimal payrollAmount)
totalPayrollAmount - the given total amountpayrollAmount - the given payroll amount
public static String recalculateEffortPercentAsString(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount,
org.kuali.rice.kns.util.KualiDecimal payrollAmount)
totalPayrollAmount - the given total amountpayrollAmount - the given payroll amount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||