|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.biology.taxonomy.AbstractTaxon
org.jscience.biology.taxonomy.SimpleTaxon
org.jscience.biology.taxonomy.ItisTaxon
public class ItisTaxon
A taxonomic entity, represented by a scientific name and corresponding to a particular taxonomic serial numer (tsn) from ITIS. See: "http://sis.agr.gc.ca/itis" for details.
| Field Summary |
|---|
| Fields inherited from class org.jscience.biology.taxonomy.SimpleTaxon |
|---|
children, parent |
| Constructor Summary | |
|---|---|
ItisTaxon()
construct an instance of the Taxon class, manually setting the attributes instead of getting them from an XML stream |
|
ItisTaxon(java.lang.String scientificName,
java.lang.String commonName)
construct an instance of the Taxon class, manually setting the attributes instead of getting them from an XML stream |
|
| Method Summary | |
|---|---|
void |
addChildTsn(long childTsn)
method to add to the list of child TSNs |
void |
addSynonymTsn(long synonymTsn)
method to add to the list of synonym TSNs |
void |
addVernacularName(java.lang.String name)
method to add to the list of vernacular names |
java.util.Vector |
getChildTsn()
Accessor method to return Vector of child TSNs |
java.lang.String |
getCommonName()
DOCUMENT ME! |
long |
getParentTsn()
Accessor method to return the parent taxon |
java.util.Vector |
getSynonymTsn()
Accessor method to return Vector of synonym TSNs |
java.lang.String |
getTaxonAuthor()
Accessor method to return the author name |
java.lang.String |
getTaxonRank()
Accessor method to return the taxon rank |
long |
getTsn()
Accessor method to return the tsn |
java.util.Vector |
getVernacularNames()
Accessor method to return Vector of vernacular names |
boolean |
hasChildList()
Accessor method to return hasChildList flag |
boolean |
isDataComplete()
Accessor method to return dataComplete flag |
void |
setCommonName(java.lang.String commonName)
DOCUMENT ME! |
void |
setDataComplete(boolean isComplete)
method to set the dataComplete flag |
void |
setHasChildList(boolean hasChildList)
method to set the hasChildList flag |
void |
setParentTsn(long parentTsn)
method to set the parent taxon |
void |
setTaxonAuthor(java.lang.String taxonAuthor)
method to set the author name |
void |
setTaxonRank(java.lang.String taxonRank)
method to set the taxon rank |
void |
setTsn(long tsn)
method to set the tsn of this taxon |
| Methods inherited from class org.jscience.biology.taxonomy.SimpleTaxon |
|---|
getChildren, getParent, isLeaf, isRoot |
| Methods inherited from class org.jscience.biology.taxonomy.AbstractTaxon |
|---|
equals, getAppearance, getExtendedName, getExtinction, getScientificName, setAppearance, setExtinction, setScientificName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ItisTaxon()
public ItisTaxon(java.lang.String scientificName,
java.lang.String commonName)
| Method Detail |
|---|
public java.lang.String getCommonName()
getCommonName in interface TaxongetCommonName in class AbstractTaxonpublic void setCommonName(java.lang.String commonName)
setCommonName in class AbstractTaxoncommonName - DOCUMENT ME!
java.lang.UnsupportedOperationException - DOCUMENT ME!public long getTsn()
public void setTsn(long tsn)
tsn - DOCUMENT ME!public java.lang.String getTaxonRank()
public void setTaxonRank(java.lang.String taxonRank)
taxonRank - DOCUMENT ME!public long getParentTsn()
public void setParentTsn(long parentTsn)
parentTsn - DOCUMENT ME!public java.util.Vector getChildTsn()
public void addChildTsn(long childTsn)
childTsn - DOCUMENT ME!public java.util.Vector getSynonymTsn()
public void addSynonymTsn(long synonymTsn)
synonymTsn - DOCUMENT ME!public boolean isDataComplete()
public void setDataComplete(boolean isComplete)
isComplete - DOCUMENT ME!public boolean hasChildList()
public void setHasChildList(boolean hasChildList)
hasChildList - DOCUMENT ME!public java.util.Vector getVernacularNames()
public void addVernacularName(java.lang.String name)
name - DOCUMENT ME!public java.lang.String getTaxonAuthor()
public void setTaxonAuthor(java.lang.String taxonAuthor)
taxonAuthor - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||