Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.annotation
Class AnnotationDescription

java.lang.Object
  extended by cytoscape.data.annotation.AnnotationDescription
All Implemented Interfaces:
Serializable

public class AnnotationDescription
extends Object
implements Serializable

Distinguish among different ontologies, by curator and type. For example, KEGG maintains two ontologies: metabolic pathways, and regulatory pathways. GO has three: biological process, molecular function, cellular component. This simple class captures these distinctions It will perhaps prove most useful when some data source (a biodata server, for example) contains a number of ontologies, and needs to communicate a summary of these to a client.

See Also:
Serialized Form

Constructor Summary
AnnotationDescription(String species, String curator, String annotationType)
           
 
Method Summary
 boolean equals(Object obj)
          redefine equals so that instances with the same contents are equal. this emulates the way that String equality is judged.
 String getCurator()
          DOCUMENT ME!
 String getSpecies()
          DOCUMENT ME!
 String getType()
          DOCUMENT ME!
 int hashCode()
          redefine hashCode so that instances with the same contents have the same hashCode. this will make them identical when used as the keys in HashMaps, the purpose for which they were invented.
 String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationDescription

public AnnotationDescription(String species,
                             String curator,
                             String annotationType)
Parameters:
species - The formal Linnaean name (genus and species) is preferred
curator - The institute or group which maintains this annotation
annotationType - The nature of this annotation, eg, "metabolic pathway", "molecular function", or "cellular component"
Method Detail

getSpecies

public String getSpecies()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCurator

public String getCurator()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getType

public String getType()
DOCUMENT ME!

Returns:
DOCUMENT ME!

equals

public boolean equals(Object obj)
redefine equals so that instances with the same contents are equal. this emulates the way that String equality is judged.

Overrides:
equals in class Object
Parameters:
obj - DOCUMENT ME!
Returns:
DOCUMENT ME!

hashCode

public int hashCode()
redefine hashCode so that instances with the same contents have the same hashCode. this will make them identical when used as the keys in HashMaps, the purpose for which they were invented.

Overrides:
hashCode in class Object
Returns:
DOCUMENT ME!

toString

public String toString()
DOCUMENT ME!

Overrides:
toString in class Object
Returns:
DOCUMENT ME!

www.cytoscape.org