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, setVersionNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected 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 AccountingLine
account
- The account to set.public Chart getChart()
getChart
in interface AccountingLine
@Deprecated public void setChart(Chart chart)
setChart
in interface AccountingLine
chart
- The chartOfAccountsCode to set.public String getDocumentNumber()
getDocumentNumber
in interface GeneralLedgerPendingEntrySourceDetail
public org.kuali.rice.core.api.util.type.KualiDecimal getAmount()
getAmount
in interface GeneralLedgerPendingEntrySourceDetail
public void setAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
setAmount
in interface AccountingLine
amount
- The amount to set.public BalanceType getBalanceTyp()
getBalanceTyp
in interface AccountingLine
@Deprecated public void setBalanceTyp(BalanceType balanceTyp)
setBalanceTyp
in interface AccountingLine
balanceTyp
- The balanceTyp to set.public ObjectCode getObjectCode()
getObjectCode
in interface GeneralLedgerPendingEntrySourceDetail
@Deprecated public void setObjectCode(ObjectCode objectCode)
setObjectCode
in interface AccountingLine
objectCode
- The objectCode to set.public String getReferenceOriginCode()
getReferenceOriginCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setReferenceOriginCode(String originCode)
setReferenceOriginCode
in interface AccountingLine
originCode
- The referenceOriginCode to set.public OriginationCode getReferenceOrigin()
getReferenceOrigin
in interface AccountingLine
@Deprecated public void setReferenceOrigin(OriginationCode referenceOrigin)
setReferenceOrigin
in interface AccountingLine
referenceOrigin
- public org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
getReferenceFinancialSystemDocumentTypeCode
in interface AccountingLine
public String getOrganizationReferenceId()
getOrganizationReferenceId
in interface GeneralLedgerPendingEntrySourceDetail
public void setOrganizationReferenceId(String organizationReferenceId)
setOrganizationReferenceId
in interface AccountingLine
organizationReferenceId
- The organizationReferenceId to set.public String getOverrideCode()
getOverrideCode
in interface AccountingLine
public void setOverrideCode(String overrideCode)
setOverrideCode
in interface AccountingLine
overrideCode
- The overrideCode to set.public Integer getPostingYear()
getPostingYear
in interface GeneralLedgerPendingEntrySourceDetail
public void setPostingYear(Integer postingYear)
setPostingYear
in interface AccountingLine
postingYear
- The postingYear to set.public String getProjectCode()
getProjectCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setProjectCode(String projectCode)
setProjectCode
in interface AccountingLine
projectCode
- The projectCode to set.public String getReferenceNumber()
getReferenceNumber
in interface GeneralLedgerPendingEntrySourceDetail
public void setReferenceNumber(String referenceNumber)
setReferenceNumber
in interface AccountingLine
referenceNumber
- The referenceNumber to set.public String getReferenceTypeCode()
getReferenceTypeCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setReferenceTypeCode(String referenceTypeCode)
setReferenceTypeCode
in interface AccountingLine
referenceTypeCode
- The referenceTypeCode to set.public Integer getSequenceNumber()
getSequenceNumber
in interface AccountingLine
public void setSequenceNumber(Integer sequenceNumber)
setSequenceNumber
in interface AccountingLine
sequenceNumber
- The sequenceNumber to set.public SubAccount getSubAccount()
getSubAccount
in interface AccountingLine
@Deprecated public void setSubAccount(SubAccount subAccount)
setSubAccount
in interface AccountingLine
subAccount
- The subAccount to set.public SubObjectCode getSubObjectCode()
getSubObjectCode
in interface AccountingLine
@Deprecated public void setSubObjectCode(SubObjectCode subObjectCode)
setSubObjectCode
in interface AccountingLine
subObjectCode
- The subObjectCode to set.public SalesTax getSalesTax()
getSalesTax
in interface AccountingLine
AccountingLine.getSalesTax()
@Deprecated public void setSalesTax(SalesTax salesTax)
setSalesTax
in interface AccountingLine
salesTax
- The sales tax associated with this AccountingLineAccountingLine.setSalesTax(org.kuali.ole.fp.businessobject.SalesTax)
public boolean isSalesTaxRequired()
AccountingLine
isSalesTaxRequired
in interface AccountingLine
AccountingLine.isSalesTaxRequired()
public void setSalesTaxRequired(boolean salesTaxRequired)
AccountingLine
setSalesTaxRequired
in interface AccountingLine
salesTaxRequired
- - true if requiredAccountingLine.setSalesTaxRequired(boolean)
public void setDocumentNumber(String documentNumber)
setDocumentNumber
in interface AccountingLine
documentNumber
- The documentNumber to set.public String getDebitCreditCode()
getDebitCreditCode
in interface AccountingLine
public void setDebitCreditCode(String debitCreditCode)
setDebitCreditCode
in interface AccountingLine
debitCreditCode
- public String getEncumbranceUpdateCode()
getEncumbranceUpdateCode
in interface AccountingLine
public void setEncumbranceUpdateCode(String encumbranceUpdateCode)
setEncumbranceUpdateCode
in interface AccountingLine
encumbranceUpdateCode
- public ObjectType getObjectType()
getObjectType
in interface AccountingLine
public String getAccountNumber()
getAccountNumber
in interface GeneralLedgerPendingEntrySourceDetail
public void setAccountNumber(String accountNumber)
setAccountNumber
in interface AccountingLine
accountNumber
- The accountNumber to set.public String getBalanceTypeCode()
getBalanceTypeCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setBalanceTypeCode(String balanceTypeCode)
setBalanceTypeCode
in interface AccountingLine
balanceTypeCode
- The balanceTypeCode to set.public String getChartOfAccountsCode()
getChartOfAccountsCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setChartOfAccountsCode(String chartOfAccountsCode)
setChartOfAccountsCode
in interface AccountingLine
chartOfAccountsCode
- The chartOfAccountsCode to set.public String getFinancialObjectCode()
getFinancialObjectCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setFinancialObjectCode(String financialObjectCode)
setFinancialObjectCode
in interface AccountingLine
financialObjectCode
- The financialObjectCode to set.public String getFinancialSubObjectCode()
getFinancialSubObjectCode
in interface GeneralLedgerPendingEntrySourceDetail
public void setFinancialSubObjectCode(String financialSubObjectCode)
setFinancialSubObjectCode
in interface AccountingLine
financialSubObjectCode
- The financialSubObjectCode to set.public String getObjectTypeCode()
getObjectTypeCode
in interface AccountingLine
public String getFinancialDocumentLineTypeCode()
getFinancialDocumentLineTypeCode
in interface AccountingLine
public void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
setFinancialDocumentLineTypeCode
in interface AccountingLine
financialDocumentLineTypeCode
- The financialDocumentLineTypeCode to set.public ProjectCode getProject()
getProject
in interface AccountingLine
@Deprecated public void setProject(ProjectCode project)
setProject
in interface AccountingLine
project
- The project to set.public String getSubAccountNumber()
getSubAccountNumber
in interface GeneralLedgerPendingEntrySourceDetail
public void setSubAccountNumber(String subAccountNumber)
setSubAccountNumber
in interface AccountingLine
subAccountNumber
- The subAccountNumber to set.public String getFinancialDocumentLineDescription()
getFinancialDocumentLineDescription
in interface GeneralLedgerPendingEntrySourceDetail
public void setFinancialDocumentLineDescription(String financialDocumentLineDescription)
setFinancialDocumentLineDescription
in interface AccountingLine
financialDocumentLineDescription
- The financialDocumentLineDescription to set.protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
public boolean isSourceAccountingLine()
isSourceAccountingLine
in interface AccountingLine
org.kuali.rice.krad.bo.AccountingLine#isSourceAccountingLine()
public boolean isTargetAccountingLine()
isTargetAccountingLine
in interface AccountingLine
org.kuali.rice.krad.bo.AccountingLine#isTargetAccountingLine()
public String getAccountKey()
AccountingLine
getAccountKey
in interface AccountingLine
org.kuali.rice.krad.bo.AccountingLine#getAccountKey()
public void copyFrom(AccountingLine other)
AccountingLine
copyFrom
in interface AccountingLine
org.kuali.rice.krad.bo.AccountingLine#copyFrom(org.kuali.rice.krad.bo.AccountingLine)
public boolean isLike(AccountingLine other)
isLike
in interface AccountingLine
org.kuali.rice.krad.bo.AccountingLine#isLike(org.kuali.rice.krad.bo.AccountingLine)
public boolean getAccountExpiredOverride()
AccountingLine
getAccountExpiredOverride
in interface AccountingLine
AccountingLine.getAccountExpiredOverride()
public void setAccountExpiredOverride(boolean b)
setAccountExpiredOverride
in interface AccountingLine
b
- the accountExpiredOverride to setAccountingLine.setAccountExpiredOverride(boolean)
public boolean getAccountExpiredOverrideNeeded()
AccountingLine
getAccountExpiredOverrideNeeded
in interface AccountingLine
AccountingLine.getAccountExpiredOverrideNeeded()
public void setAccountExpiredOverrideNeeded(boolean b)
setAccountExpiredOverrideNeeded
in interface AccountingLine
b
- the accountExpiredOverrideNeeded to setAccountingLine.setAccountExpiredOverrideNeeded(boolean)
public boolean isObjectBudgetOverride()
AccountingLine
isObjectBudgetOverride
in interface AccountingLine
public void setObjectBudgetOverride(boolean objectBudgetOverride)
setObjectBudgetOverride
in interface AccountingLine
objectBudgetOverride
- The objectBudgetOverride to set.AccountingLine.isObjectBudgetOverride()
public boolean isObjectBudgetOverrideNeeded()
AccountingLine
isObjectBudgetOverrideNeeded
in interface AccountingLine
public void setObjectBudgetOverrideNeeded(boolean objectBudgetOverrideNeeded)
setObjectBudgetOverrideNeeded
in interface AccountingLine
objectBudgetOverrideNeeded
- The objectBudgetOverrideNeeded to set.AccountingLine.isObjectBudgetOverrideNeeded()
public boolean getNonFringeAccountOverride()
AccountingLine
getNonFringeAccountOverride
in interface AccountingLine
org.kuali.ole.sys.businessobject.AccountingLine#isNonFringeAccountOverride()
public void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
AccountingLine
setNonFringeAccountOverride
in interface AccountingLine
nonFringeAccountOverride
- The nonFringeAccountOverride to set.AccountingLine.setNonFringeAccountOverride(boolean)
public boolean getNonFringeAccountOverrideNeeded()
AccountingLine
getNonFringeAccountOverrideNeeded
in interface AccountingLine
org.kuali.ole.sys.businessobject.AccountingLine#isNonFringeAccountOverrideNeeded()
public void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
AccountingLine
setNonFringeAccountOverrideNeeded
in interface AccountingLine
nonFringeAccountOverrideNeeded
- The nonFringeAccountOverrideNeeded to set.AccountingLine.setNonFringeAccountOverrideNeeded(boolean)
public Map getValuesMap()
getValuesMap
in interface AccountingLine
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2004–2016 The Kuali Foundation. All rights reserved.