org.kuali.kfs.module.cab.businessobject
Class GlAccountLineGroup

java.lang.Object
  extended by org.kuali.kfs.module.cab.businessobject.AccountLineGroup
      extended by org.kuali.kfs.module.cab.businessobject.GlAccountLineGroup

public class GlAccountLineGroup
extends AccountLineGroup

Accounting line grouped data for GL Line


Field Summary
 
Fields inherited from class org.kuali.kfs.module.cab.businessobject.AccountLineGroup
accountNumber, amount, chartOfAccountsCode, documentNumber, financialObjectCode, financialSubObjectCode, organizationReferenceId, projectCode, referenceFinancialDocumentNumber, subAccountNumber, universityFiscalPeriodCode, universityFiscalYear
 
Constructor Summary
GlAccountLineGroup(Entry entry)
          Constructs a GlAccountLineGroup from a GL Line Entry
 
Method Summary
 void combineEntry(Entry newEntry)
          This method will combine multiple GL entries for the same account line group, so that m:n association is prevented in the database.
 List<PurApAccountingLineBase> getMatchedPurApAcctLines()
          Gets the matchedPurApAcctLines attribute.
 List<Entry> getSourceEntries()
          Gets the sourceEntries attribute.
 Entry getTargetEntry()
          Gets the targetEntry attribute.
 boolean isAccounted(Entry entry)
          Returns true if input GL entry belongs to this account group
 void setMatchedPurApAcctLines(List<PurApAccountingLineBase> matchedPurApAcctLines)
          Sets the matchedPurApAcctLines attribute value.
 void setSourceEntries(List<Entry> sourceGlEntries)
          Sets the sourceEntries attribute.
 void setTargetEntry(Entry targetGlEntry)
          Sets the targetEntry attribute.
 
Methods inherited from class org.kuali.kfs.module.cab.businessobject.AccountLineGroup
equals, getAccountNumber, getAmount, getChartOfAccountsCode, getDocumentNumber, getFinancialObjectCode, getFinancialSubObjectCode, getOrganizationReferenceId, getProjectCode, getReferenceFinancialDocumentNumber, getSubAccountNumber, getUniversityFiscalPeriodCode, getUniversityFiscalYear, hashCode, setAccountNumber, setAmount, setChartOfAccountsCode, setDocumentNumber, setFinancialObjectCode, setFinancialSubObjectCode, setOrganizationReferenceId, setProjectCode, setReferenceFinancialDocumentNumber, setSubAccountNumber, setUniversityFiscalPeriodCode, setUniversityFiscalYear, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlAccountLineGroup

public GlAccountLineGroup(Entry entry)
Constructs a GlAccountLineGroup from a GL Line Entry

Parameters:
entry - GL Line
Method Detail

isAccounted

public boolean isAccounted(Entry entry)
Returns true if input GL entry belongs to this account group

Parameters:
entry - Entry
Returns:
true if Entry belongs to same account line group

combineEntry

public void combineEntry(Entry newEntry)
This method will combine multiple GL entries for the same account line group, so that m:n association is prevented in the database. This could be a rare case that we need to address. First GL is used as the final target and rest of the GL entries are adjusted.

Parameters:
entry -

getTargetEntry

public Entry getTargetEntry()
Gets the targetEntry attribute.

Returns:
Returns the targetEntry

setTargetEntry

public void setTargetEntry(Entry targetGlEntry)
Sets the targetEntry attribute.

Parameters:
targetEntry - The targetEntry to set.

getSourceEntries

public List<Entry> getSourceEntries()
Gets the sourceEntries attribute.

Returns:
Returns the sourceEntries

setSourceEntries

public void setSourceEntries(List<Entry> sourceGlEntries)
Sets the sourceEntries attribute.

Parameters:
sourceEntries - The sourceEntries to set.

getMatchedPurApAcctLines

public List<PurApAccountingLineBase> getMatchedPurApAcctLines()
Gets the matchedPurApAcctLines attribute.

Returns:
Returns the matchedPurApAcctLines.

setMatchedPurApAcctLines

public void setMatchedPurApAcctLines(List<PurApAccountingLineBase> matchedPurApAcctLines)
Sets the matchedPurApAcctLines attribute value.

Parameters:
matchedPurApAcctLines - The matchedPurApAcctLines to set.


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