public class NCBIGenomicAssemblyInfo extends Object implements Comparable<NCBIGenomicAssemblyInfo>
Constructor and Description |
---|
NCBIGenomicAssemblyInfo() |
NCBIGenomicAssemblyInfo(XMLTag inXMLTag) |
public NCBIGenomicAssemblyInfo()
public NCBIGenomicAssemblyInfo(XMLTag inXMLTag)
public static Map<NCBITaxon,List<NCBIGenomicAssemblyInfo>> extractInfoFromAssemblySummaryFile(File inFile) throws IOException, ParseException
inFile
- the assembly_summary.txt fileIOException
ParseException
public NCBIGenomicAssemblyInfo setAssemblyAccession(String inValue)
public String getAssemblyAccession()
public NCBIGenomicAssemblyInfo setBioprojectAccession(String inValue)
public String getBioprojectAccession()
public NCBIGenomicAssemblyInfo setBiosampleAccession(String inValue)
public String getBiosampleAccession()
public NCBIGenomicAssemblyInfo setWGSAccession(String inValue)
public String getWGSAccession()
public NCBIGenomicAssemblyInfo setRefSeqCategory(GenomicRefSeqCategory inValue)
public GenomicRefSeqCategory getRefSeqCategory()
public NCBIGenomicAssemblyInfo setOrganismTaxon(NCBITaxon inValue)
public NCBITaxon getOrganismTaxon()
public NCBIGenomicAssemblyInfo setSpeciesTaxon(NCBITaxon inValue)
public NCBITaxon getSpeciesTaxon()
public NCBIGenomicAssemblyInfo setInfraspecificName(String inValue)
public String getInfraspecificName()
public NCBIGenomicAssemblyInfo setIsolate(String inValue)
public String getIsolate()
public NCBIGenomicAssemblyInfo setAssemblyVersionStatus(GenomicAssemblyVersionStatus inValue)
public GenomicAssemblyVersionStatus getAssemblyVersionStatus()
public NCBIGenomicAssemblyInfo setAssemblyLevel(GenomicAssemblyLevel inValue)
public GenomicAssemblyLevel getAssemblyLevel()
public NCBIGenomicAssemblyInfo setAssemblyReleaseType(GenomicAssemblyReleaseType inValue)
public GenomicAssemblyReleaseType getAssemblyReleaseType()
public NCBIGenomicAssemblyInfo setGenomicRepresentation(GenomicRepresentation inValue)
public GenomicRepresentation getGenomicRepresentation()
public NCBIGenomicAssemblyInfo setReleaseDate(Date inValue)
public Date getReleaseDate()
public NCBIGenomicAssemblyInfo setAssemblyName(String inValue)
public String getAssemblyName()
public NCBIGenomicAssemblyInfo setSubmitter(String inValue)
public String getSubmitter()
public NCBIGenomicAssemblyInfo setGenBankRefSeqPairedAssembly(String inValue)
public String getGenBankRefSeqPairedAssembly()
public NCBIGenomicAssemblyInfo setPairedAssemblyComparison(GenomicPairedAssemblyComparison inValue)
public GenomicPairedAssemblyComparison getPairedAssemblyComparison()
public NCBIGenomicAssemblyInfo setFTP_Path(String inValue)
public String getFTP_Path()
public NCBIGenomicAssemblyInfo setExcludedFromRefSeq(boolean inValue)
public boolean getExcludedFromRefSeq()
public NCBIGenomicAssemblyInfo setRelationToTypeMaterial(GenomicRelationToTypeMaterial inValue)
public GenomicRelationToTypeMaterial getRelationToTypeMaterial()
public int compareTo(NCBIGenomicAssemblyInfo inObj2)
The implementor must ensure
sgn(x.compareTo(y)) == -sgn(y.compareTo(x))
for all x
and y
. (This
implies that x.compareTo(y)
must throw an exception iff
y.compareTo(x)
throws an exception.)
The implementor must also ensure that the relation is transitive:
(x.compareTo(y) > 0 && y.compareTo(z) > 0)
implies
x.compareTo(z) > 0
.
Finally, the implementor must ensure that x.compareTo(y)==0
implies that sgn(x.compareTo(z)) == sgn(y.compareTo(z))
, for
all z
.
It is strongly recommended, but not strictly required that
(x.compareTo(y)==0) == (x.equals(y))
. Generally speaking, any
class that implements the Comparable
interface and violates
this condition should clearly indicate this fact. The recommended
language is "Note: this class has a natural ordering that is
inconsistent with equals."
In the foregoing description, the notation
sgn(
expression)
designates the mathematical
signum function, which is defined to return one of -1
,
0
, or 1
according to whether the value of
expression is negative, zero, or positive, respectively.
compareTo
in interface Comparable<NCBIGenomicAssemblyInfo>
inObj2
- the object to be compared.ClassCastException
- if the specified object's type prevents it
from being compared to this object.
jataylor@hairyfatguy.com