|
||||||||||
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 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 compare
PurApAccountingLine.accountStringsAreEqual(org.kuali.kfs.sys.businessobject.SourceAccountingLine)
public boolean accountStringsAreEqual(PurApAccountingLine accountingLine)
PurApAccountingLine
accountStringsAreEqual
in interface PurApAccountingLine
accountingLine
- - accounting line to compare
public SourceAccountingLine generateSourceAccountingLine()
PurApAccountingLine
generateSourceAccountingLine
in interface PurApAccountingLine
PurApAccountingLine.generateSourceAccountingLine()
protected LinkedHashMap toStringMapper()
toStringMapper
in class AccountingLineBase
AccountingLineBase.toStringMapper()
public int compareTo(Object arg0)
compareTo
in interface Comparable
public String getString()
getString
in interface PurApAccountingLine
public org.kuali.rice.kns.util.KualiDecimal getAlternateAmountForGLEntryCreation()
getAlternateAmountForGLEntryCreation
in interface PurApAccountingLine
public void setAlternateAmountForGLEntryCreation(org.kuali.rice.kns.util.KualiDecimal alternateAmount)
setAlternateAmountForGLEntryCreation
in interface PurApAccountingLine
public Integer getSequenceNumber()
getSequenceNumber
in interface AccountingLine
getSequenceNumber
in class AccountingLineBase
AccountingLineBase.getSequenceNumber()
protected void copyFrom(PurApAccountingLine other)
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences
in interface org.kuali.rice.kns.bo.PersistableBusinessObject
refreshNonUpdateableReferences
in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
public <T extends PurApItem> T getPurapItem()
getPurapItem
in interface PurApAccountingLine
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |