org.ecocean.genetics
Class TissueSample

java.lang.Object
  extended by org.ecocean.DataCollectionEvent
      extended by org.ecocean.genetics.TissueSample
All Implemented Interfaces:
Serializable

public class TissueSample
extends DataCollectionEvent

See Also:
Serialized Form

Field Summary
private  String alternateSampleID
           
private  List<GeneticAnalysis> analyses
           
private  String preservationMethod
           
private  String sampleID
           
private static long serialVersionUID
           
private  String storageLabID
           
private  String tissueType
           
private static String type
           
 
Constructor Summary
TissueSample()
          Empty constructor required for JDO persistence.
TissueSample(String correspondingEncounterNumber, String sampleID)
           
TissueSample(String correspondingEncounterNumber, String sampleID, javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 void addGeneticAnalysis(GeneticAnalysis ga)
           
 String getAlternateSampleID()
           
 List<GeneticAnalysis> getGeneticAnalyses()
           
 String getHTMLString()
           
 int getNumAnalyses()
           
 String getPreservationMethod()
           
 String getSampleID()
           
 String getStorageLabID()
           
 String getTissueType()
           
 void removeGeneticAnalysis(GeneticAnalysis ga)
           
 void removeGeneticAnalysis(int ga)
           
 void setAlternateSampleID(String newID)
           
 void setPreservationMethod(String newMethod)
           
 void setStorageLabID(String newLab)
           
 void setTissueType(String newType)
           
 
Methods inherited from class org.ecocean.DataCollectionEvent
getCollectionCode, getCollectionID, getCorrespondingEncounterNumber, getDataCollectionEventID, getDatasetID, getDatasetName, getEventEndDate, getEventRemarks, getEventStartDate, getFieldNotes, getFieldNumber, getInstitutionCode, getInstitutionID, getSamplingEffort, getSamplingProtocol, getType, resetAbstractClassParameters, setCollectionCode, setCollectionID, setCorrespondingEncounterNumber, setDataCollectionEventID, setDatasetID, setDatasetName, setEventEndDate, setEventRemarks, setEventStartDate, setFieldNotes, setFieldNumber, setInstitutionCode, setInstitutionID, setSamplingEffort, setSamplingProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

type

private static String type

tissueType

private String tissueType

preservationMethod

private String preservationMethod

storageLabID

private String storageLabID

sampleID

private String sampleID

alternateSampleID

private String alternateSampleID

analyses

private List<GeneticAnalysis> analyses
Constructor Detail

TissueSample

public TissueSample()
Empty constructor required for JDO persistence. DO NOT USE


TissueSample

public TissueSample(String correspondingEncounterNumber,
                    String sampleID)

TissueSample

public TissueSample(String correspondingEncounterNumber,
                    String sampleID,
                    javax.servlet.http.HttpServletRequest request)
Method Detail

addGeneticAnalysis

public void addGeneticAnalysis(GeneticAnalysis ga)

removeGeneticAnalysis

public void removeGeneticAnalysis(GeneticAnalysis ga)

removeGeneticAnalysis

public void removeGeneticAnalysis(int ga)

getGeneticAnalyses

public List<GeneticAnalysis> getGeneticAnalyses()

getTissueType

public String getTissueType()

setTissueType

public void setTissueType(String newType)

getPreservationMethod

public String getPreservationMethod()

setPreservationMethod

public void setPreservationMethod(String newMethod)

getStorageLabID

public String getStorageLabID()

setStorageLabID

public void setStorageLabID(String newLab)

getSampleID

public String getSampleID()

getAlternateSampleID

public String getAlternateSampleID()

setAlternateSampleID

public void setAlternateSampleID(String newID)

getNumAnalyses

public int getNumAnalyses()

getHTMLString

public String getHTMLString()
Overrides:
getHTMLString in class DataCollectionEvent


Copyright © 2012. All Rights Reserved.