|
||||||||||
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 GeneralLedgerPendingEntrySourceDetail
public void setAccount(Account account)
setAccount
in interface AccountingLine
account
- The account to set.public Chart getChart()
getChart
in interface AccountingLine
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.kns.util.KualiDecimal getAmount()
getAmount
in interface GeneralLedgerPendingEntrySourceDetail
public void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
setAmount
in interface AccountingLine
amount
- The amount to set.public BalanceType getBalanceTyp()
getBalanceTyp
in interface AccountingLine
public void setBalanceTyp(BalanceType balanceTyp)
setBalanceTyp
in interface AccountingLine
balanceTyp
- The balanceTyp to set.public ObjectCode getObjectCode()
getObjectCode
in interface GeneralLedgerPendingEntrySourceDetail
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
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
public void setSubAccount(SubAccount subAccount)
setSubAccount
in interface AccountingLine
subAccount
- The subAccount to set.public SubObjectCode getSubObjectCode()
getSubObjectCode
in interface AccountingLine
public void setSubObjectCode(SubObjectCode subObjectCode)
setSubObjectCode
in interface AccountingLine
subObjectCode
- The subObjectCode to set.public SalesTax getSalesTax()
getSalesTax
in interface AccountingLine
AccountingLine.getSalesTax()
public void setSalesTax(SalesTax salesTax)
setSalesTax
in interface AccountingLine
salesTax
- The sales tax associated with this AccountingLineAccountingLine.setSalesTax(org.kuali.kfs.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
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()
toStringMapper
in class org.kuali.rice.kns.bo.BusinessObjectBase
BusinessObjectBase.toStringMapper()
public boolean isSourceAccountingLine()
isSourceAccountingLine
in interface AccountingLine
org.kuali.rice.kns.bo.AccountingLine#isSourceAccountingLine()
public boolean isTargetAccountingLine()
isTargetAccountingLine
in interface AccountingLine
org.kuali.rice.kns.bo.AccountingLine#isTargetAccountingLine()
public String getAccountKey()
AccountingLine
getAccountKey
in interface AccountingLine
org.kuali.rice.kns.bo.AccountingLine#getAccountKey()
public void copyFrom(AccountingLine other)
AccountingLine
copyFrom
in interface AccountingLine
org.kuali.rice.kns.bo.AccountingLine#copyFrom(org.kuali.rice.kns.bo.AccountingLine)
public boolean isLike(AccountingLine other)
isLike
in interface AccountingLine
org.kuali.rice.kns.bo.AccountingLine#isLike(org.kuali.rice.kns.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.kfs.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.kfs.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |