edu.iastate.metnet.dao
Class ChebiOntologyName

java.lang.Object
  extended by 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

Field Summary
(package private)  java.lang.Integer chebiid
           
(package private)  NameSource nameSource
           
(package private)  java.util.Vector synonymSources
           
 
Constructor Summary
ChebiOntologyName()
           
ChebiOntologyName(java.lang.Integer chebiid)
           
 
Method Summary
 void addNameSource(NameSource nameSource)
           
 void addSynonymSources(java.util.Collection synonymSources)
           
 java.util.Vector getAllNames()
           
 java.lang.Integer getChebiid()
           
 java.lang.String getName()
          return the chebiname
 NameSource getNameSource()
           
 java.lang.String getSynonym()
          return the synonym
 java.util.Vector getSynonymSources()
           
 void setChebiid(java.lang.Integer chebiid)
           
 void setNameSource(NameSource nameSource)
           
 void setSynonymSources(java.util.Vector synonymSources)
           
 java.lang.String toString()
          for representation in the tree node model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

chebiid

java.lang.Integer chebiid

nameSource

NameSource nameSource

synonymSources

java.util.Vector synonymSources
Constructor Detail

ChebiOntologyName

public ChebiOntologyName()

ChebiOntologyName

public ChebiOntologyName(java.lang.Integer chebiid)
Method Detail

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()