|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.biomage.Common.Extendable
|
+--org.biomage.Description.OntologyEntry
A single entry from an ontology or a controlled vocabulary. For instance, category could be 'species name', value could be 'homo sapiens' and ontology would be taxonomy database, NCBI.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected DatabaseEntry |
ontologyReference
Many ontology entries will not yet have formalized ontologies. |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
OntologyEntry()
Default constructor. |
|
OntologyEntry(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
java.lang.String |
getCategory()
Get method for category |
java.lang.String |
getDescription()
Get method for description |
DatabaseEntry |
getOntologyReference()
Get method for ontologyReference |
java.lang.String |
getValue()
Get method for value |
void |
setCategory(java.lang.String category)
Set method for category |
void |
setDescription(java.lang.String description)
Set method for description |
void |
setOntologyReference(DatabaseEntry ontologyReference)
Set method for ontologyReference |
void |
setValue(java.lang.String value)
Set method for value |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
| Methods inherited from class org.biomage.Common.Extendable |
addToPropertySets, addToPropertySets, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DatabaseEntry ontologyReference
| Constructor Detail |
public OntologyEntry()
public OntologyEntry(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Extendablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Extendablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Extendablejava.io.IOExceptionpublic void setCategory(java.lang.String category)
public java.lang.String getCategory()
public void setValue(java.lang.String value)
value - to setpublic java.lang.String getValue()
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public void setOntologyReference(DatabaseEntry ontologyReference)
setOntologyReference in interface HasOntologyReferencepublic DatabaseEntry getOntologyReference()
getOntologyReference in interface HasOntologyReference
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||