org.kuali.kfs.coa.businessobject
Class OrganizationReversionGlobal

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.OrganizationReversionGlobal
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.GlobalBusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class OrganizationReversionGlobal
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.GlobalBusinessObject

The representation of a Global Organization Reversion. A Global Organization Reversion is made up of three sections: 1. The University Fiscal Year and Chart of Accounts code for the Organizations going through reversion, with some account information. 2. A list of the appropriate Object Reversion Details 3. A list of Organizations to apply the Organization Reversion to

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
OrganizationReversionGlobal()
           
 
Method Summary
 List buildListOfDeletionAwareLists()
           
 List<org.kuali.rice.kns.bo.PersistableBusinessObject> generateDeactivationsToPersist()
           
 List<org.kuali.rice.kns.bo.PersistableBusinessObject> generateGlobalChangesToPersist()
           
 List<? extends org.kuali.rice.kns.bo.GlobalBusinessObjectDetail> getAllDetailObjects()
           
 Account getBudgetReversionAccount()
          Gets the budgetReversionAccount attribute.
 String getBudgetReversionAccountNumber()
          Gets the budgetReversionAccountNumber attribute.
 Chart getBudgetReversionChartOfAccounts()
          Gets the budgetReversionChartOfAccounts attribute.
 String getBudgetReversionChartOfAccountsCode()
          Gets the budgetReversionChartOfAccountsCode attribute.
 Boolean getCarryForwardByObjectCodeIndicator()
          Gets the carryForwardByObjectCodeIndicator attribute: but for other methods that don't like to call "is" and would rather call "get"
 Account getCashReversionAccount()
          Gets the cashReversionAccount attribute.
 String getCashReversionAccountNumber()
          Gets the cashReversionAccountNumber attribute.
 Chart getCashReversionFinancialChartOfAccounts()
          Gets the cashReversionFinancialChartOfAccounts attribute.
 String getCashReversionFinancialChartOfAccountsCode()
          Gets the cashReversionFinancialChartOfAccountsCode attribute.
 String getDocumentNumber()
          Gets the documentNumber attribute.
 List<OrganizationReversionGlobalDetail> getOrganizationReversionGlobalDetails()
          Gets the organizationReversionGlobalDocumentDetails attribute.
 List<OrganizationReversionGlobalOrganization> getOrganizationReversionGlobalOrganizations()
          Gets the organizationReversionGlobalOrganizations attribute.
 SystemOptions getUniversityFiscal()
          Gets the universityFiscal attribute.
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear attribute.
 Boolean isCarryForwardByObjectCodeIndicator()
          Gets the carryForwardByObjectCodeIndicator attribute.
 boolean isPersistable()
           
 void setBudgetReversionAccount(Account budgetReversionAccount)
          Deprecated.  
 void setBudgetReversionAccountNumber(String budgetReversionAccountNumber)
          Sets the budgetReversionAccountNumber attribute value.
 void setBudgetReversionChartOfAccounts(Chart budgetReversionChartOfAccounts)
          Deprecated.  
 void setBudgetReversionChartOfAccountsCode(String budgetReversionChartOfAccountsCode)
          Sets the budgetReversionChartOfAccountsCode attribute value.
 void setCarryForwardByObjectCodeIndicator(Boolean carryForwardByObjectCodeIndicator)
          Sets the carryForwardByObjectCodeIndicator attribute value.
 void setCashReversionAccount(Account cashReversionAccount)
          Deprecated.  
 void setCashReversionAccountNumber(String cashReversionAccountNumber)
          Sets the cashReversionAccountNumber attribute value.
 void setCashReversionFinancialChartOfAccounts(Chart cashReversionFinancialChartOfAccounts)
          Deprecated.  
 void setCashReversionFinancialChartOfAccountsCode(String cashReversionFinancialChartOfAccountsCode)
          Sets the cashReversionFinancialChartOfAccountsCode attribute value.
 void setDocumentNumber(String documentNumber)
          Sets the documentNumber attribute value.
 void setOrganizationReversionGlobalDetails(List<OrganizationReversionGlobalDetail> organizationReversionGlobalDetails)
          Sets the organizationReversionGlobalDocumentDetails attribute value.
 void setOrganizationReversionGlobalOrganizations(List<OrganizationReversionGlobalOrganization> organizationReversionGlobalOrganizations)
          Deprecated.  
 void setUniversityFiscal(SystemOptions universityFiscal)
          Sets the universityFiscal attribute value.
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, 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
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

OrganizationReversionGlobal

public OrganizationReversionGlobal()
Method Detail

toStringMapper

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

getBudgetReversionAccount

public Account getBudgetReversionAccount()
Gets the budgetReversionAccount attribute.

Returns:
Returns the budgetReversionAccount.

getDocumentNumber

public String getDocumentNumber()
Gets the documentNumber attribute.

Specified by:
getDocumentNumber in interface org.kuali.rice.kns.bo.GlobalBusinessObject
Returns:
Returns the documentNumber.

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Sets the documentNumber attribute value.

Specified by:
setDocumentNumber in interface org.kuali.rice.kns.bo.GlobalBusinessObject
Parameters:
documentNumber - The documentNumber to set.

setBudgetReversionAccount

public void setBudgetReversionAccount(Account budgetReversionAccount)
Deprecated. 

Sets the budgetReversionAccount attribute value.

Parameters:
budgetReversionAccount - The budgetReversionAccount to set.

getBudgetReversionAccountNumber

public String getBudgetReversionAccountNumber()
Gets the budgetReversionAccountNumber attribute.

Returns:
Returns the budgetReversionAccountNumber.

setBudgetReversionAccountNumber

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

Parameters:
budgetReversionAccountNumber - The budgetReversionAccountNumber 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 value.

Parameters:
budgetReversionChartOfAccounts - The budgetReversionChartOfAccounts to set.

getBudgetReversionChartOfAccountsCode

public String getBudgetReversionChartOfAccountsCode()
Gets the budgetReversionChartOfAccountsCode attribute.

Returns:
Returns the budgetReversionChartOfAccountsCode.

setBudgetReversionChartOfAccountsCode

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

Parameters:
budgetReversionChartOfAccountsCode - The budgetReversionChartOfAccountsCode to set.

isCarryForwardByObjectCodeIndicator

public Boolean isCarryForwardByObjectCodeIndicator()
Gets the carryForwardByObjectCodeIndicator attribute.

Returns:
Returns the carryForwardByObjectCodeIndicator.

getCarryForwardByObjectCodeIndicator

public Boolean getCarryForwardByObjectCodeIndicator()
Gets the carryForwardByObjectCodeIndicator attribute: but for other methods that don't like to call "is" and would rather call "get"

Returns:
Returns the carryForwardByObjectCodeIndicator.

setCarryForwardByObjectCodeIndicator

public void setCarryForwardByObjectCodeIndicator(Boolean carryForwardByObjectCodeIndicator)
Sets the carryForwardByObjectCodeIndicator attribute value.

Parameters:
carryForwardByObjectCodeIndicator - The carryForwardByObjectCodeIndicator 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 value.

Parameters:
cashReversionAccount - The cashReversionAccount to set.

getCashReversionAccountNumber

public String getCashReversionAccountNumber()
Gets the cashReversionAccountNumber attribute.

Returns:
Returns the cashReversionAccountNumber.

setCashReversionAccountNumber

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

Parameters:
cashReversionAccountNumber - The cashReversionAccountNumber 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 value.

Parameters:
cashReversionFinancialChartOfAccounts - The cashReversionFinancialChartOfAccounts to set.

getCashReversionFinancialChartOfAccountsCode

public String getCashReversionFinancialChartOfAccountsCode()
Gets the cashReversionFinancialChartOfAccountsCode attribute.

Returns:
Returns the cashReversionFinancialChartOfAccountsCode.

setCashReversionFinancialChartOfAccountsCode

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

Parameters:
cashReversionFinancialChartOfAccountsCode - The cashReversionFinancialChartOfAccountsCode to set.

getOrganizationReversionGlobalOrganizations

public List<OrganizationReversionGlobalOrganization> getOrganizationReversionGlobalOrganizations()
Gets the organizationReversionGlobalOrganizations attribute.

Returns:
Returns the organizationReversionGlobalOrganizations.

setOrganizationReversionGlobalOrganizations

public void setOrganizationReversionGlobalOrganizations(List<OrganizationReversionGlobalOrganization> organizationReversionGlobalOrganizations)
Deprecated. 

Sets the organizationReversionGlobalOrganizations attribute value.

Parameters:
organizationReversionGlobalOrganizations - The organizationReversionGlobalOrganizations to set.

getOrganizationReversionGlobalDetails

public List<OrganizationReversionGlobalDetail> getOrganizationReversionGlobalDetails()
Gets the organizationReversionGlobalDocumentDetails attribute.

Returns:
Returns the organizationReversionGlobalDocumentDetails.

setOrganizationReversionGlobalDetails

public void setOrganizationReversionGlobalDetails(List<OrganizationReversionGlobalDetail> organizationReversionGlobalDetails)
Sets the organizationReversionGlobalDocumentDetails attribute value.

Parameters:
organizationReversionGlobalDocumentDetails - The organizationReversionGlobalDocumentDetails to set.

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear attribute.

Returns:
Returns the universityFiscalYear.

setUniversityFiscalYear

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

Parameters:
universityFiscalYear - The universityFiscalYear 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.

generateDeactivationsToPersist

public List<org.kuali.rice.kns.bo.PersistableBusinessObject> generateDeactivationsToPersist()
Specified by:
generateDeactivationsToPersist in interface org.kuali.rice.kns.bo.GlobalBusinessObject
See Also:
As global organization reversions only update existing records, deactivations will never be produced by creating one; thus, this method always returns an empty list.

generateGlobalChangesToPersist

public List<org.kuali.rice.kns.bo.PersistableBusinessObject> generateGlobalChangesToPersist()
Specified by:
generateGlobalChangesToPersist in interface org.kuali.rice.kns.bo.GlobalBusinessObject
See Also:
This creates a list of changes to be made to the existing Organization Reversion records impacted by this global reversion.

getAllDetailObjects

public List<? extends org.kuali.rice.kns.bo.GlobalBusinessObjectDetail> getAllDetailObjects()
Specified by:
getAllDetailObjects in interface org.kuali.rice.kns.bo.GlobalBusinessObject
See Also:
This returns a list of all the detail objects held within this main global organization reversion container.

isPersistable

public boolean isPersistable()
Specified by:
isPersistable in interface org.kuali.rice.kns.bo.GlobalBusinessObject
See Also:
returns whether this global object reversion can be stored in the database, which is really a question of whether it and all of its details have all of their appropriate primary keys set.

buildListOfDeletionAwareLists

public List buildListOfDeletionAwareLists()
Specified by:
buildListOfDeletionAwareLists in interface org.kuali.rice.kns.bo.PersistableBusinessObject
Overrides:
buildListOfDeletionAwareLists in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
See Also:
PersistableBusinessObjectBase.buildListOfDeletionAwareLists()


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