org.kuali.kfs.module.ec.util
Class ExtractProcessReportDataHolder

java.lang.Object
  extended by org.kuali.kfs.module.ec.util.ExtractProcessReportDataHolder

public class ExtractProcessReportDataHolder
extends Object

To group and hold the data presented to working reports of extract process


Field Summary
static String KEY_OF_ERRORS_ENTRY
           
static String KEY_OF_STATISTICS_ENTRY
           
static String REPORT_NUMBER
           
static String REPORT_PERIOD_BEGIN
           
static String REPORT_PERIOD_END
           
static String REPORT_YEAR
           
 
Constructor Summary
ExtractProcessReportDataHolder()
          Constructs a ExtractProcessReportDataHolder.java.
ExtractProcessReportDataHolder(EffortCertificationReportDefinition reportDefinition)
          Constructs a ExtractProcessReportDataHolder.java.
 
Method Summary
 Map<String,Integer> getBasicStatistics()
          Gets the basicStatistics attribute.
 List<LedgerBalanceWithMessage> getLedgerBalancesWithMessage()
          Gets the ledgerBalancesWithMessage attribute.
 Map<String,Object> getReportData()
          Gets the reportData attribute.
 EffortCertificationReportDefinition getReportDefinition()
          Gets the reportDefinition attribute.
 void setBasicStatistics(Map<String,Integer> basicStatistics)
          Sets the basicStatistics attribute value.
 void setLedgerBalancesWithMessage(List<LedgerBalanceWithMessage> ledgerBalancesWithMessage)
          Sets the ledgerBalancesWithMessage attribute value.
 void setReportDefinition(EffortCertificationReportDefinition reportDefinition)
          Sets the reportDefinition attribute value.
 String toString()
           
 void updateBasicStatistics(String key, Integer count)
          update the value of the entry with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_OF_STATISTICS_ENTRY

public static final String KEY_OF_STATISTICS_ENTRY
See Also:
Constant Field Values

KEY_OF_ERRORS_ENTRY

public static final String KEY_OF_ERRORS_ENTRY
See Also:
Constant Field Values

REPORT_YEAR

public static final String REPORT_YEAR
See Also:
Constant Field Values

REPORT_NUMBER

public static final String REPORT_NUMBER
See Also:
Constant Field Values

REPORT_PERIOD_BEGIN

public static final String REPORT_PERIOD_BEGIN
See Also:
Constant Field Values

REPORT_PERIOD_END

public static final String REPORT_PERIOD_END
See Also:
Constant Field Values
Constructor Detail

ExtractProcessReportDataHolder

public ExtractProcessReportDataHolder()
Constructs a ExtractProcessReportDataHolder.java.


ExtractProcessReportDataHolder

public ExtractProcessReportDataHolder(EffortCertificationReportDefinition reportDefinition)
Constructs a ExtractProcessReportDataHolder.java.

Parameters:
reportDefinition -
Method Detail

updateBasicStatistics

public void updateBasicStatistics(String key,
                                  Integer count)
update the value of the entry with the given key. If the key exists, the value will be the sum of the given and existing values; otherwise, create a new entry with the key and value.

Parameters:
key - the given key
count - the given count

getReportDefinition

public EffortCertificationReportDefinition getReportDefinition()
Gets the reportDefinition attribute.

Returns:
Returns the reportDefinition.

setReportDefinition

public void setReportDefinition(EffortCertificationReportDefinition reportDefinition)
Sets the reportDefinition attribute value.

Parameters:
reportDefinition - The reportDefinition to set.

getBasicStatistics

public Map<String,Integer> getBasicStatistics()
Gets the basicStatistics attribute.

Returns:
Returns the basicStatistics.

setBasicStatistics

public void setBasicStatistics(Map<String,Integer> basicStatistics)
Sets the basicStatistics attribute value.

Parameters:
basicStatistics - The basicStatistics to set.

getLedgerBalancesWithMessage

public List<LedgerBalanceWithMessage> getLedgerBalancesWithMessage()
Gets the ledgerBalancesWithMessage attribute.

Returns:
Returns the ledgerBalancesWithMessage.

setLedgerBalancesWithMessage

public void setLedgerBalancesWithMessage(List<LedgerBalanceWithMessage> ledgerBalancesWithMessage)
Sets the ledgerBalancesWithMessage attribute value.

Parameters:
ledgerBalancesWithMessage - The ledgerBalancesWithMessage to set.

getReportData

public Map<String,Object> getReportData()
Gets the reportData attribute.

Returns:
Returns the reportData.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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