org.kuali.kfs.fp.businessobject
Class BudgetAdjustmentAccountingLineUtil

java.lang.Object
  extended by org.kuali.kfs.fp.businessobject.BudgetAdjustmentAccountingLineUtil

public class BudgetAdjustmentAccountingLineUtil
extends Object

This class is a utility class to consolidate budget adjustment accounting line code


Constructor Summary
BudgetAdjustmentAccountingLineUtil()
           
 
Method Summary
static Map appendToValuesMap(Map simpleValues, BudgetAdjustmentAccountingLine accountingLine)
          Adds BudgetAdjustmentAccountingLine attributes to map
static void copyFrom(BudgetAdjustmentAccountingLine toLine, AccountingLine other)
          Copies BudgetAdjustmentAccountingLine values
static org.kuali.rice.kns.util.KualiDecimal getMonthlyLinesTotal(BudgetAdjustmentAccountingLine accountingLine)
          Calculates monthlyLines total amount@param accountingLine
static void init(BudgetAdjustmentAccountingLine accountingLine)
          Initialize attributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetAdjustmentAccountingLineUtil

public BudgetAdjustmentAccountingLineUtil()
Method Detail

init

public static void init(BudgetAdjustmentAccountingLine accountingLine)
Initialize attributes

Parameters:
accountingLine -

appendToValuesMap

public static Map appendToValuesMap(Map simpleValues,
                                    BudgetAdjustmentAccountingLine accountingLine)
Adds BudgetAdjustmentAccountingLine attributes to map

Parameters:
simpleValues - map used to add values to
accountingLine - accounting line that provides attributes to add to map
Returns:

copyFrom

public static void copyFrom(BudgetAdjustmentAccountingLine toLine,
                            AccountingLine other)
Copies BudgetAdjustmentAccountingLine values

Parameters:
toLine - the line to copy values to
fromLine - the line to take the values to use in writing to the toLine

getMonthlyLinesTotal

public static org.kuali.rice.kns.util.KualiDecimal getMonthlyLinesTotal(BudgetAdjustmentAccountingLine accountingLine)
Calculates monthlyLines total amount@param accountingLine

Returns:
KualiDecimal sum of all monthly line amounts


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.