org.kuali.kfs.gl.businessobject
Class BalanceHistory

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.gl.businessobject.Balance
              extended by org.kuali.kfs.gl.businessobject.BalanceHistory
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, LedgerBalanceHistory, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class BalanceHistory
extends Balance
implements LedgerBalanceHistory

General Ledger business object for BalanceHistory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
BalanceHistory()
          Default constructor.
BalanceHistory(OriginEntryInformation originEntry)
          Constructs a BalanceHistory.java.
 
Method Summary
 boolean compareAmounts(Balance balance)
          Compare amounts
 String getFinancialBalanceTypeCode()
          Because financialBalanceTypeCode is named differently in Labor and GL.
 String getFinancialObjectCode()
          Because financialBalanceTypeCode is named differently in Labor and GL.
 String getFinancialObjectTypeCode()
          Because financialBalanceTypeCode is named differently in Labor and GL.
 String getFinancialSubObjectCode()
          Because financialBalanceTypeCode is named differently in Labor and GL.
 Date getTimestamp()
          History does not track this field.
 void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
          Because financialBalanceTypeCode is named differently in Labor and GL.
 void setFinancialObjectCode(String financialObjectCode)
          Because financialBalanceTypeCode is named differently in Labor and GL.
 void setFinancialObjectTypeCode(String financialObjectTypeCode)
          Because financialBalanceTypeCode is named differently in Labor and GL.
 void setFinancialSubObjectCode(String financialSubObjectCode)
          Because financialBalanceTypeCode is named differently in Labor and GL.
 void setTimestamp(Date timestamp)
          History does not track this field.
 
Methods inherited from class org.kuali.kfs.gl.businessobject.Balance
addAmount, getAccount, getAccountLineAnnualBalanceAmount, getAccountNumber, getAmount, getBalanceType, getBalanceTypeCode, getBeginningBalanceLineAmount, getChart, getChartOfAccountsCode, getCombinedBeginningBalanceAmount, getContractsGrantsBeginningBalanceAmount, getDummyBusinessObject, getFinancialObject, getFinancialSubObject, getFundGroup, getMonth10Amount, getMonth11Amount, getMonth12Amount, getMonth13Amount, getMonth1Amount, getMonth2Amount, getMonth3Amount, getMonth4Amount, getMonth5Amount, getMonth6Amount, getMonth7Amount, getMonth8Amount, getMonth9Amount, getObjectCode, getObjectType, getObjectTypeCode, getOption, getPriorYearAccount, getSubAccount, getSubAccountNumber, getSubObjectCode, getUniversityFiscalYear, getYearBalance, getYearToDayBalance, setAccount, setAccountLineAnnualBalanceAmount, setAccountNumber, setBalanceType, setBalanceTypeCode, setBeginningBalanceLineAmount, setChart, setChartOfAccountsCode, setContractsGrantsBeginningBalanceAmount, setDummyBusinessObject, setFinancialObject, setFinancialSubObject, setFundGroup, setMonth10Amount, setMonth11Amount, setMonth12Amount, setMonth13Amount, setMonth1Amount, setMonth2Amount, setMonth3Amount, setMonth4Amount, setMonth5Amount, setMonth6Amount, setMonth7Amount, setMonth8Amount, setMonth9Amount, setObjectCode, setObjectType, setObjectTypeCode, setOption, setPriorYearAccount, setSubAccount, setSubAccountNumber, setSubObjectCode, setUniversityFiscalYear, setYearBalance, setYearToDayBalance, 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.kfs.gl.businessobject.LedgerBalanceHistory
getAccountNumber, getChartOfAccountsCode, getSubAccountNumber, getUniversityFiscalYear
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

BalanceHistory

public BalanceHistory()
Default constructor.


BalanceHistory

public BalanceHistory(OriginEntryInformation originEntry)
Constructs a BalanceHistory.java.

Parameters:
transaction -
Method Detail

compareAmounts

public boolean compareAmounts(Balance balance)
Compare amounts

Specified by:
compareAmounts in interface LedgerBalanceHistory
Parameters:
balance -
See Also:
Balance.addAmount(java.lang.String, org.kuali.rice.kns.util.KualiDecimal)

getTimestamp

public Date getTimestamp()
History does not track this field.

Overrides:
getTimestamp in class Balance
Returns:
Returns the timestamp.
See Also:
Balance.getTimestamp()

setTimestamp

public void setTimestamp(Date timestamp)
History does not track this field.

Overrides:
setTimestamp in class Balance
Parameters:
timestamp - The timestamp to set.
See Also:
Balance.setTimestamp(java.sql.Date)

getFinancialBalanceTypeCode

public String getFinancialBalanceTypeCode()
Because financialBalanceTypeCode is named differently in Labor and GL.

Specified by:
getFinancialBalanceTypeCode in interface LedgerBalanceHistory
Returns:
Returns the balanceTypeCode.

setFinancialBalanceTypeCode

public void setFinancialBalanceTypeCode(String financialBalanceTypeCode)
Because financialBalanceTypeCode is named differently in Labor and GL.

Parameters:
financialBalanceTypeCode - The balanceTypeCode to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Because financialBalanceTypeCode is named differently in Labor and GL.

Specified by:
getFinancialObjectCode in interface LedgerBalanceHistory
Returns:
Returns the objectCode.

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Because financialBalanceTypeCode is named differently in Labor and GL.

Parameters:
financialObjectCode - The objectCode to set.

getFinancialObjectTypeCode

public String getFinancialObjectTypeCode()
Because financialBalanceTypeCode is named differently in Labor and GL.

Specified by:
getFinancialObjectTypeCode in interface LedgerBalanceHistory
Returns:
Returns the objectTypeCode.

setFinancialObjectTypeCode

public void setFinancialObjectTypeCode(String financialObjectTypeCode)
Because financialBalanceTypeCode is named differently in Labor and GL.

Parameters:
financialObjectTypeCode - The objectTypeCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Because financialBalanceTypeCode is named differently in Labor and GL.

Specified by:
getFinancialSubObjectCode in interface LedgerBalanceHistory
Returns:
Returns the subObjectCode.

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Because financialBalanceTypeCode is named differently in Labor and GL.

Parameters:
financialSubObjectCode - The subObjectCode to set.


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