org.kuali.kfs.module.endow.batch.reporter
Class ReportDocumentStatistics

java.lang.Object
  extended by org.kuali.kfs.module.endow.batch.reporter.ReportDocumentStatistics

public class ReportDocumentStatistics
extends Object


Field Summary
protected  String documentTypeName
           
protected  int numberOfDocuments
           
protected  int numberOfErrors
           
protected  int numberOfSourceTransactionLines
           
protected  int numberOfTargetTransactionLines
           
 
Constructor Summary
ReportDocumentStatistics(String documentTypeName)
          Constructs a ReportDocumentStatistics.java.
 
Method Summary
 void addNumberOfSourceTransactionLines(int numberOfSourceTransactionLines)
          Adds the specified number of source transaction lines for this document.
 void addNumberOfTargetTransactionLines(int numberOfTargetTransactionLines)
          Adds the specified number of target transaction lines for this document.
 String getDocumentTypeName()
          Gets the documentTypeName attribute.
 int getNumberOfDocuments()
          Gets the numberOfDocuments attribute.
 int getNumberOfErrors()
          Gets the numberOfErrors attribute.
 int getNumberOfSourceTransactionLines()
          Gets the numberOfSourceTransactionLines attribute.
 int getNumberOfTargetTransactionLines()
          Gets the numberOfTargetTransactionLines attribute.
 int getTotalNumberOfTransactionLines()
          This returns the total number of source and target transaction lines.
 void incrementNumberOfDocuments()
          Increments the number of documents that were generated for this by 1.
 void incrementNumberOfErrors()
          Increments the number of errors for this document by 1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfSourceTransactionLines

protected int numberOfSourceTransactionLines

numberOfTargetTransactionLines

protected int numberOfTargetTransactionLines

numberOfDocuments

protected int numberOfDocuments

numberOfErrors

protected int numberOfErrors

documentTypeName

protected String documentTypeName
Constructor Detail

ReportDocumentStatistics

public ReportDocumentStatistics(String documentTypeName)
Constructs a ReportDocumentStatistics.java.

Method Detail

getTotalNumberOfTransactionLines

public int getTotalNumberOfTransactionLines()
This returns the total number of source and target transaction lines.

Returns:

incrementNumberOfDocuments

public void incrementNumberOfDocuments()
Increments the number of documents that were generated for this by 1.


addNumberOfSourceTransactionLines

public void addNumberOfSourceTransactionLines(int numberOfSourceTransactionLines)
Adds the specified number of source transaction lines for this document.

Parameters:
numberOfSourceTransactionLines -

addNumberOfTargetTransactionLines

public void addNumberOfTargetTransactionLines(int numberOfTargetTransactionLines)
Adds the specified number of target transaction lines for this document.

Parameters:
numberOfTargetTransactionLines -

incrementNumberOfErrors

public void incrementNumberOfErrors()
Increments the number of errors for this document by 1.


getNumberOfDocuments

public int getNumberOfDocuments()
Gets the numberOfDocuments attribute.

Returns:
Returns the numberOfDocuments.

getNumberOfErrors

public int getNumberOfErrors()
Gets the numberOfErrors attribute.

Returns:
Returns the numberOfErrors.

getNumberOfSourceTransactionLines

public int getNumberOfSourceTransactionLines()
Gets the numberOfSourceTransactionLines attribute.

Returns:
Returns the numberOfSourceTransactionLines.

getNumberOfTargetTransactionLines

public int getNumberOfTargetTransactionLines()
Gets the numberOfTargetTransactionLines attribute.

Returns:
Returns the numberOfTargetTransactionLines.

getDocumentTypeName

public String getDocumentTypeName()
Gets the documentTypeName attribute.

Returns:
Returns the documentTypeName.


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