org.kuali.kfs.coa.businessobject
Class OrganizationReversion

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.coa.businessobject.OrganizationReversion
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, CarryForwardReversionProcessOrganizationInfo, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class OrganizationReversion
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.Inactivateable, CarryForwardReversionProcessOrganizationInfo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
OrganizationReversion()
          Default constructor.
 
Method Summary
 void addOrganizationReversionDetail(OrganizationReversionDetail ord)
           
 Account getBudgetReversionAccount()
          Gets the budgetReversionAccount attribute.
 String getBudgetReversionAccountNumber()
          Gets the budgetReversionAccountNumber attribute.
 Chart getBudgetReversionChartOfAccounts()
          Gets the budgetReversionChartOfAccounts attribute.
 String getBudgetReversionChartOfAccountsCode()
          Gets the budgetReversionChartOfAccountsCode attribute.
 Account getCashReversionAccount()
          Gets the cashReversionAccount attribute.
 String getCashReversionAccountNumber()
          Gets the cashReversionAccountNumber attribute.
 String getCashReversionChartCashObjectCode()
           
 Chart getCashReversionFinancialChartOfAccounts()
          Gets the cashReversionFinancialChartOfAccounts attribute.
 String getCashReversionFinancialChartOfAccountsCode()
          Gets the cashReversionFinancialChartOfAccountsCode attribute.
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 Organization getOrganization()
           
 String getOrganizationChartCashObjectCode()
           
 String getOrganizationCode()
          Gets the organizationCode attribute.
 List<OrganizationReversionDetail> getOrganizationReversionDetail()
           
 OrganizationReversionCategoryInfo getOrganizationReversionDetail(String categoryCode)
          Retrieves an organization reversion detail by category code
 String getOrganizationReversionViewer()
          This method (a hack by any other name...) returns a string so that an organization reversion can have a link to view its own inquiry page after a look up
 List<Organization> getOrganizations()
          Gets the organization attribute.
 SystemOptions getUniversityFiscal()
          Gets the universityFiscal attribute.
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isCarryForwardByObjectCodeIndicator()
          Gets the carryForwardByObjectCodeIndicator attribute.
 void setActive(boolean active)
          Sets the active attribute value.
 void setBudgetReversionAccount(Account budgetReversionAccount)
          Deprecated.  
 void setBudgetReversionAccountNumber(String budgetReversionAccountNumber)
          Sets the budgetReversionAccountNumber attribute.
 void setBudgetReversionChartOfAccounts(Chart budgetReversionChartOfAccounts)
          Deprecated.  
 void setBudgetReversionChartOfAccountsCode(String budgetReversionChartOfAccountsCode)
          Sets the budgetReversionChartOfAccountsCode attribute.
 void setCarryForwardByObjectCodeIndicator(boolean carryForwardByObjectCodeIndicator)
          Sets the carryForwardByObjectCodeIndicator attribute.
 void setCashReversionAccount(Account cashReversionAccount)
          Deprecated.  
 void setCashReversionAccountNumber(String cashReversionAccountNumber)
          Sets the cashReversionAccountNumber attribute.
 void setCashReversionFinancialChartOfAccounts(Chart cashReversionFinancialChartOfAccounts)
          Deprecated.  
 void setCashReversionFinancialChartOfAccountsCode(String cashReversionFinancialChartOfAccountsCode)
          Sets the cashReversionFinancialChartOfAccountsCode attribute.
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated.  
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setOrganization(Organization organization)
           
 void setOrganizationCode(String organizationCode)
          Sets the organizationCode attribute.
 void setOrganizationReversionDetail(List<OrganizationReversionDetail> organizationReversionDetail)
           
 void setOrganizations(List<Organization> organization)
          Deprecated.  
 void setUniversityFiscal(SystemOptions universityFiscal)
          Sets the universityFiscal attribute value.
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear attribute.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Constructor Detail

OrganizationReversion

public OrganizationReversion()
Default constructor.

Method Detail

getOrganizationReversionDetail

public List<OrganizationReversionDetail> getOrganizationReversionDetail()

addOrganizationReversionDetail

public void addOrganizationReversionDetail(OrganizationReversionDetail ord)

setOrganizationReversionDetail

public void setOrganizationReversionDetail(List<OrganizationReversionDetail> organizationReversionDetail)

getOrganizationReversionDetail

public OrganizationReversionCategoryInfo getOrganizationReversionDetail(String categoryCode)
Description copied from interface: CarryForwardReversionProcessOrganizationInfo
Retrieves an organization reversion detail by category code

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

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear attribute.

Specified by:
getUniversityFiscalYear in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the universityFiscalYear

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Sets the universityFiscalYear attribute.

Parameters:
universityFiscalYear - The universityFiscalYear to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Specified by:
getChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the chartOfAccountsCode

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getOrganizationCode

public String getOrganizationCode()
Gets the organizationCode attribute.

Specified by:
getOrganizationCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the organizationCode

setOrganizationCode

public void setOrganizationCode(String organizationCode)
Sets the organizationCode attribute.

Parameters:
organizationCode - The organizationCode to set.

getBudgetReversionChartOfAccountsCode

public String getBudgetReversionChartOfAccountsCode()
Gets the budgetReversionChartOfAccountsCode attribute.

Specified by:
getBudgetReversionChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the budgetReversionChartOfAccountsCode

setBudgetReversionChartOfAccountsCode

public void setBudgetReversionChartOfAccountsCode(String budgetReversionChartOfAccountsCode)
Sets the budgetReversionChartOfAccountsCode attribute.

Parameters:
budgetReversionChartOfAccountsCode - The budgetReversionChartOfAccountsCode to set.

getBudgetReversionAccountNumber

public String getBudgetReversionAccountNumber()
Gets the budgetReversionAccountNumber attribute.

Specified by:
getBudgetReversionAccountNumber in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the budgetReversionAccountNumber

setBudgetReversionAccountNumber

public void setBudgetReversionAccountNumber(String budgetReversionAccountNumber)
Sets the budgetReversionAccountNumber attribute.

Parameters:
budgetReversionAccountNumber - The budgetReversionAccountNumber to set.

isCarryForwardByObjectCodeIndicator

public boolean isCarryForwardByObjectCodeIndicator()
Gets the carryForwardByObjectCodeIndicator attribute.

Specified by:
isCarryForwardByObjectCodeIndicator in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the carryForwardByObjectCodeIndicator

setCarryForwardByObjectCodeIndicator

public void setCarryForwardByObjectCodeIndicator(boolean carryForwardByObjectCodeIndicator)
Sets the carryForwardByObjectCodeIndicator attribute.

Parameters:
carryForwardByObjectCodeIndicator - The carryForwardByObjectCodeIndicator to set.

getCashReversionFinancialChartOfAccountsCode

public String getCashReversionFinancialChartOfAccountsCode()
Gets the cashReversionFinancialChartOfAccountsCode attribute.

Specified by:
getCashReversionFinancialChartOfAccountsCode in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the cashReversionFinancialChartOfAccountsCode

setCashReversionFinancialChartOfAccountsCode

public void setCashReversionFinancialChartOfAccountsCode(String cashReversionFinancialChartOfAccountsCode)
Sets the cashReversionFinancialChartOfAccountsCode attribute.

Parameters:
cashReversionFinancialChartOfAccountsCode - The cashReversionFinancialChartOfAccountsCode to set.

getCashReversionAccountNumber

public String getCashReversionAccountNumber()
Gets the cashReversionAccountNumber attribute.

Specified by:
getCashReversionAccountNumber in interface CarryForwardReversionProcessOrganizationInfo
Returns:
Returns the cashReversionAccountNumber

setCashReversionAccountNumber

public void setCashReversionAccountNumber(String cashReversionAccountNumber)
Sets the cashReversionAccountNumber attribute.

Parameters:
cashReversionAccountNumber - The cashReversionAccountNumber to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts attribute.

Returns:
Returns the chartOfAccounts

setChartOfAccounts

public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. 

Sets the chartOfAccounts attribute.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

getOrganizations

public List<Organization> getOrganizations()
Gets the organization attribute.

Returns:
Returns the organization

setOrganizations

public void setOrganizations(List<Organization> organization)
Deprecated. 

Sets the organization attribute.

Parameters:
organization - The organization to set.

getCashReversionAccount

public Account getCashReversionAccount()
Gets the cashReversionAccount attribute.

Returns:
Returns the cashReversionAccount

setCashReversionAccount

public void setCashReversionAccount(Account cashReversionAccount)
Deprecated. 

Sets the cashReversionAccount attribute.

Parameters:
cashReversionAccount - The cashReversionAccount to set.

getBudgetReversionAccount

public Account getBudgetReversionAccount()
Gets the budgetReversionAccount attribute.

Returns:
Returns the budgetReversionAccount

setBudgetReversionAccount

public void setBudgetReversionAccount(Account budgetReversionAccount)
Deprecated. 

Sets the budgetReversionAccount attribute.

Parameters:
budgetReversionAccount - The budgetReversionAccount to set.

getBudgetReversionChartOfAccounts

public Chart getBudgetReversionChartOfAccounts()
Gets the budgetReversionChartOfAccounts attribute.

Returns:
Returns the budgetReversionChartOfAccounts

setBudgetReversionChartOfAccounts

public void setBudgetReversionChartOfAccounts(Chart budgetReversionChartOfAccounts)
Deprecated. 

Sets the budgetReversionChartOfAccounts attribute.

Parameters:
budgetReversionChartOfAccounts - The budgetReversionChartOfAccounts to set.

getCashReversionFinancialChartOfAccounts

public Chart getCashReversionFinancialChartOfAccounts()
Gets the cashReversionFinancialChartOfAccounts attribute.

Returns:
Returns the cashReversionFinancialChartOfAccounts

setCashReversionFinancialChartOfAccounts

public void setCashReversionFinancialChartOfAccounts(Chart cashReversionFinancialChartOfAccounts)
Deprecated. 

Sets the cashReversionFinancialChartOfAccounts attribute.

Parameters:
cashReversionFinancialChartOfAccounts - The cashReversionFinancialChartOfAccounts to set.

getUniversityFiscal

public SystemOptions getUniversityFiscal()
Gets the universityFiscal attribute.

Returns:
Returns the universityFiscal.

setUniversityFiscal

public void setUniversityFiscal(SystemOptions universityFiscal)
Sets the universityFiscal attribute value.

Parameters:
universityFiscal - The universityFiscal to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()

getOrganization

public Organization getOrganization()

setOrganization

public void setOrganization(Organization organization)

getOrganizationReversionViewer

public String getOrganizationReversionViewer()
This method (a hack by any other name...) returns a string so that an organization reversion can have a link to view its own inquiry page after a look up

Returns:
the String "View Organization Reversion"

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active attribute value.

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.

getCashReversionChartCashObjectCode

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

getOrganizationChartCashObjectCode

public String getOrganizationChartCashObjectCode()
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.