org.gcube.application.speciesmanager.stubs.model
Class ResultItem

java.lang.Object
  extended by org.gcube.application.speciesmanager.stubs.model.Taxon
      extended by org.gcube.application.speciesmanager.stubs.model.ResultItem

public class ResultItem
extends Taxon


Field Summary
 
Fields inherited from class org.gcube.application.speciesmanager.stubs.model.Taxon
parent
 
Constructor Summary
protected ResultItem()
           
  ResultItem(String id, String scientificName)
           
 
Method Summary
static ResultItem fromTree(org.gcube.data.trees.data.Tree tree)
           
 List<CommonName> getCommonNames()
           
 String getCredits()
           
 DataSet getDataSet()
           
 List<Product> getProducts()
           
 String getProvider()
           
 void setCommonNames(List<CommonName> commonNames)
           
 void setCredits(String credits)
           
 void setDataSet(DataSet dataSet)
           
 void setProducts(List<Product> products)
           
 void setProvider(String provider)
           
 String toString()
           
 org.gcube.data.trees.data.Tree toTree()
           
 
Methods inherited from class org.gcube.application.speciesmanager.stubs.model.Taxon
fromNode, getCitation, getId, getParent, getRank, getScientificName, node, setCitation, setParent, setRank, setScientificName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultItem

protected ResultItem()

ResultItem

public ResultItem(String id,
                  String scientificName)
Method Detail

getProvider

public String getProvider()

setProvider

public void setProvider(String provider)

getDataSet

public DataSet getDataSet()

setDataSet

public void setDataSet(DataSet dataSet)

getProducts

public List<Product> getProducts()

setProducts

public void setProducts(List<Product> products)

getCredits

public String getCredits()

setCredits

public void setCredits(String credits)

getCommonNames

public List<CommonName> getCommonNames()
Returns:
a Map with key language and value commonName

setCommonNames

public void setCommonNames(List<CommonName> commonNames)

toTree

public org.gcube.data.trees.data.Tree toTree()

fromTree

public static ResultItem fromTree(org.gcube.data.trees.data.Tree tree)
                           throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Taxon


Copyright © 2012. All Rights Reserved.