public class Organism extends Object implements Serializable, Comparable<Organism>, SecondTierModel
Organism class.
Constructor and Description |
---|
Organism()
Constructor for Organism.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Organism that) |
boolean |
equals(Object other) |
String |
getAccession()
Getter for the field
accession . |
String |
getCode()
Getter for the field
code . |
int |
getModelId()
Get the id for this model
|
String |
getName()
Getter for the field
name . |
Integer |
getNcbiTaxId()
Getter for the field
ncbiTaxId . |
Integer |
getOrganismId()
Getter for the field
organismId . |
int |
hashCode()
hashCode.
|
void |
setAccession(String accession)
Setter for the field
accession . |
void |
setCode(String code)
Setter for the field
code . |
void |
setName(String name)
Setter for the field
name . |
void |
setNcbiTaxId(Integer ncbiTaxId)
Setter for the field
ncbiTaxId . |
void |
setOrganismId(Integer organismId)
Setter for the field
organismId . |
String |
toString() |
public int compareTo(Organism that)
compareTo
in interface Comparable<Organism>
that
- public Integer getOrganismId()
Getter for the field organismId
.
Integer
object.public void setOrganismId(Integer organismId)
Setter for the field organismId
.
organismId
- a Integer
object.public void setName(String name)
Setter for the field name
.
name
- a String
object.public void setCode(String code)
Setter for the field code
.
code
- a String
object.public void setAccession(String accession)
Setter for the field accession
.
accession
- a String
object.public Integer getNcbiTaxId()
Getter for the field ncbiTaxId
.
Integer
object.public void setNcbiTaxId(Integer ncbiTaxId)
Setter for the field ncbiTaxId
.
ncbiTaxId
- a Integer
object.public int getModelId()
SecondTierModel
getModelId
in interface SecondTierModel
Copyright © 2015 SeqWare. All rights reserved.