public class DefaultMealBreakDownStrategy extends Object implements MealBreakDownStrategy
Constructor and Description |
---|
DefaultMealBreakDownStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
breakDown(PerDiem perDiem)
break down the meals and incidentals for the given per diem
|
void |
breakDown(PerDiem perDiem,
org.kuali.rice.core.api.util.type.KualiDecimal mealsAndIncidentals)
break down the meals and incidentals and update the given per diem
|
protected String |
getMealPercent(String mealCode)
get meal percentage from an application parameter
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getMealPercentByMealCode(String mealCode)
get meal percentage by meal code defined as an application parameter
|
protected String |
getParameterName()
get the parameter name that is used for break down
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService()
Gets the parameterService attribute.
|
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Sets the parameterService attribute value.
|
public DefaultMealBreakDownStrategy()
public void breakDown(PerDiem perDiem)
MealBreakDownStrategy
breakDown
in interface MealBreakDownStrategy
perDiem
- the given per diemMealBreakDownStrategy.breakDown(org.kuali.kfs.module.tem.businessobject.PerDiem)
public void breakDown(PerDiem perDiem, org.kuali.rice.core.api.util.type.KualiDecimal mealsAndIncidentals)
MealBreakDownStrategy
breakDown
in interface MealBreakDownStrategy
mealsAndIncidentals
- the meals and incidentals to be broken downorg.kuali.kfs.module.tem.batch.businessobject.MealBreakDownStrategy#breakDown(org.kuali.kfs.module.tem.businessobject.PerDiem,
org.kuali.rice.kns.util.KualiDecimal)
protected org.kuali.rice.core.api.util.type.KualiDecimal getMealPercentByMealCode(String mealCode)
protected String getMealPercent(String mealCode)
protected String getParameterName()
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
parameterService
- The parameterService to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.