public class SampleInfo extends Object implements Comparable<SampleInfo>
Constructor and Description |
---|
SampleInfo() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SampleInfo otherSample) |
String |
getBarcode()
Get the value of barcode
|
String |
getIndividualNumber() |
Set<TagValueUnit> |
getIusAttributes()
Get the value of iusAttributes
|
String |
getIusDescription()
Get the value of iusDescription
|
String |
getIusName()
Get the value of iusName
|
boolean |
getIusSkip()
Get the value of iusSkip
|
String |
getLibrarySizeCode() |
String |
getLibrarySourceTemplateType()
Get the value of librarySourceTemplateType
|
String |
getLibraryType() |
String |
getName()
Get the value of name
|
String |
getOrganismId() |
Boolean |
getPairedEnd() |
String |
getParentSample()
Get the value of parentSample
|
String |
getProjectCode() |
Set<TagValueUnit> |
getSampleAttributes()
Get the value of sampleAttributes
|
String |
getSampleDescription()
Get the value of sampleDescription
|
String |
getTargetedResequencing()
Get the value of targetedResequencing
|
String |
getTissueOrigin()
Get the value of tissueOrigin
|
String |
getTissuePreparation()
Get the value of tissuePreparation
|
String |
getTissueType()
Get the value of tissueType
|
void |
print(Appendable writer,
Metadata metadata) |
void |
setBarcode(String barcode)
Set the value of barcode
|
void |
setIndividualNumber(String individualNumber) |
void |
setIusAttribute(String tag,
String value)
Adds a new ius attribute if the tag does not exist for this ius, or changes the value of an existing ius attribute.
|
void |
setIusAttributes(Set<TagValueUnit> iusAttributes)
Set the value of iusAttributes
|
void |
setIusDescription(String iusDescription)
Set the value of iusDescription
|
void |
setIusName(String iusName)
Set the value of iusName
|
void |
setIusSkip(boolean iusSkip)
Set the value of iusSkip
|
void |
setLibrarySizeCode(String librarySizeCode)
Sets the library size code and sets the 'geo_library_size_code' attribute.
|
void |
setLibrarySourceTemplateType(String librarySourceTemplateType)
Set the value of librarySourceTemplateType sets the 'geo_library_source_template_type' attribute.
|
void |
setLibraryType(String libraryType)
Sets the library type and sets the 'geo_library_type' attribute .
|
void |
setName(String name)
Set the value of name
|
void |
setOrganismId(int organismId)
Sets the organismId, as long as the organism id is over 0.
|
void |
setPairedEnd(Boolean pairedEnd) |
void |
setProjectCode(String projectName) |
void |
setSampleAttribute(String tag,
String value)
Adds a new sample attribute if the tag does not exist for this sample, or changes the value of an existing sample attribute.
|
void |
setSampleAttributes(Set<TagValueUnit> sampleAttributes)
Set the value of sampleAttributes
|
void |
setSampleDescription(String sampleDescription)
Set the value of sampleDescription
|
void |
setTargetedResequencing(String targetedResequencing)
Set the value of targetedResequencing and sets the 'geo_targeted_resequencing' attribute.
|
void |
setTissueOrigin(String tissueOrigin)
Set the value of tissueOrigin and sets the 'geo_tissue_origin' attribute.
|
void |
setTissuePreparation(String tissuePreparation)
Set the value of tissuePreparation, and sets the 'geo_tissue_preparation' attribute.
|
void |
setTissueType(String tissueType)
Set the value of tissueType and sets the 'geo_tissue_type' attribute.
|
String |
toString() |
public String getIndividualNumber()
public void setIndividualNumber(String individualNumber)
public String getProjectCode()
public void setProjectCode(String projectName)
public boolean getIusSkip()
public void setIusSkip(boolean iusSkip)
iusSkip
- new value of iusSkippublic String getIusDescription()
public void setIusDescription(String iusDescription)
iusDescription
- new value of iusDescriptionpublic String getIusName()
public void setIusName(String iusName)
iusName
- new value of iusNamepublic String getSampleDescription()
public void setSampleDescription(String sampleDescription)
sampleDescription
- new value of sampleDescriptionpublic String getLibrarySourceTemplateType()
public void setLibrarySourceTemplateType(String librarySourceTemplateType)
librarySourceTemplateType
- new value of librarySourceTemplateTypepublic String getLibrarySizeCode()
public void setLibrarySizeCode(String librarySizeCode)
librarySizeCode
- public String getLibraryType()
public void setLibraryType(String libraryType)
libraryType
- public String getOrganismId()
public void setOrganismId(int organismId)
organismId
- public Boolean getPairedEnd()
public void setPairedEnd(Boolean pairedEnd)
public Set<TagValueUnit> getIusAttributes()
public void setIusAttribute(String tag, String value)
tag
- the key of the attributevalue
- the value of the attributepublic void setIusAttributes(Set<TagValueUnit> iusAttributes)
iusAttributes
- new value of iusAttributespublic Set<TagValueUnit> getSampleAttributes()
public void setSampleAttribute(String tag, String value)
tag
- the key of the attributevalue
- the value of the attributepublic void setSampleAttributes(Set<TagValueUnit> sampleAttributes)
sampleAttributes
- new value of sampleAttributespublic String getParentSample()
public String getBarcode()
public void setBarcode(String barcode)
barcode
- new value of barcodepublic String getTargetedResequencing()
public void setTargetedResequencing(String targetedResequencing)
targetedResequencing
- new value of targetedResequencingpublic String getTissuePreparation()
public void setTissuePreparation(String tissuePreparation)
tissuePreparation
- new value of tissuePreparationpublic String getTissueOrigin()
public void setTissueOrigin(String tissueOrigin)
tissueOrigin
- new value of tissueOriginpublic String getTissueType()
public void setTissueType(String tissueType)
tissueType
- new value of tissueTypepublic String getName()
public void setName(String name)
name
- new value of namepublic void print(Appendable writer, Metadata metadata) throws IOException
IOException
public int compareTo(SampleInfo otherSample)
compareTo
in interface Comparable<SampleInfo>
Copyright © 2015 SeqWare. All rights reserved.