edu.mayo.bsi.ngsportal.shared
Class ReportData

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.shared.ReportData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Comparable<ReportData>

public class ReportData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable, Comparable<ReportData>

Class that holds all the information needed for the report to Bruce

@author Gregory Dougherty


Constructor Summary
ReportData(String runName, String readType, String appType, String sampleType, String study, Date startDate, Date endDate, long numRead, int outputGB, int gbQ30, double percentPassFilter, double percentAligned, double phiXSpikeInErrorRate, double percentQ30)
          Normal constructor
 
Method Summary
 int compareTo(ReportData other)
           
 String getAppType()
           
 Date getEndDate()
           
 int getGbQ30()
           
 long getNumRead()
           
 int getOutputGB()
           
 double getPercentAligned()
           
 double getPercentPassFilter()
           
 double getPercentQ30()
           
 double getPhiXSpikeInErrorRate()
           
 String getRunName()
           
 String getRunType()
           
 String getSampleType()
           
 Date getStartDate()
           
 String getStudy()
           
static void printCollection(Collection<ReportData> theReport, PrintStream out)
          Print out a Collection of ReportData to a PrintStream
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportData

public ReportData(String runName,
                  String readType,
                  String appType,
                  String sampleType,
                  String study,
                  Date startDate,
                  Date endDate,
                  long numRead,
                  int outputGB,
                  int gbQ30,
                  double percentPassFilter,
                  double percentAligned,
                  double phiXSpikeInErrorRate,
                  double percentQ30)
Normal constructor

Parameters:
runName -
readType -
appType -
sampleType -
study -
startDate -
endDate -
numRead -
outputGB -
gbQ30 -
percentPassFilter -
percentAligned -
phiXSpikeInErrorRate -
percentQ30 -
Method Detail

printCollection

public static void printCollection(Collection<ReportData> theReport,
                                   PrintStream out)
Print out a Collection of ReportData to a PrintStream

Parameters:
theReport - Data to print out
out - Where to write the data

getRunName

public final String getRunName()
Returns:
the runName

getRunType

public final String getRunType()
Returns:
the runType

getAppType

public final String getAppType()
Returns:
the appType

getSampleType

public final String getSampleType()
Returns:
the sampleType

getStudy

public final String getStudy()
Returns:
the study

getStartDate

public final Date getStartDate()
Returns:
the startDate

getEndDate

public final Date getEndDate()
Returns:
the endDate

getNumRead

public final long getNumRead()
Returns:
the numRead

getOutputGB

public final int getOutputGB()
Returns:
the outputGB

getGbQ30

public final int getGbQ30()
Returns:
the gbQ30

getPercentPassFilter

public final double getPercentPassFilter()
Returns:
the percentPassFilter

getPercentAligned

public final double getPercentAligned()
Returns:
the percentAligned

getPhiXSpikeInErrorRate

public final double getPhiXSpikeInErrorRate()
Returns:
the phiXSpikeInErrorRate

getPercentQ30

public final double getPercentQ30()
Returns:
the percentQ30

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(ReportData other)
Specified by:
compareTo in interface Comparable<ReportData>