|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.kfs.sys.businessobject.AccountingLineBase
public abstract class AccountingLineBase
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.
| 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 |
|---|
protected String financialDocumentLineTypeCode
protected String financialDocumentLineDescription
protected boolean salesTaxRequired
| Constructor Detail |
|---|
public AccountingLineBase()
| Method Detail |
|---|
public Account getAccount()
getAccount in interface GeneralLedgerPendingEntrySourceDetailpublic void setAccount(Account account)
setAccount in interface AccountingLineaccount - The account to set.public Chart getChart()
getChart in interface AccountingLinepublic void setChart(Chart chart)
setChart in interface AccountingLinechart - The chartOfAccountsCode to set.public String getDocumentNumber()
getDocumentNumber in interface GeneralLedgerPendingEntrySourceDetailpublic org.kuali.rice.kns.util.KualiDecimal getAmount()
getAmount in interface GeneralLedgerPendingEntrySourceDetailpublic void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
setAmount in interface AccountingLineamount - The amount to set.public BalanceType getBalanceTyp()
getBalanceTyp in interface AccountingLinepublic void setBalanceTyp(BalanceType balanceTyp)
setBalanceTyp in interface AccountingLinebalanceTyp - The balanceTyp to set.public ObjectCode getObjectCode()
getObjectCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setObjectCode(ObjectCode objectCode)
setObjectCode in interface AccountingLineobjectCode - The objectCode to set.public String getReferenceOriginCode()
getReferenceOriginCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setReferenceOriginCode(String originCode)
setReferenceOriginCode in interface AccountingLineoriginCode - The referenceOriginCode to set.public OriginationCode getReferenceOrigin()
getReferenceOrigin in interface AccountingLinepublic void setReferenceOrigin(OriginationCode referenceOrigin)
setReferenceOrigin in interface AccountingLinereferenceOrigin - public org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
getReferenceFinancialSystemDocumentTypeCode in interface AccountingLinepublic String getOrganizationReferenceId()
getOrganizationReferenceId in interface GeneralLedgerPendingEntrySourceDetailpublic void setOrganizationReferenceId(String organizationReferenceId)
setOrganizationReferenceId in interface AccountingLineorganizationReferenceId - The organizationReferenceId to set.public String getOverrideCode()
getOverrideCode in interface AccountingLinepublic void setOverrideCode(String overrideCode)
setOverrideCode in interface AccountingLineoverrideCode - The overrideCode to set.public Integer getPostingYear()
getPostingYear in interface GeneralLedgerPendingEntrySourceDetailpublic void setPostingYear(Integer postingYear)
setPostingYear in interface AccountingLinepostingYear - The postingYear to set.public String getProjectCode()
getProjectCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setProjectCode(String projectCode)
setProjectCode in interface AccountingLineprojectCode - The projectCode to set.public String getReferenceNumber()
getReferenceNumber in interface GeneralLedgerPendingEntrySourceDetailpublic void setReferenceNumber(String referenceNumber)
setReferenceNumber in interface AccountingLinereferenceNumber - The referenceNumber to set.public String getReferenceTypeCode()
getReferenceTypeCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setReferenceTypeCode(String referenceTypeCode)
setReferenceTypeCode in interface AccountingLinereferenceTypeCode - The referenceTypeCode to set.public Integer getSequenceNumber()
getSequenceNumber in interface AccountingLinepublic void setSequenceNumber(Integer sequenceNumber)
setSequenceNumber in interface AccountingLinesequenceNumber - The sequenceNumber to set.public SubAccount getSubAccount()
getSubAccount in interface AccountingLinepublic void setSubAccount(SubAccount subAccount)
setSubAccount in interface AccountingLinesubAccount - The subAccount to set.public SubObjectCode getSubObjectCode()
getSubObjectCode in interface AccountingLinepublic void setSubObjectCode(SubObjectCode subObjectCode)
setSubObjectCode in interface AccountingLinesubObjectCode - The subObjectCode to set.public SalesTax getSalesTax()
getSalesTax in interface AccountingLineAccountingLine.getSalesTax()public void setSalesTax(SalesTax salesTax)
setSalesTax in interface AccountingLinesalesTax - The sales tax associated with this AccountingLineAccountingLine.setSalesTax(org.kuali.kfs.fp.businessobject.SalesTax)public boolean isSalesTaxRequired()
AccountingLine
isSalesTaxRequired in interface AccountingLineAccountingLine.isSalesTaxRequired()public void setSalesTaxRequired(boolean salesTaxRequired)
AccountingLine
setSalesTaxRequired in interface AccountingLinesalesTaxRequired - - true if requiredAccountingLine.setSalesTaxRequired(boolean)public void setDocumentNumber(String documentNumber)
setDocumentNumber in interface AccountingLinedocumentNumber - The documentNumber to set.public String getDebitCreditCode()
getDebitCreditCode in interface AccountingLinepublic void setDebitCreditCode(String debitCreditCode)
setDebitCreditCode in interface AccountingLinedebitCreditCode - public String getEncumbranceUpdateCode()
getEncumbranceUpdateCode in interface AccountingLinepublic void setEncumbranceUpdateCode(String encumbranceUpdateCode)
setEncumbranceUpdateCode in interface AccountingLineencumbranceUpdateCode - public ObjectType getObjectType()
getObjectType in interface AccountingLinepublic String getAccountNumber()
getAccountNumber in interface GeneralLedgerPendingEntrySourceDetailpublic void setAccountNumber(String accountNumber)
setAccountNumber in interface AccountingLineaccountNumber - The accountNumber to set.public String getBalanceTypeCode()
getBalanceTypeCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setBalanceTypeCode(String balanceTypeCode)
setBalanceTypeCode in interface AccountingLinebalanceTypeCode - The balanceTypeCode to set.public String getChartOfAccountsCode()
getChartOfAccountsCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setChartOfAccountsCode(String chartOfAccountsCode)
setChartOfAccountsCode in interface AccountingLinechartOfAccountsCode - The chartOfAccountsCode to set.public String getFinancialObjectCode()
getFinancialObjectCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setFinancialObjectCode(String financialObjectCode)
setFinancialObjectCode in interface AccountingLinefinancialObjectCode - The financialObjectCode to set.public String getFinancialSubObjectCode()
getFinancialSubObjectCode in interface GeneralLedgerPendingEntrySourceDetailpublic void setFinancialSubObjectCode(String financialSubObjectCode)
setFinancialSubObjectCode in interface AccountingLinefinancialSubObjectCode - The financialSubObjectCode to set.public String getObjectTypeCode()
getObjectTypeCode in interface AccountingLinepublic String getFinancialDocumentLineTypeCode()
getFinancialDocumentLineTypeCode in interface AccountingLinepublic void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
setFinancialDocumentLineTypeCode in interface AccountingLinefinancialDocumentLineTypeCode - The financialDocumentLineTypeCode to set.public ProjectCode getProject()
getProject in interface AccountingLinepublic void setProject(ProjectCode project)
setProject in interface AccountingLineproject - The project to set.public String getSubAccountNumber()
getSubAccountNumber in interface GeneralLedgerPendingEntrySourceDetailpublic void setSubAccountNumber(String subAccountNumber)
setSubAccountNumber in interface AccountingLinesubAccountNumber - The subAccountNumber to set.public String getFinancialDocumentLineDescription()
getFinancialDocumentLineDescription in interface GeneralLedgerPendingEntrySourceDetailpublic void setFinancialDocumentLineDescription(String financialDocumentLineDescription)
setFinancialDocumentLineDescription in interface AccountingLinefinancialDocumentLineDescription - The financialDocumentLineDescription to set.protected LinkedHashMap toStringMapper()
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBaseBusinessObjectBase.toStringMapper()public boolean isSourceAccountingLine()
isSourceAccountingLine in interface AccountingLineorg.kuali.rice.kns.bo.AccountingLine#isSourceAccountingLine()public boolean isTargetAccountingLine()
isTargetAccountingLine in interface AccountingLineorg.kuali.rice.kns.bo.AccountingLine#isTargetAccountingLine()public String getAccountKey()
AccountingLine
getAccountKey in interface AccountingLineorg.kuali.rice.kns.bo.AccountingLine#getAccountKey()public void copyFrom(AccountingLine other)
AccountingLine
copyFrom in interface AccountingLineorg.kuali.rice.kns.bo.AccountingLine#copyFrom(org.kuali.rice.kns.bo.AccountingLine)public boolean isLike(AccountingLine other)
isLike in interface AccountingLineorg.kuali.rice.kns.bo.AccountingLine#isLike(org.kuali.rice.kns.bo.AccountingLine)public boolean getAccountExpiredOverride()
AccountingLine
getAccountExpiredOverride in interface AccountingLineAccountingLine.getAccountExpiredOverride()public void setAccountExpiredOverride(boolean b)
setAccountExpiredOverride in interface AccountingLineb - the accountExpiredOverride to setAccountingLine.setAccountExpiredOverride(boolean)public boolean getAccountExpiredOverrideNeeded()
AccountingLine
getAccountExpiredOverrideNeeded in interface AccountingLineAccountingLine.getAccountExpiredOverrideNeeded()public void setAccountExpiredOverrideNeeded(boolean b)
setAccountExpiredOverrideNeeded in interface AccountingLineb - the accountExpiredOverrideNeeded to setAccountingLine.setAccountExpiredOverrideNeeded(boolean)public boolean isObjectBudgetOverride()
AccountingLine
isObjectBudgetOverride in interface AccountingLinepublic void setObjectBudgetOverride(boolean objectBudgetOverride)
setObjectBudgetOverride in interface AccountingLineobjectBudgetOverride - The objectBudgetOverride to set.AccountingLine.isObjectBudgetOverride()public boolean isObjectBudgetOverrideNeeded()
AccountingLine
isObjectBudgetOverrideNeeded in interface AccountingLinepublic void setObjectBudgetOverrideNeeded(boolean objectBudgetOverrideNeeded)
setObjectBudgetOverrideNeeded in interface AccountingLineobjectBudgetOverrideNeeded - The objectBudgetOverrideNeeded to set.AccountingLine.isObjectBudgetOverrideNeeded()public boolean getNonFringeAccountOverride()
AccountingLine
getNonFringeAccountOverride in interface AccountingLineorg.kuali.kfs.sys.businessobject.AccountingLine#isNonFringeAccountOverride()public void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
AccountingLine
setNonFringeAccountOverride in interface AccountingLinenonFringeAccountOverride - The nonFringeAccountOverride to set.AccountingLine.setNonFringeAccountOverride(boolean)public boolean getNonFringeAccountOverrideNeeded()
AccountingLine
getNonFringeAccountOverrideNeeded in interface AccountingLineorg.kuali.kfs.sys.businessobject.AccountingLine#isNonFringeAccountOverrideNeeded()public void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
AccountingLine
setNonFringeAccountOverrideNeeded in interface AccountingLinenonFringeAccountOverrideNeeded - The nonFringeAccountOverrideNeeded to set.AccountingLine.setNonFringeAccountOverrideNeeded(boolean)public Map getValuesMap()
getValuesMap in interface AccountingLinepublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||