org.kuali.kfs.coa.businessobject
Class ClosedAccountOrganizationReversion

java.lang.Object
  extended by org.kuali.kfs.coa.businessobject.ClosedAccountOrganizationReversion
All Implemented Interfaces:
CarryForwardReversionProcessOrganizationInfo

public class ClosedAccountOrganizationReversion
extends Object
implements CarryForwardReversionProcessOrganizationInfo

Wraps an OrganizationReversion detail to make sure that organization reversion returns only Closed Account details, which in turn will force R2 logic to run for all the details


Constructor Summary
ClosedAccountOrganizationReversion(CarryForwardReversionProcessOrganizationInfo organizationReversion)
          Constructs a ClosedAccountOrganizationReversion
 
Method Summary
 String getBudgetReversionAccountNumber()
          Returns the budget reversion account number from the wrapped org reversion
 String getBudgetReversionChartOfAccountsCode()
          returns the budget reversion chart of accounts code from the wrapped organization reversion
 String getCashReversionAccountNumber()
          Returns the cash reversion account number from the wrapped org reversion
 String getCashReversionChartCashObjectCode()
          returns the cash reversion chart cash object code from the wrapped organization reversion
 String getCashReversionFinancialChartOfAccountsCode()
          returns the cash reversion chart of accounts code from the wrapped organization reversion
 String getChartOfAccountsCode()
          Returns the chart of accounts code from the wrapped org reversion
 String getOrganizationChartCashObjectCode()
          returns the organization chart's cash object code from the wrapped organization reversion
 String getOrganizationCode()
          Returns the organization code from the wrapped org reversion
 OrganizationReversionCategoryInfo getOrganizationReversionDetail(String categoryCode)
          Returns a closed account org reversion detail for the given category
 Integer getUniversityFiscalYear()
          Returns the fiscal year from the wrapped org reversion
 boolean isCarryForwardByObjectCodeIndicator()
          Returns the carry forward by object code indicator from the wrapped org reversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosedAccountOrganizationReversion

public ClosedAccountOrganizationReversion(CarryForwardReversionProcessOrganizationInfo organizationReversion)
Constructs a ClosedAccountOrganizationReversion

Parameters:
organizationReversion - the organization reversion to wrap
Method Detail

getBudgetReversionAccountNumber

public String getBudgetReversionAccountNumber()
Returns the budget reversion account number from the wrapped org reversion

Specified by:
getBudgetReversionAccountNumber in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the budgetReversionAccountNumber
See Also:
CarryForwardReversionProcessOrganizationInfo.getBudgetReversionAccountNumber()

getCashReversionAccountNumber

public String getCashReversionAccountNumber()
Returns the cash reversion account number from the wrapped org reversion

Specified by:
getCashReversionAccountNumber in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the cashReversionAccountNumber
See Also:
CarryForwardReversionProcessOrganizationInfo.getCashReversionAccountNumber()

getChartOfAccountsCode

public String getChartOfAccountsCode()
Returns the chart of accounts code from the wrapped org reversion

Specified by:
getChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the chartOfAccountsCode
See Also:
CarryForwardReversionProcessOrganizationInfo.getChartOfAccountsCode()

getOrganizationCode

public String getOrganizationCode()
Returns the organization code from the wrapped org reversion

Specified by:
getOrganizationCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the organizationCode
See Also:
CarryForwardReversionProcessOrganizationInfo.getOrganizationCode()

getOrganizationReversionDetail

public OrganizationReversionCategoryInfo getOrganizationReversionDetail(String categoryCode)
Returns a closed account org reversion detail for the given category

Specified by:
getOrganizationReversionDetail in interface CarryForwardReversionProcessOrganizationInfo
Parameters:
categoryCode - category code to find detail for
Returns:
the organization reversion detail, or null if no active detail record for the given category code could be found
See Also:
CarryForwardReversionProcessOrganizationInfo.getOrganizationReversionDetail(java.lang.String)

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Returns the fiscal year from the wrapped org reversion

Specified by:
getUniversityFiscalYear in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the universityFiscalYear
See Also:
CarryForwardReversionProcessOrganizationInfo.getUniversityFiscalYear()

isCarryForwardByObjectCodeIndicator

public boolean isCarryForwardByObjectCodeIndicator()
Returns the carry forward by object code indicator from the wrapped org reversion

Specified by:
isCarryForwardByObjectCodeIndicator in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the carryForwardByObjectCodeIndicator
See Also:
CarryForwardReversionProcessOrganizationInfo.isCarryForwardByObjectCodeIndicator()

getBudgetReversionChartOfAccountsCode

public String getBudgetReversionChartOfAccountsCode()
returns the budget reversion chart of accounts code from the wrapped organization reversion

Specified by:
getBudgetReversionChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the budgetReversionChartOfAccountsCode
See Also:
CarryForwardReversionProcessOrganizationInfo.getBudgetReversionChartOfAccountsCode()

getCashReversionChartCashObjectCode

public String getCashReversionChartCashObjectCode()
returns the cash reversion chart cash object code from the wrapped organization reversion

Specified by:
getCashReversionChartCashObjectCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
the cash object code from the cash reversion's chart
See Also:
CarryForwardReversionProcessOrganizationInfo.getCashReversionChartCashObjectCode()

getCashReversionFinancialChartOfAccountsCode

public String getCashReversionFinancialChartOfAccountsCode()
returns the cash reversion chart of accounts code from the wrapped organization reversion

Specified by:
getCashReversionFinancialChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the cashReversionFinancialChartOfAccountsCode
See Also:
CarryForwardReversionProcessOrganizationInfo.getCashReversionFinancialChartOfAccountsCode()

getOrganizationChartCashObjectCode

public String getOrganizationChartCashObjectCode()
returns the organization chart's cash object code from the wrapped organization reversion

Specified by:
getOrganizationChartCashObjectCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
the cash object code from the organization's chart
See Also:
CarryForwardReversionProcessOrganizationInfo.getOrganizationChartCashObjectCode()


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