|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.annotation.AnnotationDescription
public class AnnotationDescription
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.
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 |
---|
public AnnotationDescription(String species, String curator, String annotationType)
species
- The formal Linnaean name (genus and species) is preferredcurator
- The institute or group which maintains this annotationannotationType
- The nature of this annotation, eg, "metabolic pathway",
"molecular function", or "cellular component"Method Detail |
---|
public String getSpecies()
public String getCurator()
public String getType()
public boolean equals(Object obj)
equals
in class Object
obj
- DOCUMENT ME!
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |