public abstract class PurApAccountingLineBase extends SourceAccountingLine implements PurApAccountingLine, Comparable
Modifier and Type | Field and Description |
---|---|
protected Integer |
accountIdentifier |
Integer |
purApSequenceNumber |
account, accountExpiredOverride, accountExpiredOverrideNeeded, accountNumber, amount, balanceTyp, balanceTypeCode, chart, chartOfAccountsCode, debitCreditCode, documentNumber, encumbranceUpdateCode, financialDocumentLineDescription, financialDocumentLineTypeCode, financialObjectCode, financialSubObjectCode, nonFringeAccountOverride, nonFringeAccountOverrideNeeded, objectBudgetOverride, objectBudgetOverrideNeeded, objectCode, organizationReferenceId, overrideCode, postingYear, project, projectCode, referenceFinancialSystemDocumentTypeCode, referenceNumber, referenceOrigin, referenceOriginCode, referenceTypeCode, salesTax, salesTaxRequired, sequenceNumber, subAccount, subAccountNumber, subObjectCode
Constructor and Description |
---|
PurApAccountingLineBase()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
accountStringsAreEqual(PurApAccountingLine accountingLine)
Compares the current accounting line values with a purap accounting line to see if both accounting lines are equal.
|
boolean |
accountStringsAreEqual(SourceAccountingLine accountingLine)
Compares the current accounting line values with a source accounting line to see if both accounting lines are equal.
|
int |
compareTo(Object arg0) |
protected void |
copyFrom(PurApAccountingLine other) |
PurApAccountingLine |
createBlankAmountsCopy()
Creates a copy of the current purap accounting line and sets the percentage and the amount to zero.
|
SourceAccountingLine |
generateSourceAccountingLine()
Creates a source accounting line from the current purap accounting line.
|
Integer |
getAccountIdentifier() |
BigDecimal |
getAccountLinePercent() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getAlternateAmountForGLEntryCreation() |
Integer |
getItemIdentifier() |
String |
getPostingPeriodCode() |
<T extends PurApItem> |
getPurapItem() |
Integer |
getPurApSequenceNumber()
Gets the purApSequenceNumber attribute.
|
Integer |
getSequenceNumber() |
String |
getString() |
Map |
getValuesMap()
Overridden to use purap doc identifier, rather than document number
|
boolean |
isEmpty()
Determines if the current purap accounting line is in an empty state.
|
void |
refreshNonUpdateableReferences() |
void |
setAccountIdentifier(Integer requisitionAccountIdentifier) |
void |
setAccountLinePercent(BigDecimal accountLinePercent) |
void |
setAlternateAmountForGLEntryCreation(org.kuali.rice.core.api.util.type.KualiDecimal alternateAmount) |
void |
setItemIdentifier(Integer requisitionItemIdentifier) |
void |
setPostingPeriodCode(String postingPeriodCode) |
void |
setPurapItem(PurApItem item)
Deprecated.
|
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
getSourceAccountQty, setSourceAccountQty
copyFrom, equals, getAccount, getAccountExpiredOverride, getAccountExpiredOverrideNeeded, getAccountKey, getAccountNumber, getAmount, getBalanceTyp, getBalanceTypeCode, getChart, getChartOfAccountsCode, getDebitCreditCode, getDocumentNumber, getEncumbranceUpdateCode, getFinancialDocumentLineDescription, getFinancialDocumentLineTypeCode, getFinancialObjectCode, getFinancialSubObjectCode, getNonFringeAccountOverride, getNonFringeAccountOverrideNeeded, getObjectCode, getObjectType, getObjectTypeCode, getOrganizationReferenceId, getOverrideCode, getPostingYear, getProject, getProjectCode, getReferenceFinancialSystemDocumentTypeCode, getReferenceNumber, getReferenceOrigin, getReferenceOriginCode, getReferenceTypeCode, getSalesTax, getSubAccount, getSubAccountNumber, getSubObjectCode, hashCode, isLike, isObjectBudgetOverride, isObjectBudgetOverrideNeeded, isSalesTaxRequired, isSourceAccountingLine, isTargetAccountingLine, setAccount, setAccountExpiredOverride, setAccountExpiredOverrideNeeded, setAccountNumber, setAmount, setBalanceTyp, setBalanceTypeCode, setChart, setChartOfAccountsCode, setDebitCreditCode, setDocumentNumber, setEncumbranceUpdateCode, setFinancialDocumentLineDescription, setFinancialDocumentLineTypeCode, setFinancialObjectCode, setFinancialSubObjectCode, setNonFringeAccountOverride, setNonFringeAccountOverrideNeeded, setObjectBudgetOverride, setObjectBudgetOverrideNeeded, setObjectCode, setOrganizationReferenceId, setOverrideCode, setPostingYear, setProject, setProjectCode, setReferenceNumber, setReferenceOrigin, setReferenceOriginCode, setReferenceTypeCode, setSalesTax, setSalesTaxRequired, setSequenceNumber, setSubAccount, setSubAccountNumber, setSubObjectCode, toString
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setSequenceNumber
copyFrom, getAccountExpiredOverride, getAccountExpiredOverrideNeeded, getAccountKey, getBalanceTyp, getChart, getDebitCreditCode, getEncumbranceUpdateCode, getFinancialDocumentLineTypeCode, getNonFringeAccountOverride, getNonFringeAccountOverrideNeeded, getObjectType, getObjectTypeCode, getOverrideCode, getProject, getReferenceFinancialSystemDocumentTypeCode, getReferenceOrigin, getSalesTax, getSubAccount, getSubObjectCode, isLike, isObjectBudgetOverride, isObjectBudgetOverrideNeeded, isSalesTaxRequired, isSourceAccountingLine, isTargetAccountingLine, setAccount, setAccountExpiredOverride, setAccountExpiredOverrideNeeded, setAccountNumber, setAmount, setBalanceTyp, setBalanceTypeCode, setChart, setChartOfAccountsCode, setDebitCreditCode, setDocumentNumber, setEncumbranceUpdateCode, setFinancialDocumentLineDescription, setFinancialDocumentLineTypeCode, setFinancialObjectCode, setFinancialSubObjectCode, setNonFringeAccountOverride, setNonFringeAccountOverrideNeeded, setObjectBudgetOverride, setObjectBudgetOverrideNeeded, setObjectCode, setOrganizationReferenceId, setOverrideCode, setPostingYear, setProject, setProjectCode, setReferenceNumber, setReferenceOrigin, setReferenceOriginCode, setReferenceTypeCode, setSalesTax, setSalesTaxRequired, setSubAccount, setSubAccountNumber, setSubObjectCode
getAccount, getAccountNumber, getAmount, getBalanceTypeCode, getChartOfAccountsCode, getDocumentNumber, getFinancialDocumentLineDescription, getFinancialObjectCode, getFinancialSubObjectCode, getObjectCode, getOrganizationReferenceId, getPostingYear, getProjectCode, getReferenceNumber, getReferenceOriginCode, getReferenceTypeCode, getSubAccountNumber
protected Integer accountIdentifier
public Integer purApSequenceNumber
public PurApAccountingLineBase()
public Integer getAccountIdentifier()
getAccountIdentifier
in interface PurApAccountingLine
public void setAccountIdentifier(Integer requisitionAccountIdentifier)
setAccountIdentifier
in interface PurApAccountingLine
public Integer getItemIdentifier()
getItemIdentifier
in interface PurApAccountingLine
public void setItemIdentifier(Integer requisitionItemIdentifier)
setItemIdentifier
in interface PurApAccountingLine
public BigDecimal getAccountLinePercent()
getAccountLinePercent
in interface PurApAccountingLine
public void setAccountLinePercent(BigDecimal accountLinePercent)
setAccountLinePercent
in interface PurApAccountingLine
public boolean isEmpty()
PurApAccountingLine
isEmpty
in interface PurApAccountingLine
PurApAccountingLine.isEmpty()
public PurApAccountingLine createBlankAmountsCopy()
PurApAccountingLine
createBlankAmountsCopy
in interface PurApAccountingLine
PurApAccountingLine.createBlankAmountsCopy()
public boolean accountStringsAreEqual(SourceAccountingLine accountingLine)
PurApAccountingLine
accountStringsAreEqual
in interface PurApAccountingLine
accountingLine
- - accounting line to comparePurApAccountingLine.accountStringsAreEqual(org.kuali.ole.sys.businessobject.SourceAccountingLine)
public boolean accountStringsAreEqual(PurApAccountingLine accountingLine)
PurApAccountingLine
accountStringsAreEqual
in interface PurApAccountingLine
accountingLine
- - accounting line to comparepublic SourceAccountingLine generateSourceAccountingLine()
PurApAccountingLine
generateSourceAccountingLine
in interface PurApAccountingLine
PurApAccountingLine.generateSourceAccountingLine()
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
toStringMapper_RICE20_REFACTORME
in class AccountingLineBase
org.kuali.ole.sys.businessobject.AccountingLineBase#toStringMapper()
public int compareTo(Object arg0)
compareTo
in interface Comparable
public String getString()
getString
in interface PurApAccountingLine
public org.kuali.rice.core.api.util.type.KualiDecimal getAlternateAmountForGLEntryCreation()
getAlternateAmountForGLEntryCreation
in interface PurApAccountingLine
public void setAlternateAmountForGLEntryCreation(org.kuali.rice.core.api.util.type.KualiDecimal alternateAmount)
setAlternateAmountForGLEntryCreation
in interface PurApAccountingLine
public Integer getSequenceNumber()
getSequenceNumber
in interface PurApAccountingLine
getSequenceNumber
in interface AccountingLine
getSequenceNumber
in class AccountingLineBase
AccountingLineBase.getSequenceNumber()
protected void copyFrom(PurApAccountingLine other)
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences
in interface org.kuali.rice.krad.bo.PersistableBusinessObject
refreshNonUpdateableReferences
in class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
public <T extends PurApItem> T getPurapItem()
getPurapItem
in interface PurApAccountingLine
@Deprecated public void setPurapItem(PurApItem item)
setPurapItem
in interface PurApAccountingLine
item
- public String getPostingPeriodCode()
getPostingPeriodCode
in interface PurApAccountingLine
public void setPostingPeriodCode(String postingPeriodCode)
setPostingPeriodCode
in interface PurApAccountingLine
public Map getValuesMap()
getValuesMap
in interface AccountingLine
getValuesMap
in class AccountingLineBase
AccountingLineBase.getValuesMap()
public Integer getPurApSequenceNumber()
getPurApSequenceNumber
in interface PurApAccountingLine
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.