|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountingLine
An AccountLine contains all the accounting items typically necessary to create a pending entry to the G/L. All transaction documents will use this business object inherently. Specific accounting line business rules should exist not in this implementation, but rather in the document business object that uses it.
Method Summary | |
---|---|
void |
copyFrom(AccountingLine other)
Overwrites the fields of this AccountingLine with the values of the corresponding fields of the given AccountingLine. |
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 |
BalanceType |
getBalanceTyp()
|
Chart |
getChart()
|
String |
getDebitCreditCode()
This method retrieves the debit/credit code for the accounting line. |
String |
getEncumbranceUpdateCode()
This method retrieves the encumbrance update code for the accounting line. |
String |
getFinancialDocumentLineTypeCode()
|
boolean |
getNonFringeAccountOverride()
Gets the nonFringeAccountOverride attribute. |
boolean |
getNonFringeAccountOverrideNeeded()
Gets the nonFringeAccountOverrideNeeded attribute. |
ObjectType |
getObjectType()
This method retrieves the ObjectType for the accounting line. |
String |
getObjectTypeCode()
|
String |
getOverrideCode()
|
ProjectCode |
getProject()
|
org.kuali.rice.kew.doctype.bo.DocumentTypeEBO |
getReferenceFinancialSystemDocumentTypeCode()
Gets the referenceFinancialSystemDocumentTypeCode attribute. |
OriginationCode |
getReferenceOrigin()
This method returns the object related to referenceOriginCode |
SalesTax |
getSalesTax()
|
Integer |
getSequenceNumber()
|
SubAccount |
getSubAccount()
|
SubObjectCode |
getSubObjectCode()
|
Map |
getValuesMap()
Returns a Map with the accounting line primitive field names as the key of the map and the primitive values as the value. |
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 b)
|
void |
setObjectBudgetOverrideNeeded(boolean b)
|
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)
|
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. |
Methods inherited from interface org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail |
---|
getAccount, getAccountNumber, getAmount, getBalanceTypeCode, getChartOfAccountsCode, getDocumentNumber, getFinancialDocumentLineDescription, getFinancialObjectCode, getFinancialSubObjectCode, getObjectCode, getOrganizationReferenceId, getPostingYear, getProjectCode, getReferenceNumber, getReferenceOriginCode, getReferenceTypeCode, getSubAccountNumber |
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 |
Method Detail |
---|
void setAccount(Account account)
account
- The account to set.Chart getChart()
void setChart(Chart chart)
chart
- The chartOfAccountsCode to set.void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
amount
- The amount to set.BalanceType getBalanceTyp()
void setBalanceTyp(BalanceType balanceTyp)
balanceTyp
- The balanceTyp to set.void setObjectCode(ObjectCode objectCode)
objectCode
- The objectCode to set.void setReferenceOriginCode(String originCode)
originCode
- The referenceOriginCode to set.OriginationCode getReferenceOrigin()
void setReferenceOrigin(OriginationCode referenceOrigin)
referenceOrigin
- org.kuali.rice.kew.doctype.bo.DocumentTypeEBO getReferenceFinancialSystemDocumentTypeCode()
void setOrganizationReferenceId(String organizationReferenceId)
organizationReferenceId
- The organizationReferenceId to set.String getOverrideCode()
void setOverrideCode(String overrideCode)
overrideCode
- The overrideCode to set.void setPostingYear(Integer postingYear)
postingYear
- The postingYear to set.void setProjectCode(String projectCode)
projectCode
- The projectCode to set.void setReferenceNumber(String referenceNumber)
referenceNumber
- The referenceNumber to set.void setReferenceTypeCode(String referenceTypeCode)
referenceTypeCode
- The referenceTypeCode to set.Integer getSequenceNumber()
void setSequenceNumber(Integer sequenceNumber)
sequenceNumber
- The sequenceNumber to set.SubAccount getSubAccount()
void setSubAccount(SubAccount subAccount)
subAccount
- The subAccount to set.SubObjectCode getSubObjectCode()
void setSubObjectCode(SubObjectCode subObjectCode)
subObjectCode
- The subObjectCode to set.void setDocumentNumber(String documentNumber)
documentNumber
- The documentNumber to set.String getDebitCreditCode()
void setDebitCreditCode(String debitCreditCode)
debitCreditCode
- String getEncumbranceUpdateCode()
void setEncumbranceUpdateCode(String encumbranceUpdateCode)
encumbranceUpdateCode
- ObjectType getObjectType()
void setAccountNumber(String accountNumber)
accountNumber
- The accountNumber to set.void setBalanceTypeCode(String balanceTypeCode)
balanceTypeCode
- The balanceTypeCode to set.void setChartOfAccountsCode(String chartOfAccountsCode)
chartOfAccountsCode
- The chartOfAccountsCode to set.void setFinancialObjectCode(String financialObjectCode)
financialObjectCode
- The financialObjectCode to set.void setFinancialSubObjectCode(String financialSubObjectCode)
financialSubObjectCode
- The financialSubObjectCode to set.String getObjectTypeCode()
String getFinancialDocumentLineTypeCode()
void setFinancialDocumentLineTypeCode(String financialDocumentLineTypeCode)
financialDocumentLineTypeCode
- The financialDocumentLineTypeCode to set.ProjectCode getProject()
void setProject(ProjectCode project)
project
- The project to set.void setSubAccountNumber(String subAccountNumber)
subAccountNumber
- The subAccountNumber to set.void setFinancialDocumentLineDescription(String financialDocumentLineDescription)
financialDocumentLineDescription
- The financialDocumentLineDescription to set.SalesTax getSalesTax()
void setSalesTax(SalesTax salesTax)
salesTax
- The sales tax associated with this AccountingLineboolean isSalesTaxRequired()
void setSalesTaxRequired(boolean salesTaxRequired)
salesTaxRequired
- - true if requiredboolean isSourceAccountingLine()
org.kuali.rice.kns.bo.AccountingLine#isSourceAccountingLine()
boolean isTargetAccountingLine()
org.kuali.rice.kns.bo.AccountingLine#isTargetAccountingLine()
boolean isLike(AccountingLine other)
other
-
void copyFrom(AccountingLine other)
other
- String getAccountKey()
boolean getAccountExpiredOverride()
void setAccountExpiredOverride(boolean b)
b
- the accountExpiredOverride to setgetAccountExpiredOverride()
boolean getAccountExpiredOverrideNeeded()
void setAccountExpiredOverrideNeeded(boolean b)
b
- the accountExpiredOverrideNeeded to setgetAccountExpiredOverrideNeeded()
boolean isObjectBudgetOverride()
void setObjectBudgetOverride(boolean b)
b
- the objectBudgetOverride to setisObjectBudgetOverride()
boolean isObjectBudgetOverrideNeeded()
void setObjectBudgetOverrideNeeded(boolean b)
b
- the objectBudgetOverride to setisObjectBudgetOverrideNeeded()
boolean getNonFringeAccountOverride()
void setNonFringeAccountOverride(boolean nonFringeAccountOverride)
nonFringeAccountOverride
- The nonFringeAccountOverride to set.boolean getNonFringeAccountOverrideNeeded()
void setNonFringeAccountOverrideNeeded(boolean nonFringeAccountOverrideNeeded)
nonFringeAccountOverrideNeeded
- The nonFringeAccountOverrideNeeded to set.Map getValuesMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |