org.kuali.kfs.coa.businessobject
Class ObjectCode

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.ObjectCode
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.KualiCode, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
ObjectCodeCurrent

public class ObjectCode
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.KualiCode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ObjectCode()
          Default no-arg constructor.
ObjectCode(Integer fiscalYear, String chart, String financialObjectCode)
          Constructs a ObjectCode.java with the given defaults; this way, it is not necessary to use any deprecated setters.
 
Method Summary
 void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
           
 String getCode()
           
 BudgetAggregationCode getFinancialBudgetAggregation()
           
 String getFinancialBudgetAggregationCd()
           
 FederalFundedCode getFinancialFederalFunded()
          Gets the financialFederalFunded attribute.
 String getFinancialFederalFundedCode()
           
 String getFinancialObjectCode()
          Gets the financialObjectCode attribute.
 String getFinancialObjectCodeName()
          Gets the financialObjectCodeName attribute.
 String getFinancialObjectCodeShortName()
          Gets the financialObjectCodeShortName attribute.
 ObjectLevel getFinancialObjectLevel()
          Gets the financialObjectLevel attribute.
 String getFinancialObjectLevelCode()
           
 ObjectSubType getFinancialObjectSubType()
          Gets the financialObjectSubType attribute.
 String getFinancialObjectSubTypeCode()
           
 ObjectType getFinancialObjectType()
          Gets the financialObjectType attribute.
 String getFinancialObjectTypeCode()
           
 MandatoryTransferEliminationCode getFinObjMandatoryTrnfrelim()
          Gets the finObjMandatoryTrnfrelim attribute.
 String getFinObjMandatoryTrnfrelimCd()
           
 String getHistoricalFinancialObjectCode()
          Gets the historicalFinancialObjectCode attribute.
 String getName()
           
 String getNextYearFinancialObjectCode()
           
 Chart getReportsToChartOfAccounts()
          Gets the reportsToChartOfAccounts attribute.
 String getReportsToChartOfAccountsCode()
           
 ObjectCode getReportsToFinancialObject()
          Gets the reportsToFinancialObject attribute.
 String getReportsToFinancialObjectCode()
           
 SystemOptions getUniversityFiscal()
          Gets the universityFiscal attribute.
 Integer getUniversityFiscalYear()
           
 boolean isActive()
           
 boolean isFinancialObjectActiveCode()
          Gets the financialObjectActiveCode attribute.
 boolean isReportingToSelf()
          Determines if this object code reports to itself
 void setActive(boolean a)
           
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated.  
 void setChartOfAccountsCode(String string)
           
 void setCode(String code)
           
 void setFinancialBudgetAggregation(BudgetAggregationCode financialBudgetAggregation)
           
 void setFinancialBudgetAggregationCd(String financialBudgetAggregationCd)
           
 void setFinancialFederalFunded(FederalFundedCode financialFederalFunded)
          Deprecated.  
 void setFinancialFederalFundedCode(String financialFederalFundedCode)
           
 void setFinancialObjectActiveCode(boolean active)
          Sets the financialObjectActiveCode attribute.
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode attribute.
 void setFinancialObjectCodeName(String financialObjectCodeName)
          Sets the financialObjectCodeName attribute.
 void setFinancialObjectCodeShortName(String financialObjectCodeShortName)
          Sets the financialObjectCodeShortName attribute.
 void setFinancialObjectLevel(ObjectLevel financialObjectLevel)
          Deprecated.  
 void setFinancialObjectLevelCode(String financialObjectLevelCode)
           
 void setFinancialObjectSubType(ObjectSubType financialObjectSubType)
          Deprecated.  
 void setFinancialObjectSubTypeCode(String financialObjectSubTypeCode)
           
 void setFinancialObjectType(ObjectType financialObjectType)
          Deprecated.  
 void setFinancialObjectTypeCode(String financialObjectTypeCode)
           
 void setFinObjMandatoryTrnfrelim(MandatoryTransferEliminationCode finObjMandatoryTrnfrelim)
          Deprecated.  
 void setFinObjMandatoryTrnfrelimCd(String finObjMandatoryTrnfrelimCd)
           
 void setHistoricalFinancialObjectCode(String historicalFinancialObjectCode)
          Sets the historicalFinancialObjectCode attribute.
 void setName(String name)
           
 void setNextYearFinancialObjectCode(String nextYearFinancialObjectCode)
           
 void setReportsToChartOfAccounts(Chart reportsToChartOfAccounts)
          Deprecated.  
 void setReportsToChartOfAccountsCode(String reportsToChartOfAccountsCode)
           
 void setReportsToFinancialObject(ObjectCode reportsToFinancialObject)
          Deprecated.  
 void setReportsToFinancialObjectCode(String reportsToFinancialObjectCode)
           
 void setUniversityFiscal(SystemOptions universityFiscal)
          Deprecated.  
 void setUniversityFiscalYear(Integer i)
          This method is only for use by the framework
protected  LinkedHashMap<String,String> toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, 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

ObjectCode

public ObjectCode()
Default no-arg constructor.


ObjectCode

public ObjectCode(Integer fiscalYear,
                  String chart,
                  String financialObjectCode)
Constructs a ObjectCode.java with the given defaults; this way, it is not necessary to use any deprecated setters.

Parameters:
fiscalYear -
chart -
financialObjectCode - - an active object code
Method Detail

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer i)
This method is only for use by the framework


getFinancialFederalFunded

public FederalFundedCode getFinancialFederalFunded()
Gets the financialFederalFunded attribute.

Returns:
Returns the financialFederalFunded.

setFinancialFederalFunded

public void setFinancialFederalFunded(FederalFundedCode financialFederalFunded)
Deprecated. 

Sets the financialFederalFunded attribute value.

Parameters:
financialFederalFunded - The financialFederalFunded to set.

getFinObjMandatoryTrnfrelim

public MandatoryTransferEliminationCode getFinObjMandatoryTrnfrelim()
Gets the finObjMandatoryTrnfrelim attribute.

Returns:
Returns the finObjMandatoryTrnfrelimCd.

setFinObjMandatoryTrnfrelim

public void setFinObjMandatoryTrnfrelim(MandatoryTransferEliminationCode finObjMandatoryTrnfrelim)
Deprecated. 

Sets the finObjMandatoryTrnfrelim attribute value.

Parameters:
finObjMandatoryTrnfrelim - The finObjMandatoryTrnfrelim to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode attribute.

Returns:
Returns the financialObjectCode

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode attribute.

Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialObjectCodeName

public String getFinancialObjectCodeName()
Gets the financialObjectCodeName attribute.

Returns:
Returns the financialObjectCodeName

setFinancialObjectCodeName

public void setFinancialObjectCodeName(String financialObjectCodeName)
Sets the financialObjectCodeName attribute.

Parameters:
financialObjectCodeName - The financialObjectCodeName to set.

getFinancialObjectCodeShortName

public String getFinancialObjectCodeShortName()
Gets the financialObjectCodeShortName attribute.

Returns:
Returns the financialObjectCodeShortName

setFinancialObjectCodeShortName

public void setFinancialObjectCodeShortName(String financialObjectCodeShortName)
Sets the financialObjectCodeShortName attribute.

Parameters:
financialObjectCodeShortName - The financialObjectCodeShortName to set.

getHistoricalFinancialObjectCode

public String getHistoricalFinancialObjectCode()
Gets the historicalFinancialObjectCode attribute.

Returns:
Returns the historicalFinancialObjectCode

setHistoricalFinancialObjectCode

public void setHistoricalFinancialObjectCode(String historicalFinancialObjectCode)
Sets the historicalFinancialObjectCode attribute.

Parameters:
historicalFinancialObjectCode - The historicalFinancialObjectCode to set.

isFinancialObjectActiveCode

public boolean isFinancialObjectActiveCode()
Gets the financialObjectActiveCode attribute.

Returns:
Returns the financialObjectActiveCode

setFinancialObjectActiveCode

public void setFinancialObjectActiveCode(boolean active)
Sets the financialObjectActiveCode attribute.

Parameters:
financialObjectActiveCode - The financialObjectActiveCode to set.

getUniversityFiscal

public SystemOptions getUniversityFiscal()
Gets the universityFiscal attribute.

Returns:
Returns the universityFiscal

setUniversityFiscal

public void setUniversityFiscal(SystemOptions universityFiscal)
Deprecated. 

Sets the universityFiscal attribute.

Parameters:
universityFiscal - The universityFiscal to set.

getFinancialObjectLevel

public ObjectLevel getFinancialObjectLevel()
Gets the financialObjectLevel attribute.

Returns:
Returns the financialObjectLevel

setFinancialObjectLevel

public void setFinancialObjectLevel(ObjectLevel financialObjectLevel)
Deprecated. 

Sets the financialObjectLevel attribute.

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

getReportsToChartOfAccounts

public Chart getReportsToChartOfAccounts()
Gets the reportsToChartOfAccounts attribute.

Returns:
Returns the reportsToChartOfAccounts

setReportsToChartOfAccounts

public void setReportsToChartOfAccounts(Chart reportsToChartOfAccounts)
Deprecated. 

Sets the reportsToChartOfAccounts attribute.

Parameters:
reportsToChartOfAccounts - The reportsToChartOfAccounts to set.

getReportsToFinancialObject

public ObjectCode getReportsToFinancialObject()
Gets the reportsToFinancialObject attribute.

Returns:
Returns the reportsToFinancialObject

setReportsToFinancialObject

public void setReportsToFinancialObject(ObjectCode reportsToFinancialObject)
Deprecated. 

Sets the reportsToFinancialObject attribute.

Parameters:
reportsToFinancialObject - The reportsToFinancialObject to set.

getFinancialObjectType

public ObjectType getFinancialObjectType()
Gets the financialObjectType attribute.

Returns:
Returns the financialObjectType

setFinancialObjectType

public void setFinancialObjectType(ObjectType financialObjectType)
Deprecated. 

Sets the financialObjectType attribute.

Parameters:
financialObjectType - The financialObjectType to set.

getFinancialObjectSubType

public ObjectSubType getFinancialObjectSubType()
Gets the financialObjectSubType attribute.

Returns:
Returns the financialObjectSubType

setFinancialObjectSubType

public void setFinancialObjectSubType(ObjectSubType financialObjectSubType)
Deprecated. 

Sets the financialObjectSubType attribute.

Parameters:
financialObjectSubType - The financialObjectSubType to set.

setChartOfAccountsCode

public void setChartOfAccountsCode(String string)

getChartOfAccountsCode

public String getChartOfAccountsCode()

getUniversityFiscalYear

public Integer getUniversityFiscalYear()

getFinancialBudgetAggregationCd

public String getFinancialBudgetAggregationCd()
Returns:
Returns the financialBudgetAggregationCd.

setFinancialBudgetAggregationCd

public void setFinancialBudgetAggregationCd(String financialBudgetAggregationCd)
Parameters:
financialBudgetAggregationCd - The financialBudgetAggregationCd to set.

getFinancialObjectLevelCode

public String getFinancialObjectLevelCode()
Returns:
Returns the financialObjectLevelCode.

setFinancialObjectLevelCode

public void setFinancialObjectLevelCode(String financialObjectLevelCode)
Parameters:
financialObjectLevelCode - The financialObjectLevelCode to set.

getFinancialObjectSubTypeCode

public String getFinancialObjectSubTypeCode()
Returns:
Returns the financialObjectSubTypeCode.

setFinancialObjectSubTypeCode

public void setFinancialObjectSubTypeCode(String financialObjectSubTypeCode)
Parameters:
financialObjectSubTypeCode - The financialObjectSubTypeCode to set.

getFinancialObjectTypeCode

public String getFinancialObjectTypeCode()
Returns:
Returns the financialObjectTypeCode.

setFinancialObjectTypeCode

public void setFinancialObjectTypeCode(String financialObjectTypeCode)
Parameters:
financialObjectTypeCode - The financialObjectTypeCode to set.

getNextYearFinancialObjectCode

public String getNextYearFinancialObjectCode()
Returns:
Returns the nextYearFinancialObjectCode.

setNextYearFinancialObjectCode

public void setNextYearFinancialObjectCode(String nextYearFinancialObjectCode)
Parameters:
nextYearFinancialObjectCode - The nextYearFinancialObjectCode to set.

getReportsToChartOfAccountsCode

public String getReportsToChartOfAccountsCode()
Returns:
Returns the reportsToChartOfAccountsCode.

setReportsToChartOfAccountsCode

public void setReportsToChartOfAccountsCode(String reportsToChartOfAccountsCode)
Parameters:
reportsToChartOfAccountsCode - The reportsToChartOfAccountsCode to set.

getReportsToFinancialObjectCode

public String getReportsToFinancialObjectCode()
Returns:
Returns the reportsToFinancialObjectCode.

setReportsToFinancialObjectCode

public void setReportsToFinancialObjectCode(String reportsToFinancialObjectCode)
Parameters:
reportsToFinancialObjectCode - The reportsToFinancialObjectCode to set.

getFinancialFederalFundedCode

public String getFinancialFederalFundedCode()
Returns:
Returns the financialFederalFundedCode.

setFinancialFederalFundedCode

public void setFinancialFederalFundedCode(String financialFederalFundedCode)
Parameters:
financialFederalFundedCode - The financialFederalFundedCode to set.

getFinObjMandatoryTrnfrelimCd

public String getFinObjMandatoryTrnfrelimCd()
Returns:
Returns the finObjMandatoryTrnfrelimCd.

setFinObjMandatoryTrnfrelimCd

public void setFinObjMandatoryTrnfrelimCd(String finObjMandatoryTrnfrelimCd)
Parameters:
finObjMandatoryTrnfrelimCd - The finObjMandatoryTrnfrelimCd to set.

getFinancialBudgetAggregation

public BudgetAggregationCode getFinancialBudgetAggregation()

setFinancialBudgetAggregation

public void setFinancialBudgetAggregation(BudgetAggregationCode financialBudgetAggregation)

toStringMapper

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

beforeUpdate

public void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeUpdate in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeUpdate in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Specified by:
isActive in interface org.kuali.rice.kns.bo.KualiCode

setActive

public void setActive(boolean a)
Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Specified by:
setActive in interface org.kuali.rice.kns.bo.KualiCode

setCode

public void setCode(String code)
Specified by:
setCode in interface org.kuali.rice.kns.bo.KualiCode

setName

public void setName(String name)
Specified by:
setName in interface org.kuali.rice.kns.bo.KualiCode

getCode

public String getCode()
Specified by:
getCode in interface org.kuali.rice.kns.bo.KualiCode

getName

public String getName()
Specified by:
getName in interface org.kuali.rice.kns.bo.KualiCode

isReportingToSelf

public boolean isReportingToSelf()
Determines if this object code reports to itself

Returns:
true if the object code reports to itself, false otherwise


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