org.gcube.data.spd.model.products
Class Taxon

java.lang.Object
  extended by org.gcube.data.spd.model.products.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 getAuthor()
           
 String getCitation()
           
 String getCredits()
           
 String getId()
           
 String getLsid()
           
 Taxon getParent()
           
 String getRank()
           
 String getScientificName()
           
protected  org.gcube.data.trees.data.Tree node()
           
 void setAuthor(String author)
           
 void setCitation(String citation)
           
 void setCredits(String credits)
           
 void setId(String id)
           
 void setLsid(String lsid)
           
 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)

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.