org.gcube.data.spd.plugin.fwk.model
Class Taxon

java.lang.Object
  extended by org.gcube.data.spd.plugin.fwk.model.Taxon
All Implemented Interfaces:
TaxonomyInterface
Direct Known Subclasses:
ResultItem

public class Taxon
extends Object
implements TaxonomyInterface


Field Summary
protected  Taxon parent
           
 
Constructor Summary
protected Taxon()
           
  Taxon(String id)
           
  Taxon(String id, String scientificName)
           
 
Method Summary
protected static Taxon fromNode(org.gcube.data.trees.data.InnerNode node)
           
 String getCitation()
           
 String getId()
           
 Taxon getParent()
           
 String getRank()
           
 String getScientificName()
           
protected  org.gcube.data.trees.data.Tree node()
           
 void setCitation(String citation)
           
 void setId(String id)
           
 void setParent(Taxon parent)
           
 void setRank(String rank)
           
 void setScientificName(String scientificName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

protected Taxon parent
Constructor Detail

Taxon

protected Taxon()

Taxon

public Taxon(String id)

Taxon

public Taxon(String id,
             String scientificName)
Method Detail

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)

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 © 2012. All Rights Reserved.