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

java.lang.Object
  extended by org.gcube.data.spd.model.products.TaxonomyItem
All Implemented Interfaces:
Serializable, ResultElement, TaxonomyInterface

public class TaxonomyItem
extends Object
implements ResultElement, TaxonomyInterface, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gcube.data.spd.model.products.ResultElement
ResultElement.ResultType
 
Field Summary
 Calendar modified
           
 
Constructor Summary
TaxonomyItem(String id)
           
 
Method Summary
 void addProperty(ElementProperty property)
           
 boolean equals(Object obj)
           
 String getAuthor()
           
 String getCitation()
           
 List<CommonName> getCommonNames()
           
 String getCredits()
           
 String getId()
           
 String getLsid()
           
 Calendar getModified()
           
 TaxonomyItem getParent()
           
 List<ElementProperty> getProperties()
           
 String getProvider()
           
 String getRank()
           
 String getScientificName()
           
 TaxonomyStatus getStatus()
           
 ResultElement.ResultType getType()
           
 int hashCode()
           
 void resetProperties()
           
 void setAuthor(String author)
           
 void setCitation(String citation)
           
 void setCommonNames(List<CommonName> commonNames)
           
 void setCredits(String credits)
           
 void setId(String id)
           
 void setLsid(String lsid)
           
 void setModified(Calendar modified)
           
 void setParent(TaxonomyItem parent)
           
 void setProvider(String provider)
           
 void setRank(String rank)
           
 void setScientificName(String scientificName)
           
 void setStatus(TaxonomyStatus status)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

modified

public Calendar modified
Constructor Detail

TaxonomyItem

public TaxonomyItem(String id)
Method Detail

getParent

public TaxonomyItem getParent()
Specified by:
getParent in interface TaxonomyInterface

getId

public String getId()
Specified by:
getId in interface ResultElement
Specified by:
getId in interface TaxonomyInterface

setId

public void setId(String id)

getRank

public String getRank()
Specified by:
getRank in interface TaxonomyInterface

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 ResultElement
Specified by:
getCitation in interface TaxonomyInterface

setCitation

public void setCitation(String citation)

setParent

public void setParent(TaxonomyItem parent)

getCommonNames

public List<CommonName> getCommonNames()

setCommonNames

public void setCommonNames(List<CommonName> commonNames)

getStatus

public TaxonomyStatus getStatus()

setStatus

public void setStatus(TaxonomyStatus status)

getProvider

public String getProvider()
Specified by:
getProvider in interface ResultElement

setProvider

public void setProvider(String provider)

getModified

public Calendar getModified()

setModified

public void setModified(Calendar modified)

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface ResultElement
Specified by:
getAuthor in interface TaxonomyInterface

setAuthor

public void setAuthor(String author)

getCredits

public String getCredits()
Specified by:
getCredits in interface ResultElement
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)

getType

public ResultElement.ResultType getType()
Specified by:
getType in interface ResultElement

addProperty

public void addProperty(ElementProperty property)

resetProperties

public void resetProperties()

getProperties

public List<ElementProperty> getProperties()
Specified by:
getProperties in interface ResultElement

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.