org.kuali.kfs.sys.businessobject
Class AccountingLineBase

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.sys.businessobject.AccountingLineBase
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, AccountingLine, GeneralLedgerPendingEntrySourceDetail, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
SourceAccountingLine, TargetAccountingLine

public abstract class AccountingLineBase
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Serializable, AccountingLine, GeneralLedgerPendingEntrySourceDetail

This is the generic class which contains all the elements on a typical line of accounting elements. These are all the accounting items necessary to create a pending entry to the G/L. All transaction documents will use this business object inherently.

See Also:
Serialized Form

Field Summary
protected  String financialDocumentLineDescription
           
protected  String financialDocumentLineTypeCode
           
protected  boolean salesTaxRequired
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AccountingLineBase()
          This constructor sets up empty instances for the dependent objects.
 
Method Summary
 void copyFrom(AccountingLine other)
          Overwrites the fields of this AccountingLine with the values of the corresponding fields of the given AccountingLine.
 boolean equals(Object obj)
          Override needed for PURAP GL entry creation (hjs) - please do not add "amount" to this method
 Account getAccount()
           
 boolean getAccountExpiredOverride()
          This indicates the account expired component of this AccountingLine's overrideCode.
 boolean getAccountExpiredOverrideNeeded()
          This indicates the account expired override is needed (because this AccountingLine's Account is expired).
 String getAccountKey()
          Convenience method to make the primitive account fields from this AccountingLine easier to compare to the account fields of another AccountingLine or of an Account
 String getAccountNumber()
           
 org.kuali.rice.kns.util.KualiDecimal getAmount()
           
 BalanceType getBalanceTyp()
           
 String getBalanceTypeCode()
           
 Chart getChart()
           
 String getChartOfAccountsCode()
           
 String getDebitCreditCode()
          This method retrieves the debit/credit code for the accounting line.
 String getDocumentNumber()
           
 String getEncumbranceUpdateCode()
          This method retrieves the encumbrance update code for the accounting line.
 String getFinancialDocumentLineDescription()
           
 String getFinancialDocumentLineTypeCode()
           
 String getFinancialObjectCode()
           
 String getFinancialSubObjectCode()
           
 boolean getNonFringeAccountOverride()
          Gets the nonFringeAccountOverride attribute.
 boolean getNonFringeAccountOverrideNeeded()
          Gets the nonFringeAccountOverrideNeeded attribute.
 ObjectCode getObjectCode()
           
 ObjectType getObjectType()
          This method retrieves the ObjectType for the accounting line.
 String getObjectTypeCode()
           
 String getOrganizationReferenceId()
           
 String getOverrideCode()
           
 Integer getPostingYear()
           
 ProjectCode getProject()
           
 String getProjectCode()
           
 org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
          Gets the referenceFinancialSystemDocumentTypeCode attribute.
 String getReferenceNumber()
           
 OriginationCode getReferenceOrigin()
          This method returns the object related to referenceOriginCode
 String getReferenceOriginCode()
           
 String getReferenceTypeCode()
           
 SalesTax getSalesTax()
           
 Integer getSequenceNumber()
           
 SubAccount getSubAccount()
           
 String getSubAccountNumber()
           
 SubObjectCode getSubObjectCode()
           
 Map getValuesMap()
          Returns a map with the primitive field names as the key and the primitive values as the map value.
 int hashCode()
          Override needed for PURAP GL entry creation (hjs) - please do not add "amount" to this method
 boolean isLike(AccountingLine other)
           
 boolean isObjectBudgetOverride()
          This indicates the object budget component of this AccountingLine's overrideCode.
 boolean isObjectBudgetOverrideNeeded()
          This indicates the object budget override is needed (because this AccountingLine's Account is expired).
 boolean isSalesTaxRequired()
          This method checks to see if sales tax is required for this accounting line or not
 boolean isSourceAccountingLine()
           
 boolean isTargetAccountingLine()
           
 void setAccount(Account account)
          Deprecated.  
 void setAccountExpiredOverride(boolean b)
           
 void setAccountExpiredOverrideNeeded(boolean b)
           
 void setAccountNumber(String accountNumber)
           
 void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
           
 void setBalanceTyp(BalanceType balanceTyp)
          Deprecated.  
 void setBalanceTypeCode(String balanceTypeCode)
           
 void setChart(Chart chart)
          Deprecated.  
 void setChartOfAccountsCode(String chartOfAccountsCode)
           
 void setDebitCreditCode(String debitCreditCode)
          This method sets the debit/credit code for the accounting line.
 void setDocumentNumber(String documentNumber)
           
 void setEncumbranceUpdateCode(String encumbranceUpdateCode)
          This method sets the debit/credit code for the accounting line.
 void setFinancialDocumentLineDescription(String financialDocumentLineDescription)
           
 void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
           
 void setFinancialObjectCode(String financialObjectCode)
           
 void setFinancialSubObjectCode(String financialSubObjectCode)
           
 void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
          Sets the nonFringeAccountOverride attribute value.
 void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
          Sets the nonFringeAccountOverrideNeeded attribute value.
 void setObjectBudgetOverride(boolean objectBudgetOverride)
           
 void setObjectBudgetOverrideNeeded(boolean objectBudgetOverrideNeeded)
           
 void setObjectCode(ObjectCode objectCode)
          Deprecated.  
 void setOrganizationReferenceId(String organizationReferenceId)
           
 void setOverrideCode(String overrideCode)
           
 void setPostingYear(Integer postingYear)
           
 void setProject(ProjectCode project)
          Deprecated.  
 void setProjectCode(String projectCode)
           
 void setReferenceNumber(String referenceNumber)
           
 void setReferenceOrigin(OriginationCode referenceOrigin)
          Deprecated.  
 void setReferenceOriginCode(String originCode)
           
 void setReferenceTypeCode(String referenceTypeCode)
           
 void setSalesTax(SalesTax salesTax)
          Deprecated.  
 void setSalesTaxRequired(boolean salesTaxRequired)
          You can set whether or not sales tax is required for this accounting line or not
 void setSequenceNumber(Integer sequenceNumber)
           
 void setSubAccount(SubAccount subAccount)
          Deprecated.  
 void setSubAccountNumber(String subAccountNumber)
           
 void setSubObjectCode(SubObjectCode subObjectCode)
          Deprecated.  
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 

Field Detail

financialDocumentLineTypeCode

protected String financialDocumentLineTypeCode

financialDocumentLineDescription

protected String financialDocumentLineDescription

salesTaxRequired

protected boolean salesTaxRequired
Constructor Detail

AccountingLineBase

public AccountingLineBase()
This constructor sets up empty instances for the dependent objects.

Method Detail

getAccount

public Account getAccount()
Specified by:
getAccount in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the account.

setAccount

public void setAccount(Account account)
Deprecated. 

Specified by:
setAccount in interface AccountingLine
Parameters:
account - The account to set.

getChart

public Chart getChart()
Specified by:
getChart in interface AccountingLine
Returns:
Returns the chartOfAccountsCode.

setChart

public void setChart(Chart chart)
Deprecated. 

Specified by:
setChart in interface AccountingLine
Parameters:
chart - The chartOfAccountsCode to set.

getDocumentNumber

public String getDocumentNumber()
Specified by:
getDocumentNumber in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the documentNumber.

getAmount

public org.kuali.rice.kns.util.KualiDecimal getAmount()
Specified by:
getAmount in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the amount.

setAmount

public void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
Specified by:
setAmount in interface AccountingLine
Parameters:
amount - The amount to set.

getBalanceTyp

public BalanceType getBalanceTyp()
Specified by:
getBalanceTyp in interface AccountingLine
Returns:
Returns the balanceTyp.

setBalanceTyp

public void setBalanceTyp(BalanceType balanceTyp)
Deprecated. 

Specified by:
setBalanceTyp in interface AccountingLine
Parameters:
balanceTyp - The balanceTyp to set.

getObjectCode

public ObjectCode getObjectCode()
Specified by:
getObjectCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the objectCode.

setObjectCode

public void setObjectCode(ObjectCode objectCode)
Deprecated. 

Specified by:
setObjectCode in interface AccountingLine
Parameters:
objectCode - The objectCode to set.

getReferenceOriginCode

public String getReferenceOriginCode()
Specified by:
getReferenceOriginCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the referenceOriginCode.

setReferenceOriginCode

public void setReferenceOriginCode(String originCode)
Specified by:
setReferenceOriginCode in interface AccountingLine
Parameters:
originCode - The referenceOriginCode to set.

getReferenceOrigin

public OriginationCode getReferenceOrigin()
This method returns the object related to referenceOriginCode

Specified by:
getReferenceOrigin in interface AccountingLine
Returns:
referenceOrigin

setReferenceOrigin

public void setReferenceOrigin(OriginationCode referenceOrigin)
Deprecated. 

This method sets the referenceOrigin object, this is only to be used by OJB

Specified by:
setReferenceOrigin in interface AccountingLine
Parameters:
referenceOrigin -

getReferenceFinancialSystemDocumentTypeCode

public org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
Gets the referenceFinancialSystemDocumentTypeCode attribute.

Specified by:
getReferenceFinancialSystemDocumentTypeCode in interface AccountingLine
Returns:
Returns the referenceFinancialSystemDocumentTypeCode.

getOrganizationReferenceId

public String getOrganizationReferenceId()
Specified by:
getOrganizationReferenceId in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the organizationReferenceId.

setOrganizationReferenceId

public void setOrganizationReferenceId(String organizationReferenceId)
Specified by:
setOrganizationReferenceId in interface AccountingLine
Parameters:
organizationReferenceId - The organizationReferenceId to set.

getOverrideCode

public String getOverrideCode()
Specified by:
getOverrideCode in interface AccountingLine
Returns:
Returns the overrideCode.

setOverrideCode

public void setOverrideCode(String overrideCode)
Specified by:
setOverrideCode in interface AccountingLine
Parameters:
overrideCode - The overrideCode to set.

getPostingYear

public Integer getPostingYear()
Specified by:
getPostingYear in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the postingYear.

setPostingYear

public void setPostingYear(Integer postingYear)
Specified by:
setPostingYear in interface AccountingLine
Parameters:
postingYear - The postingYear to set.

getProjectCode

public String getProjectCode()
Specified by:
getProjectCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the projectCode.

setProjectCode

public void setProjectCode(String projectCode)
Specified by:
setProjectCode in interface AccountingLine
Parameters:
projectCode - The projectCode to set.

getReferenceNumber

public String getReferenceNumber()
Specified by:
getReferenceNumber in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the referenceNumber.

setReferenceNumber

public void setReferenceNumber(String referenceNumber)
Specified by:
setReferenceNumber in interface AccountingLine
Parameters:
referenceNumber - The referenceNumber to set.

getReferenceTypeCode

public String getReferenceTypeCode()
Specified by:
getReferenceTypeCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the referenceTypeCode.

setReferenceTypeCode

public void setReferenceTypeCode(String referenceTypeCode)
Specified by:
setReferenceTypeCode in interface AccountingLine
Parameters:
referenceTypeCode - The referenceTypeCode to set.

getSequenceNumber

public Integer getSequenceNumber()
Specified by:
getSequenceNumber in interface AccountingLine
Returns:
Returns the sequenceNumber.

setSequenceNumber

public void setSequenceNumber(Integer sequenceNumber)
Specified by:
setSequenceNumber in interface AccountingLine
Parameters:
sequenceNumber - The sequenceNumber to set.

getSubAccount

public SubAccount getSubAccount()
Specified by:
getSubAccount in interface AccountingLine
Returns:
Returns the subAccount.

setSubAccount

public void setSubAccount(SubAccount subAccount)
Deprecated. 

Specified by:
setSubAccount in interface AccountingLine
Parameters:
subAccount - The subAccount to set.

getSubObjectCode

public SubObjectCode getSubObjectCode()
Specified by:
getSubObjectCode in interface AccountingLine
Returns:
Returns the subObjectCode.

setSubObjectCode

public void setSubObjectCode(SubObjectCode subObjectCode)
Deprecated. 

Specified by:
setSubObjectCode in interface AccountingLine
Parameters:
subObjectCode - The subObjectCode to set.

getSalesTax

public SalesTax getSalesTax()
Specified by:
getSalesTax in interface AccountingLine
Returns:
the sales tax associated with this line if any
See Also:
AccountingLine.getSalesTax()

setSalesTax

public void setSalesTax(SalesTax salesTax)
Deprecated. 

Specified by:
setSalesTax in interface AccountingLine
Parameters:
salesTax - The sales tax associated with this AccountingLine
See Also:
AccountingLine.setSalesTax(org.kuali.kfs.fp.businessobject.SalesTax)

isSalesTaxRequired

public boolean isSalesTaxRequired()
Description copied from interface: AccountingLine
This method checks to see if sales tax is required for this accounting line or not

Specified by:
isSalesTaxRequired in interface AccountingLine
Returns:
true if it is required, false otherwise
See Also:
AccountingLine.isSalesTaxRequired()

setSalesTaxRequired

public void setSalesTaxRequired(boolean salesTaxRequired)
Description copied from interface: AccountingLine
You can set whether or not sales tax is required for this accounting line or not

Specified by:
setSalesTaxRequired in interface AccountingLine
Parameters:
salesTaxRequired - - true if required
See Also:
AccountingLine.setSalesTaxRequired(boolean)

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Specified by:
setDocumentNumber in interface AccountingLine
Parameters:
documentNumber - The documentNumber to set.

getDebitCreditCode

public String getDebitCreditCode()
This method retrieves the debit/credit code for the accounting line. This method will only return a not null value for a Journal Voucher document.

Specified by:
getDebitCreditCode in interface AccountingLine
Returns:
A String code.

setDebitCreditCode

public void setDebitCreditCode(String debitCreditCode)
This method sets the debit/credit code for the accounting line. This method should only be used for a Journal Voucher document.

Specified by:
setDebitCreditCode in interface AccountingLine
Parameters:
debitCreditCode -

getEncumbranceUpdateCode

public String getEncumbranceUpdateCode()
This method retrieves the encumbrance update code for the accounting line. This method will only return a not null value for a Journal Voucher document.

Specified by:
getEncumbranceUpdateCode in interface AccountingLine
Returns:
A String code.

setEncumbranceUpdateCode

public void setEncumbranceUpdateCode(String encumbranceUpdateCode)
This method sets the debit/credit code for the accounting line. This method should only be used for a Journal Voucher document.

Specified by:
setEncumbranceUpdateCode in interface AccountingLine
Parameters:
encumbranceUpdateCode -

getObjectType

public ObjectType getObjectType()
This method retrieves the ObjectType for the accounting line. This method will only return a not null value for a Journal Voucher document.

Specified by:
getObjectType in interface AccountingLine
Returns:
An ObjectType instance.

getAccountNumber

public String getAccountNumber()
Specified by:
getAccountNumber in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the accountNumber.

setAccountNumber

public void setAccountNumber(String accountNumber)
Specified by:
setAccountNumber in interface AccountingLine
Parameters:
accountNumber - The accountNumber to set.

getBalanceTypeCode

public String getBalanceTypeCode()
Specified by:
getBalanceTypeCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the balanceTypeCode.

setBalanceTypeCode

public void setBalanceTypeCode(String balanceTypeCode)
Specified by:
setBalanceTypeCode in interface AccountingLine
Parameters:
balanceTypeCode - The balanceTypeCode to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Specified by:
getChartOfAccountsCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the chartOfAccountsCode.

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Specified by:
setChartOfAccountsCode in interface AccountingLine
Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Specified by:
getFinancialObjectCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the financialObjectCode.

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Specified by:
setFinancialObjectCode in interface AccountingLine
Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Specified by:
getFinancialSubObjectCode in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the financialSubObjectCode.

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Specified by:
setFinancialSubObjectCode in interface AccountingLine
Parameters:
financialSubObjectCode - The financialSubObjectCode to set.

getObjectTypeCode

public String getObjectTypeCode()
Specified by:
getObjectTypeCode in interface AccountingLine
Returns:
Returns the objectTypeCode.

getFinancialDocumentLineTypeCode

public String getFinancialDocumentLineTypeCode()
Specified by:
getFinancialDocumentLineTypeCode in interface AccountingLine
Returns:
Returns the financialDocumentLineTypeCode.

setFinancialDocumentLineTypeCode

public void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
Specified by:
setFinancialDocumentLineTypeCode in interface AccountingLine
Parameters:
financialDocumentLineTypeCode - The financialDocumentLineTypeCode to set.

getProject

public ProjectCode getProject()
Specified by:
getProject in interface AccountingLine
Returns:
Returns the project.

setProject

public void setProject(ProjectCode project)
Deprecated. 

Specified by:
setProject in interface AccountingLine
Parameters:
project - The project to set.

getSubAccountNumber

public String getSubAccountNumber()
Specified by:
getSubAccountNumber in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the subAccountNumber.

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Specified by:
setSubAccountNumber in interface AccountingLine
Parameters:
subAccountNumber - The subAccountNumber to set.

getFinancialDocumentLineDescription

public String getFinancialDocumentLineDescription()
Specified by:
getFinancialDocumentLineDescription in interface GeneralLedgerPendingEntrySourceDetail
Returns:
Returns the financialDocumentLineDescription.

setFinancialDocumentLineDescription

public void setFinancialDocumentLineDescription(String financialDocumentLineDescription)
Specified by:
setFinancialDocumentLineDescription in interface AccountingLine
Parameters:
financialDocumentLineDescription - The financialDocumentLineDescription to set.

toStringMapper

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

isSourceAccountingLine

public boolean isSourceAccountingLine()
Specified by:
isSourceAccountingLine in interface AccountingLine
See Also:
org.kuali.rice.kns.bo.AccountingLine#isSourceAccountingLine()

isTargetAccountingLine

public boolean isTargetAccountingLine()
Specified by:
isTargetAccountingLine in interface AccountingLine
See Also:
org.kuali.rice.kns.bo.AccountingLine#isTargetAccountingLine()

getAccountKey

public String getAccountKey()
Description copied from interface: AccountingLine
Convenience method to make the primitive account fields from this AccountingLine easier to compare to the account fields of another AccountingLine or of an Account

Specified by:
getAccountKey in interface AccountingLine
Returns:
String representing the account associated with this AccountingLine
See Also:
org.kuali.rice.kns.bo.AccountingLine#getAccountKey()

copyFrom

public void copyFrom(AccountingLine other)
Description copied from interface: AccountingLine
Overwrites the fields of this AccountingLine with the values of the corresponding fields of the given AccountingLine. Reference field values are in this instance are overwritten with deepCopies of the reference fields of the given AccountingLine.

Specified by:
copyFrom in interface AccountingLine
See Also:
org.kuali.rice.kns.bo.AccountingLine#copyFrom(org.kuali.rice.kns.bo.AccountingLine)

isLike

public boolean isLike(AccountingLine other)
Specified by:
isLike in interface AccountingLine
Returns:
true if this AccountingLine has the same primitive field values as the given one
See Also:
org.kuali.rice.kns.bo.AccountingLine#isLike(org.kuali.rice.kns.bo.AccountingLine)

getAccountExpiredOverride

public boolean getAccountExpiredOverride()
Description copied from interface: AccountingLine
This indicates the account expired component of this AccountingLine's overrideCode. It provides a DataDictionary attribute for the UI, but is not persisted itself.

Specified by:
getAccountExpiredOverride in interface AccountingLine
Returns:
accountExpiredOverride
See Also:
AccountingLine.getAccountExpiredOverride()

setAccountExpiredOverride

public void setAccountExpiredOverride(boolean b)
Specified by:
setAccountExpiredOverride in interface AccountingLine
Parameters:
b - the accountExpiredOverride to set
See Also:
AccountingLine.setAccountExpiredOverride(boolean)

getAccountExpiredOverrideNeeded

public boolean getAccountExpiredOverrideNeeded()
Description copied from interface: AccountingLine
This indicates the account expired override is needed (because this AccountingLine's Account is expired). It tells the UI to display the accountExpiredOverride attribute, but is not persisted itself.

Specified by:
getAccountExpiredOverrideNeeded in interface AccountingLine
Returns:
accountExpiredOverride
See Also:
AccountingLine.getAccountExpiredOverrideNeeded()

setAccountExpiredOverrideNeeded

public void setAccountExpiredOverrideNeeded(boolean b)
Specified by:
setAccountExpiredOverrideNeeded in interface AccountingLine
Parameters:
b - the accountExpiredOverrideNeeded to set
See Also:
AccountingLine.setAccountExpiredOverrideNeeded(boolean)

isObjectBudgetOverride

public boolean isObjectBudgetOverride()
Description copied from interface: AccountingLine
This indicates the object budget component of this AccountingLine's overrideCode. It provides a DataDictionary attribute for the UI, but is not persisted itself.

Specified by:
isObjectBudgetOverride in interface AccountingLine
Returns:
Returns the objectBudgetOverride.

setObjectBudgetOverride

public void setObjectBudgetOverride(boolean objectBudgetOverride)
Specified by:
setObjectBudgetOverride in interface AccountingLine
Parameters:
objectBudgetOverride - The objectBudgetOverride to set.
See Also:
AccountingLine.isObjectBudgetOverride()

isObjectBudgetOverrideNeeded

public boolean isObjectBudgetOverrideNeeded()
Description copied from interface: AccountingLine
This indicates the object budget override is needed (because this AccountingLine's Account is expired). It tells the UI to display the objectBudgetOverride attribute, but is not persisted itself.

Specified by:
isObjectBudgetOverrideNeeded in interface AccountingLine
Returns:
Returns the objectBudgetOverrideNeeded.

setObjectBudgetOverrideNeeded

public void setObjectBudgetOverrideNeeded(boolean objectBudgetOverrideNeeded)
Specified by:
setObjectBudgetOverrideNeeded in interface AccountingLine
Parameters:
objectBudgetOverrideNeeded - The objectBudgetOverrideNeeded to set.
See Also:
AccountingLine.isObjectBudgetOverrideNeeded()

getNonFringeAccountOverride

public boolean getNonFringeAccountOverride()
Description copied from interface: AccountingLine
Gets the nonFringeAccountOverride attribute.

Specified by:
getNonFringeAccountOverride in interface AccountingLine
Returns:
Returns the nonFringeAccountOverride.
See Also:
org.kuali.kfs.sys.businessobject.AccountingLine#isNonFringeAccountOverride()

setNonFringeAccountOverride

public void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
Description copied from interface: AccountingLine
Sets the nonFringeAccountOverride attribute value.

Specified by:
setNonFringeAccountOverride in interface AccountingLine
Parameters:
nonFringeAccountOverride - The nonFringeAccountOverride to set.
See Also:
AccountingLine.setNonFringeAccountOverride(boolean)

getNonFringeAccountOverrideNeeded

public boolean getNonFringeAccountOverrideNeeded()
Description copied from interface: AccountingLine
Gets the nonFringeAccountOverrideNeeded attribute.

Specified by:
getNonFringeAccountOverrideNeeded in interface AccountingLine
Returns:
Returns the nonFringeAccountOverrideNeeded.
See Also:
org.kuali.kfs.sys.businessobject.AccountingLine#isNonFringeAccountOverrideNeeded()

setNonFringeAccountOverrideNeeded

public void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
Description copied from interface: AccountingLine
Sets the nonFringeAccountOverrideNeeded attribute value.

Specified by:
setNonFringeAccountOverrideNeeded in interface AccountingLine
Parameters:
nonFringeAccountOverrideNeeded - The nonFringeAccountOverrideNeeded to set.
See Also:
AccountingLine.setNonFringeAccountOverrideNeeded(boolean)

getValuesMap

public Map getValuesMap()
Returns a map with the primitive field names as the key and the primitive values as the map value.

Specified by:
getValuesMap in interface AccountingLine
Returns:
Map

equals

public boolean equals(Object obj)
Override needed for PURAP GL entry creation (hjs) - please do not add "amount" to this method

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Override needed for PURAP GL entry creation (hjs) - please do not add "amount" to this method

Overrides:
hashCode in class Object
See Also:
Object.hashCode()


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