org.gcube.data.spd.model.products
Class Taxon
java.lang.Object
org.gcube.data.spd.model.products.Taxon
- All Implemented Interfaces:
- TaxonomyInterface
- Direct Known Subclasses:
- ResultItem
public class Taxon
- extends Object
- implements TaxonomyInterface
parent
protected Taxon parent
Taxon
protected Taxon()
Taxon
public Taxon(String id)
Taxon
public Taxon(String id,
String scientificName)
setRank
public void setRank(String rank)
getScientificName
public String getScientificName()
- Specified by:
getScientificName in interface TaxonomyInterface
setScientificName
public void setScientificName(String scientificName)
getCitation
public String getCitation()
- Specified by:
getCitation in interface TaxonomyInterface
setCitation
public void setCitation(String citation)
setId
public void setId(String id)
getId
public String getId()
- Specified by:
getId in interface TaxonomyInterface
getRank
public String getRank()
- Specified by:
getRank in interface TaxonomyInterface
getParent
public Taxon getParent()
- Specified by:
getParent in interface TaxonomyInterface
setParent
public void setParent(Taxon parent)
getAuthor
public String getAuthor()
- Specified by:
getAuthor in interface TaxonomyInterface
setAuthor
public void setAuthor(String author)
getCredits
public String getCredits()
- Specified by:
getCredits in interface TaxonomyInterface
setCredits
public void setCredits(String credits)
getLsid
public String getLsid()
- Specified by:
getLsid in interface TaxonomyInterface
setLsid
public void setLsid(String lsid)
node
protected org.gcube.data.trees.data.Tree node()
fromNode
protected static Taxon fromNode(org.gcube.data.trees.data.InnerNode node)
throws Exception
- Throws:
Exception
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.