This is a wrapper for BudgetNonpersonnel business object. It's useful on the copy over page because it assists in housing and
computing the inflation rates.
This does a 1:1 copy from BudgetNonpersonnel to BudgetNonpersonnelCopyOverBoHelper and populates inflation values based on
origin values, with the exception of:
- Blanks out the three types of amounts based on whether the appropriate indicator are set.
getDisplayBudgetInstitutionCostShareAmount() Gets the budgetInstitutionCostShareAmount or budgetInstitutionCostShareAmount attribute based on if
budgetInstitutionCostShareCopyIndicator is set or not.
getDisplayBudgetThirdPartyCostShareAmount() Gets the budgetThirdPartyCostShareCopyAmount or budgetInflatedThirdPartyCostShareCopyAmount attribute based on if
budgetThirdPartyCostShareCopyIndicator is set or not.
This does a 1:1 copy from BudgetNonpersonnel to BudgetNonpersonnelCopyOverBoHelper, with the exception of:
1. If copyToFuturePeriods is set, it sets the three amount indicators.
2. The three inflation amounts are set to the regular amounts (since origin inflated amount = origin amount).
Useful for origin items.
Parameters: budgetNonpersonnel - object to copy
BudgetNonpersonnelCopyOverBoHelper
public BudgetNonpersonnelCopyOverBoHelper(BudgetNonpersonnel budgetNonpersonnel, int inflationLength, KualiDecimal budgetNonpersonnelInflationRate)(Code)
This does a 1:1 copy from BudgetNonpersonnel to BudgetNonpersonnelCopyOverBoHelper and populates inflation values based on
origin values, with the exception of:
- Blanks out the three types of amounts based on whether the appropriate indicator are set. This is a functional
requirement
Useful for items that are not origin items but already exist at the time of entering the copy over page (so either they were
created in the past or they were entered on NPRS).
Parameters: budgetNonpersonnel - object to copy Parameters: inflationLength - Parameters: budgetNonpersonnelInflationRate - inflation rate to use
BudgetNonpersonnelCopyOverBoHelper
public BudgetNonpersonnelCopyOverBoHelper(BudgetNonpersonnel originBudgetNonpersonnel, Integer budgetPeriodSequenceNumberOverride, int inflationLength, KualiDecimal budgetNonpersonnelInflationRate)(Code)
This does a 1:1 copy from BudgetNonpersonnel to BudgetNonpersonnelCopyOverBoHelper, with the exception of:
1. Updates the period number with budgetPeriodSequenceNumberOverride.
2. Sets the amounts in this object to 0.
3. Sets the budgetOriginSequenceNumber to budgetNonpersonnelSequenceNumber.
4. Sets the origin amounts to the values of originBudgetNonpersonnel passed in.
5. If copyToFuturePeriods is set, it sets the three amount indicators.
6. Sets budgetNonpersonnelSequenceNumber to null because this item does not exist yet (don't use -1 because then it might be
mistaken as a pre-origin item by iterface).
7. Populates inflation values based on BudgetNonpersonnel amounts.
Useful for non-origin items that have not been created yet.
Parameters: originBudgetNonpersonnel - object to copy (origin item) Parameters: budgetPeriodSequenceNumberOverride - values used for the new budgetPeriodSequenceNumber value Parameters: inflationLength - Parameters: budgetNonpersonnelInflationRate - inflation rate to use
Gets the BudgetNonpersonnel representation of this object. Uses inflation values if appropriate indicators are set.
the BudgetNonpersonnel representation of this object.
Gets the budgetInstitutionCostShareAmount or budgetInstitutionCostShareAmount attribute based on if
budgetInstitutionCostShareCopyIndicator is set or not.
amount per logic.
Gets the budgetThirdPartyCostShareCopyAmount or budgetInflatedThirdPartyCostShareCopyAmount attribute based on if
budgetThirdPartyCostShareCopyIndicator is set or not.
amount per logic.
Sets the budgetInflatedAgencyAmount attribute value.
Parameters: budgetInflatedAgencyAmount - The budgetInflatedAgencyAmount to set.
setBudgetInflatedInstitutionCostShareAmount
public void setBudgetInflatedInstitutionCostShareAmount(KualiInteger o)(Code)
Sets the budgetInflatedInstitutionCostShareAmount attribute value.
Parameters: budgetInflatedInstitutionCostShareAmount - The budgetInflatedInstitutionCostShareAmount to set.
setBudgetInflatedThirdPartyCostShareAmount
public void setBudgetInflatedThirdPartyCostShareAmount(KualiInteger o)(Code)
Sets the budgetInflatedThirdPartyCostShareAmount attribute value.
Parameters: budgetInflatedThirdPartyCostShareAmount - The budgetInflatedThirdPartyCostShareAmount to set.
Methods inherited from org.kuali.module.kra.budget.bo.BudgetNonpersonnel