org.kuali.kfs.module.purap.service.impl
Class PurapAccountRevisionGroup

java.lang.Object
  extended by org.kuali.kfs.module.purap.service.impl.PurapAccountRevisionGroup

public class PurapAccountRevisionGroup
extends Object

Purap account history grouping


Field Summary
protected  String accountNumber
           
protected  org.kuali.rice.kns.util.KualiDecimal amount
           
protected  String chartOfAccountsCode
           
protected  String financialObjectCode
           
protected  String financialSubObjectCode
           
protected  Integer itemIdentifier
           
protected  String postingPeriodCode
           
protected  Integer postingYear
           
protected  String subAccountNumber
           
 
Constructor Summary
PurapAccountRevisionGroup(PurApAccountingLineBase entry)
           
 
Method Summary
 PurApAccountingLineBase buildRevisionRecord(Class<? extends PurApAccountingLineBase> clazz)
           
 void combineEntry(PurApAccountingLineBase newEntry)
          This method will combine multiple Purap account entries for the same account line group.
 boolean equals(Object obj)
          Overridden so that group by statement can be easily implemented.
 BigDecimal getAccountLinePercent()
          Gets the accountLinePercent attribute.
 String getAccountNumber()
          Gets the accountNumber attribute.
 org.kuali.rice.kns.util.KualiDecimal getAmount()
          Gets the absAmout attribute.
 org.kuali.rice.kns.util.KualiDecimal getChangeAmount()
          Gets the changeAmount attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 String getFinancialObjectCode()
          Gets the financialObjectCode attribute.
 String getFinancialSubObjectCode()
          Gets the financialSubObjectCode attribute.
 Integer getItemIdentifier()
          Gets the itemIdentifier attribute.
 String getOrganizationReferenceId()
          Gets the organizationReferenceId attribute.
 String getPostingPeriodCode()
          Gets the postingPeriodCode attribute.
 Integer getPostingYear()
          Gets the postingYear attribute.
 String getProjectCode()
          Gets the projectCode attribute.
 String getSubAccountNumber()
          Gets the subAccountNumber attribute.
 int hashCode()
          Overridden so that group by statement can be easily implemented.
protected  String replaceFiller(String val)
           
 void setAccountLinePercent(BigDecimal accountLinePercent)
          Sets the accountLinePercent attribute value.
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute.
 void setAmount(org.kuali.rice.kns.util.KualiDecimal absAmount)
          Sets the amount attribute.
 void setChangeAmount(org.kuali.rice.kns.util.KualiDecimal changeAmount)
          Sets the changeAmount attribute value.
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode attribute.
 void setFinancialSubObjectCode(String financialSubObjectCode)
          Sets the financialSubObjectCode attribute.
 void setItemIdentifier(Integer itemIdentifier)
          Sets the itemIdentifier attribute value.
 void setOrganizationReferenceId(String organizationReferenceId)
          Sets the organizationReferenceId attribute value.
 void setPostingPeriodCode(String postingPeriodCode)
          Sets the postingPeriodCode attribute value.
 void setPostingYear(Integer postingYear)
          Sets the postingYear attribute value.
 void setProjectCode(String projectCode)
          Sets the projectCode attribute value.
 void setSubAccountNumber(String subAccountNumber)
          Sets the subAccountNumber attribute.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

chartOfAccountsCode

protected String chartOfAccountsCode

accountNumber

protected String accountNumber

subAccountNumber

protected String subAccountNumber

financialObjectCode

protected String financialObjectCode

financialSubObjectCode

protected String financialSubObjectCode

postingYear

protected Integer postingYear

postingPeriodCode

protected String postingPeriodCode

amount

protected org.kuali.rice.kns.util.KualiDecimal amount

itemIdentifier

protected Integer itemIdentifier
Constructor Detail

PurapAccountRevisionGroup

public PurapAccountRevisionGroup(PurApAccountingLineBase entry)
Method Detail

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Returns:
Returns the chartOfAccountsCode

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getAccountNumber

public String getAccountNumber()
Gets the accountNumber attribute.

Returns:
Returns the accountNumber

setAccountNumber

public void setAccountNumber(String accountNumber)
Sets the accountNumber attribute.

Parameters:
accountNumber - The accountNumber to set.

getSubAccountNumber

public String getSubAccountNumber()
Gets the subAccountNumber attribute.

Returns:
Returns the subAccountNumber

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Sets the subAccountNumber attribute.

Parameters:
subAccountNumber - The subAccountNumber to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode attribute.

Returns:
Returns the financialObjectCode

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode attribute.

Parameters:
financialObjectCode - The financialObjectCode to set.

getFinancialSubObjectCode

public String getFinancialSubObjectCode()
Gets the financialSubObjectCode attribute.

Returns:
Returns the financialSubObjectCode

setFinancialSubObjectCode

public void setFinancialSubObjectCode(String financialSubObjectCode)
Sets the financialSubObjectCode attribute.

Parameters:
financialSubObjectCode - The financialSubObjectCode to set.

getPostingYear

public Integer getPostingYear()
Gets the postingYear attribute.

Returns:
Returns the postingYear.

setPostingYear

public void setPostingYear(Integer postingYear)
Sets the postingYear attribute value.

Parameters:
postingYear - The postingYear to set.

getPostingPeriodCode

public String getPostingPeriodCode()
Gets the postingPeriodCode attribute.

Returns:
Returns the postingPeriodCode.

setPostingPeriodCode

public void setPostingPeriodCode(String postingPeriodCode)
Sets the postingPeriodCode attribute value.

Parameters:
postingPeriodCode - The postingPeriodCode to set.

equals

public boolean equals(Object obj)
Overridden so that group by statement can be easily implemented.
  • DO NOT REMOVE this method, it is critical to reconciliation process
  • Overrides:
    equals in class Object
    See Also:
    Object.equals(java.lang.Object)

    replaceFiller

    protected String replaceFiller(String val)

    hashCode

    public int hashCode()
    Overridden so that group by statement can be easily implemented.
  • DO NOT REMOVE this method, it is critical to reconciliation process
  • Overrides:
    hashCode in class Object
    See Also:
    java.lang.Object#hashCode(java.lang.Object)

    getAmount

    public org.kuali.rice.kns.util.KualiDecimal getAmount()
    Gets the absAmout attribute.

    Returns:
    Returns the absAmout

    setAmount

    public void setAmount(org.kuali.rice.kns.util.KualiDecimal absAmount)
    Sets the amount attribute.

    Parameters:
    amount - The amount to set.

    toString

    public String toString()
    Overrides:
    toString in class Object

    getItemIdentifier

    public Integer getItemIdentifier()
    Gets the itemIdentifier attribute.

    Returns:
    Returns the itemIdentifier.

    setItemIdentifier

    public void setItemIdentifier(Integer itemIdentifier)
    Sets the itemIdentifier attribute value.

    Parameters:
    itemIdentifier - The itemIdentifier to set.

    combineEntry

    public void combineEntry(PurApAccountingLineBase newEntry)
    This method will combine multiple Purap account entries for the same account line group.

    Parameters:
    entry - PurApAccountingLineBase

    getChangeAmount

    public org.kuali.rice.kns.util.KualiDecimal getChangeAmount()
    Gets the changeAmount attribute.

    Returns:
    Returns the changeAmount.

    setChangeAmount

    public void setChangeAmount(org.kuali.rice.kns.util.KualiDecimal changeAmount)
    Sets the changeAmount attribute value.

    Parameters:
    changeAmount - The changeAmount to set.

    getProjectCode

    public String getProjectCode()
    Gets the projectCode attribute.

    Returns:
    Returns the projectCode.

    setProjectCode

    public void setProjectCode(String projectCode)
    Sets the projectCode attribute value.

    Parameters:
    projectCode - The projectCode to set.

    getOrganizationReferenceId

    public String getOrganizationReferenceId()
    Gets the organizationReferenceId attribute.

    Returns:
    Returns the organizationReferenceId.

    setOrganizationReferenceId

    public void setOrganizationReferenceId(String organizationReferenceId)
    Sets the organizationReferenceId attribute value.

    Parameters:
    organizationReferenceId - The organizationReferenceId to set.

    getAccountLinePercent

    public BigDecimal getAccountLinePercent()
    Gets the accountLinePercent attribute.

    Returns:
    Returns the accountLinePercent.

    setAccountLinePercent

    public void setAccountLinePercent(BigDecimal accountLinePercent)
    Sets the accountLinePercent attribute value.

    Parameters:
    accountLinePercent - The accountLinePercent to set.

    buildRevisionRecord

    public PurApAccountingLineBase buildRevisionRecord(Class<? extends PurApAccountingLineBase> clazz)


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