edu.mayo.bsi.ngsportal.shared
Class RunData

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.shared.RunData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class RunData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

Author:
Greg Dougherty

Constructor Summary
RunData(int id, String runName, String flowCell, String rlimsBatchID, String instrument, String primaryAnalysisStatus, Date startDate, Date instrumentCompleteDate, Date primaryCompleteDate, Date primaryQCCompleteDate, Date primaryDeliveryDate)
          Normal Constructor
 
Method Summary
 String getFlowCell()
           
 int getId()
           
 String getInstrument()
           
 Date getInstrumentCompleteDate()
           
 String getPrimaryAnalysisStatus()
           
 Date getPrimaryCompleteDate()
           
 Date getPrimaryDeliveryDate()
           
 Date getPrimaryQCCompleteDate()
           
 String getRlimsBatchID()
           
 String getRunName()
           
 Date getStartDate()
           
 void setId(int id)
          Set the run's DB ID
 String toString()
           
static String toTabHeader()
           
 String toTabString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunData

public RunData(int id,
               String runName,
               String flowCell,
               String rlimsBatchID,
               String instrument,
               String primaryAnalysisStatus,
               Date startDate,
               Date instrumentCompleteDate,
               Date primaryCompleteDate,
               Date primaryQCCompleteDate,
               Date primaryDeliveryDate)
Normal Constructor

Parameters:
id -
runName -
flowCell -
rlimsBatchID -
instrument -
primaryAnalysisStatus -
startDate -
instrumentCompleteDate -
primaryCompleteDate -
primaryQCCompleteDate -
primaryDeliveryDate -
Method Detail

getRunName

public final String getRunName()
Returns:
the runName

getFlowCell

public final String getFlowCell()
Returns:
the flowCell

getRlimsBatchID

public final String getRlimsBatchID()
Returns:
the rlimsBatchID

getInstrument

public final String getInstrument()
Returns:
the instrument

getPrimaryAnalysisStatus

public final String getPrimaryAnalysisStatus()
Returns:
the primaryAnalysisStatus

getStartDate

public final Date getStartDate()
Returns:
the startDate

getInstrumentCompleteDate

public final Date getInstrumentCompleteDate()
Returns:
the instrumentCompleteDate

getPrimaryCompleteDate

public final Date getPrimaryCompleteDate()
Returns:
the primaryCompleteDate

getPrimaryQCCompleteDate

public final Date getPrimaryQCCompleteDate()
Returns:
the primaryQCCompleteDate

getPrimaryDeliveryDate

public final Date getPrimaryDeliveryDate()
Returns:
the primaryDeliveryDate

toString

public String toString()
Overrides:
toString in class Object

toTabHeader

public static String toTabHeader()
Returns:
Tab delimited string holding the header defining what comes from toTabString() in this order:
Run Name Flow Cell Instrument RLIMS BatchID Start Date Primary Analysis Status
Instrument Complete Date Primary Complete Date Primary QC Complete Date Primary Delivery Date

toTabString

public String toTabString()
Returns:
Tab delimited string holding the run's info in this order:
Run Name Flow Cell Instrument RLIMS BatchID Start Date Primary Analysis Status
Instrument Complete Date Primary Complete Date Primary QC Complete Date Primary Delivery Date

getId

public int getId()
Returns:
The run's DB ID

setId

public void setId(int id)
Set the run's DB ID

Parameters:
id - The DB ID to use