|
||||||||||
| 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
org.kuali.kfs.sys.businessobject.SourceAccountingLine
org.kuali.kfs.module.purap.businessobject.PurApAccountingLineBase
public abstract class PurApAccountingLineBase
Purap Accounting Line Base Business Object.
| Field Summary | |
|---|---|
protected Integer |
accountIdentifier
|
| Fields inherited from class org.kuali.kfs.sys.businessobject.AccountingLineBase |
|---|
financialDocumentLineDescription, financialDocumentLineTypeCode, salesTaxRequired |
| Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
|---|
extension, versionNumber |
| Constructor Summary | |
|---|---|
PurApAccountingLineBase()
|
|
| Method Summary | ||
|---|---|---|
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.kns.util.KualiDecimal |
getAlternateAmountForGLEntryCreation()
|
|
Integer |
getItemIdentifier()
|
|
String |
getPostingPeriodCode()
|
|
|
getPurapItem()
|
|
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.kns.util.KualiDecimal alternateAmount)
|
|
void |
setItemIdentifier(Integer requisitionItemIdentifier)
|
|
void |
setPostingPeriodCode(String postingPeriodCode)
|
|
void |
setPurapItem(PurApItem item)
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, 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.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, 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 Integer accountIdentifier
| Constructor Detail |
|---|
public PurApAccountingLineBase()
| Method Detail |
|---|
public Integer getAccountIdentifier()
getAccountIdentifier in interface PurApAccountingLinepublic void setAccountIdentifier(Integer requisitionAccountIdentifier)
setAccountIdentifier in interface PurApAccountingLinepublic Integer getItemIdentifier()
getItemIdentifier in interface PurApAccountingLinepublic void setItemIdentifier(Integer requisitionItemIdentifier)
setItemIdentifier in interface PurApAccountingLinepublic BigDecimal getAccountLinePercent()
getAccountLinePercent in interface PurApAccountingLinepublic void setAccountLinePercent(BigDecimal accountLinePercent)
setAccountLinePercent in interface PurApAccountingLinepublic boolean isEmpty()
PurApAccountingLine
isEmpty in interface PurApAccountingLinePurApAccountingLine.isEmpty()public PurApAccountingLine createBlankAmountsCopy()
PurApAccountingLine
createBlankAmountsCopy in interface PurApAccountingLinePurApAccountingLine.createBlankAmountsCopy()public boolean accountStringsAreEqual(SourceAccountingLine accountingLine)
PurApAccountingLine
accountStringsAreEqual in interface PurApAccountingLineaccountingLine - - accounting line to compare
PurApAccountingLine.accountStringsAreEqual(org.kuali.kfs.sys.businessobject.SourceAccountingLine)public boolean accountStringsAreEqual(PurApAccountingLine accountingLine)
PurApAccountingLine
accountStringsAreEqual in interface PurApAccountingLineaccountingLine - - accounting line to compare
public SourceAccountingLine generateSourceAccountingLine()
PurApAccountingLine
generateSourceAccountingLine in interface PurApAccountingLinePurApAccountingLine.generateSourceAccountingLine()protected LinkedHashMap toStringMapper()
toStringMapper in class AccountingLineBaseAccountingLineBase.toStringMapper()public int compareTo(Object arg0)
compareTo in interface Comparablepublic String getString()
getString in interface PurApAccountingLinepublic org.kuali.rice.kns.util.KualiDecimal getAlternateAmountForGLEntryCreation()
getAlternateAmountForGLEntryCreation in interface PurApAccountingLinepublic void setAlternateAmountForGLEntryCreation(org.kuali.rice.kns.util.KualiDecimal alternateAmount)
setAlternateAmountForGLEntryCreation in interface PurApAccountingLinepublic Integer getSequenceNumber()
getSequenceNumber in interface AccountingLinegetSequenceNumber in class AccountingLineBaseAccountingLineBase.getSequenceNumber()protected void copyFrom(PurApAccountingLine other)
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences in interface org.kuali.rice.kns.bo.PersistableBusinessObjectrefreshNonUpdateableReferences in class org.kuali.rice.kns.bo.PersistableBusinessObjectBasepublic <T extends PurApItem> T getPurapItem()
getPurapItem in interface PurApAccountingLinepublic void setPurapItem(PurApItem item)
setPurapItem in interface PurApAccountingLineitem - public String getPostingPeriodCode()
getPostingPeriodCode in interface PurApAccountingLinepublic void setPostingPeriodCode(String postingPeriodCode)
setPostingPeriodCode in interface PurApAccountingLinepublic Map getValuesMap()
getValuesMap in interface AccountingLinegetValuesMap in class AccountingLineBaseAccountingLineBase.getValuesMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||