org.kuali.kfs.module.purap.businessobject
Interface PurApAccountingLine

All Superinterfaces:
AccountingLine, org.kuali.rice.kns.bo.BusinessObject, GeneralLedgerPendingEntrySourceDetail, org.kuali.rice.kns.bo.PersistableBusinessObject, org.apache.ojb.broker.PersistenceBrokerAware, Serializable
All Known Implementing Classes:
AccountsPayableSummaryAccount, CreditMemoAccount, CreditMemoAccountRevision, PaymentRequestAccount, PaymentRequestAccountRevision, PurApAccountingLineBase, PurchaseOrderAccount, RequisitionAccount

public interface PurApAccountingLine
extends AccountingLine

Purap Accounting Line Interface.


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.
 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()
           
<T extends PurApItem>
T
getPurapItem()
           
 String getString()
           
 boolean isEmpty()
          Determines if the current purap accounting line is in an empty state.
 void setAccountIdentifier(Integer accountIdentifier)
           
 void setAccountLinePercent(BigDecimal accountLinePercent)
           
 void setAlternateAmountForGLEntryCreation(org.kuali.rice.kns.util.KualiDecimal alternateAmountForGLEntryCreation)
           
 void setItemIdentifier(Integer itemIdentifier)
           
 void setPostingPeriodCode(String postingPeriodCode)
           
 void setPurapItem(PurApItem item)
           
 
Methods inherited from interface org.kuali.kfs.sys.businessobject.AccountingLine
copyFrom, getAccountExpiredOverride, getAccountExpiredOverrideNeeded, getAccountKey, getBalanceTyp, getChart, getDebitCreditCode, getEncumbranceUpdateCode, getFinancialDocumentLineTypeCode, getNonFringeAccountOverride, getNonFringeAccountOverrideNeeded, getObjectType, getObjectTypeCode, getOverrideCode, getProject, getReferenceFinancialSystemDocumentTypeCode, getReferenceOrigin, getSalesTax, getSequenceNumber, getSubAccount, getSubObjectCode, getValuesMap, 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
 
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

getAccountIdentifier

Integer getAccountIdentifier()

setAccountIdentifier

void setAccountIdentifier(Integer accountIdentifier)

getItemIdentifier

Integer getItemIdentifier()

setItemIdentifier

void setItemIdentifier(Integer itemIdentifier)

getAccountLinePercent

BigDecimal getAccountLinePercent()

setAccountLinePercent

void setAccountLinePercent(BigDecimal accountLinePercent)

isEmpty

boolean isEmpty()
Determines if the current purap accounting line is in an empty state.

Returns:
boolean - true if empty state

createBlankAmountsCopy

PurApAccountingLine createBlankAmountsCopy()
Creates a copy of the current purap accounting line and sets the percentage and the amount to zero.

Returns:
- purap accounting line copy with blank percent and amount

accountStringsAreEqual

boolean accountStringsAreEqual(SourceAccountingLine accountingLine)
Compares the current accounting line values with a source accounting line to see if both accounting lines are equal.

Parameters:
accountingLine - - accounting line to compare
Returns:
boolean - true if passed in and current accounting line are equal, false otherwise

accountStringsAreEqual

boolean accountStringsAreEqual(PurApAccountingLine accountingLine)
Compares the current accounting line values with a purap accounting line to see if both accounting lines are equal.

Parameters:
accountingLine - - accounting line to compare
Returns:
boolean - true if passed in and current accounting line are equal, false otherwise

generateSourceAccountingLine

SourceAccountingLine generateSourceAccountingLine()
Creates a source accounting line from the current purap accounting line.

Returns:
- source accounting line based on current purap accounting line

getAlternateAmountForGLEntryCreation

org.kuali.rice.kns.util.KualiDecimal getAlternateAmountForGLEntryCreation()

setAlternateAmountForGLEntryCreation

void setAlternateAmountForGLEntryCreation(org.kuali.rice.kns.util.KualiDecimal alternateAmountForGLEntryCreation)

getPurapItem

<T extends PurApItem> T getPurapItem()

setPurapItem

void setPurapItem(PurApItem item)

getString

String getString()

getPostingPeriodCode

String getPostingPeriodCode()

setPostingPeriodCode

void setPostingPeriodCode(String postingPeriodCode)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.