public abstract class AccountingLineBase extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase implements Serializable, AccountingLine, GeneralLedgerPendingEntrySourceDetail
| Constructor and Description |
|---|
AccountingLineBase()
This constructor sets up empty instances for the dependent objects.
|
| Modifier and Type | Method and Description |
|---|---|
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.core.api.util.type.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.core.api.util.type.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.
|
String |
toString() |
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected String documentNumber
protected Integer sequenceNumber
protected Integer postingYear
protected org.kuali.rice.core.api.util.type.KualiDecimal amount
protected String referenceOriginCode
protected String referenceNumber
protected String referenceTypeCode
protected String overrideCode
protected boolean accountExpiredOverride
protected boolean accountExpiredOverrideNeeded
protected boolean nonFringeAccountOverride
protected boolean nonFringeAccountOverrideNeeded
protected boolean objectBudgetOverride
protected boolean objectBudgetOverrideNeeded
protected String organizationReferenceId
protected String debitCreditCode
protected String encumbranceUpdateCode
protected String financialDocumentLineTypeCode
protected String financialDocumentLineDescription
protected boolean salesTaxRequired
protected String chartOfAccountsCode
protected String accountNumber
protected String financialObjectCode
protected String subAccountNumber
protected String financialSubObjectCode
protected String projectCode
protected String balanceTypeCode
protected ObjectCode objectCode
protected SubAccount subAccount
protected SubObjectCode subObjectCode
protected ProjectCode project
protected BalanceType balanceTyp
protected OriginationCode referenceOrigin
protected org.kuali.rice.kew.doctype.bo.DocumentTypeEBO referenceFinancialSystemDocumentTypeCode
public AccountingLineBase()
public Account getAccount()
getAccount in interface GeneralLedgerPendingEntrySourceDetail@Deprecated public void setAccount(Account account)
setAccount in interface AccountingLineaccount - The account to set.public Chart getChart()
getChart in interface AccountingLine@Deprecated public void setChart(Chart chart)
setChart in interface AccountingLinechart - The chartOfAccountsCode to set.public String getDocumentNumber()
getDocumentNumber in interface GeneralLedgerPendingEntrySourceDetailpublic org.kuali.rice.core.api.util.type.KualiDecimal getAmount()
getAmount in interface GeneralLedgerPendingEntrySourceDetailpublic void setAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
setAmount in interface AccountingLineamount - The amount to set.public BalanceType getBalanceTyp()
getBalanceTyp in interface AccountingLine@Deprecated public void setBalanceTyp(BalanceType balanceTyp)
setBalanceTyp in interface AccountingLinebalanceTyp - The balanceTyp to set.public ObjectCode getObjectCode()
getObjectCode in interface GeneralLedgerPendingEntrySourceDetail@Deprecated public 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 AccountingLine@Deprecated public 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 AccountingLine@Deprecated public void setSubAccount(SubAccount subAccount)
setSubAccount in interface AccountingLinesubAccount - The subAccount to set.public SubObjectCode getSubObjectCode()
getSubObjectCode in interface AccountingLine@Deprecated public void setSubObjectCode(SubObjectCode subObjectCode)
setSubObjectCode in interface AccountingLinesubObjectCode - The subObjectCode to set.public SalesTax getSalesTax()
getSalesTax in interface AccountingLineAccountingLine.getSalesTax()@Deprecated public void setSalesTax(SalesTax salesTax)
setSalesTax in interface AccountingLinesalesTax - The sales tax associated with this AccountingLineAccountingLine.setSalesTax(org.kuali.ole.fp.businessobject.SalesTax)public boolean isSalesTaxRequired()
AccountingLineisSalesTaxRequired in interface AccountingLineAccountingLine.isSalesTaxRequired()public void setSalesTaxRequired(boolean salesTaxRequired)
AccountingLinesetSalesTaxRequired 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 AccountingLine@Deprecated public 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_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()public boolean isSourceAccountingLine()
isSourceAccountingLine in interface AccountingLineorg.kuali.rice.krad.bo.AccountingLine#isSourceAccountingLine()public boolean isTargetAccountingLine()
isTargetAccountingLine in interface AccountingLineorg.kuali.rice.krad.bo.AccountingLine#isTargetAccountingLine()public String getAccountKey()
AccountingLinegetAccountKey in interface AccountingLineorg.kuali.rice.krad.bo.AccountingLine#getAccountKey()public void copyFrom(AccountingLine other)
AccountingLinecopyFrom in interface AccountingLineorg.kuali.rice.krad.bo.AccountingLine#copyFrom(org.kuali.rice.krad.bo.AccountingLine)public boolean isLike(AccountingLine other)
isLike in interface AccountingLineorg.kuali.rice.krad.bo.AccountingLine#isLike(org.kuali.rice.krad.bo.AccountingLine)public boolean getAccountExpiredOverride()
AccountingLinegetAccountExpiredOverride in interface AccountingLineAccountingLine.getAccountExpiredOverride()public void setAccountExpiredOverride(boolean b)
setAccountExpiredOverride in interface AccountingLineb - the accountExpiredOverride to setAccountingLine.setAccountExpiredOverride(boolean)public boolean getAccountExpiredOverrideNeeded()
AccountingLinegetAccountExpiredOverrideNeeded in interface AccountingLineAccountingLine.getAccountExpiredOverrideNeeded()public void setAccountExpiredOverrideNeeded(boolean b)
setAccountExpiredOverrideNeeded in interface AccountingLineb - the accountExpiredOverrideNeeded to setAccountingLine.setAccountExpiredOverrideNeeded(boolean)public boolean isObjectBudgetOverride()
AccountingLineisObjectBudgetOverride in interface AccountingLinepublic void setObjectBudgetOverride(boolean objectBudgetOverride)
setObjectBudgetOverride in interface AccountingLineobjectBudgetOverride - The objectBudgetOverride to set.AccountingLine.isObjectBudgetOverride()public boolean isObjectBudgetOverrideNeeded()
AccountingLineisObjectBudgetOverrideNeeded in interface AccountingLinepublic void setObjectBudgetOverrideNeeded(boolean objectBudgetOverrideNeeded)
setObjectBudgetOverrideNeeded in interface AccountingLineobjectBudgetOverrideNeeded - The objectBudgetOverrideNeeded to set.AccountingLine.isObjectBudgetOverrideNeeded()public boolean getNonFringeAccountOverride()
AccountingLinegetNonFringeAccountOverride in interface AccountingLineorg.kuali.ole.sys.businessobject.AccountingLine#isNonFringeAccountOverride()public void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
AccountingLinesetNonFringeAccountOverride in interface AccountingLinenonFringeAccountOverride - The nonFringeAccountOverride to set.AccountingLine.setNonFringeAccountOverride(boolean)public boolean getNonFringeAccountOverrideNeeded()
AccountingLinegetNonFringeAccountOverrideNeeded in interface AccountingLineorg.kuali.ole.sys.businessobject.AccountingLine#isNonFringeAccountOverrideNeeded()public void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
AccountingLinesetNonFringeAccountOverrideNeeded 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()Copyright © 2004–2015 The Kuali Foundation. All rights reserved.