edu.iastate.metnet.dao
Class ChebiOntologyName
java.lang.Object
edu.iastate.metnet.dao.ChebiOntologyName
- All Implemented Interfaces:
- java.io.Serializable
public class ChebiOntologyName
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Jie Li
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
chebiid
java.lang.Integer chebiid
nameSource
NameSource nameSource
synonymSources
java.util.Vector synonymSources
ChebiOntologyName
public ChebiOntologyName()
ChebiOntologyName
public ChebiOntologyName(java.lang.Integer chebiid)
getChebiid
public java.lang.Integer getChebiid()
- Returns:
- Returns the chebiid.
setChebiid
public void setChebiid(java.lang.Integer chebiid)
- Parameters:
chebiid - The chebiid to set.
toString
public java.lang.String toString()
- for representation in the tree node model
- Overrides:
toString in class java.lang.Object
getNameSource
public NameSource getNameSource()
- Returns:
- Returns the nameSource.
setNameSource
public void setNameSource(NameSource nameSource)
- Parameters:
nameSource - The nameSource to set.
addNameSource
public void addNameSource(NameSource nameSource)
getSynonymSources
public java.util.Vector getSynonymSources()
- Returns:
- Returns the synonymSources.
setSynonymSources
public void setSynonymSources(java.util.Vector synonymSources)
- Parameters:
synonymSources - The synonymSources to set.
addSynonymSources
public void addSynonymSources(java.util.Collection synonymSources)
getName
public java.lang.String getName()
- return the chebiname
- Returns:
- chebi name
getSynonym
public java.lang.String getSynonym()
- return the synonym
- Returns:
- the chebi synonym
getAllNames
public java.util.Vector getAllNames()