|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.Description.impl.OntologyEntryImpl
public class OntologyEntryImpl
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.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected OntologyEntry[] |
associations
DOCUMENT ME |
protected int |
associationsCount
The count of OntologyEntry objects. |
protected java.lang.String |
category
The category to which this entry belongs. |
protected java.lang.String |
description
The description of the meaning for this entry. |
protected DatabaseEntry |
ontologyReference
DOCUMENT ME |
protected java.lang.Long |
ontologyReferenceId
The internal ID of the associated ontologyReference object. |
protected java.lang.String |
value
The value for this entry in this category. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
OntologyEntryImpl()
Default constructor |
|
| Method Summary | |
|---|---|
OntologyEntry[] |
getAssociations()
Returns the value of this OntologyEntry object's associations attribute. |
int |
getAssociationsCount()
Returns the count of all OntologyEntry
associated with this OntologyEntry object. |
java.lang.String |
getCategory()
Returns the value of this OntologyEntry object's category attribute. |
java.lang.String |
getDescription()
Returns the value of this OntologyEntry object's description attribute. |
DatabaseEntry |
getOntologyReference()
Returns the value of this OntologyEntry object's ontologyReference attribute. |
java.lang.String |
getValue()
Returns the value of this OntologyEntry object's value attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
OntologyEntry[] |
searchOntologyEntries(OntologyEntrySearchCriteria criteria)
Returns an array of OntologyEntry objects that
satisfy the given OntologyEntrySearchCriteria. |
void |
setAssociations(OntologyEntry[] p_associations)
Sets the associations attribute. |
void |
setCategory(java.lang.String p_category)
Sets the category attribute. |
void |
setDescription(java.lang.String p_description)
Sets the description attribute. |
void |
setOntologyReference(DatabaseEntry p_ontologyReference)
Sets the ontologyReference attribute. |
void |
setValue(java.lang.String p_value)
Sets the value attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nci.mageom.domain.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.lang.String category
protected java.lang.String value
protected java.lang.String description
protected DatabaseEntry ontologyReference
protected java.lang.Long ontologyReferenceId
protected int associationsCount
protected OntologyEntry[] associations
| Constructor Detail |
|---|
public OntologyEntryImpl()
| Method Detail |
|---|
protected void init()
init in class ExtendableImpl
public OntologyEntry[] searchOntologyEntries(OntologyEntrySearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
OntologyEntry objects that
satisfy the given OntologyEntrySearchCriteria.
criteria - The OntologyEntrySearchCriteria
which represents a query for OntologyEntry objects.
OntologyEntry objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setCategory(java.lang.String p_category)
OntologyEntry object.
setCategory in interface OntologyEntryp_category - The new value for category.OntologyEntry.getCategory()public java.lang.String getCategory()
OntologyEntryOntologyEntry object's category attribute.
Description of category:
The category to which this entry belongs.
getCategory in interface OntologyEntryString The value of category.OntologyEntry.getCategory()public void setValue(java.lang.String p_value)
OntologyEntry object.
setValue in interface OntologyEntryp_value - The new value for value.OntologyEntry.getValue()public java.lang.String getValue()
OntologyEntryOntologyEntry object's value attribute.
Description of value:
The value for this entry in this category.
getValue in interface OntologyEntryString The value of value.OntologyEntry.getValue()public void setDescription(java.lang.String p_description)
OntologyEntry object.
setDescription in interface OntologyEntryp_description - The new value for description.OntologyEntry.getDescription()public java.lang.String getDescription()
OntologyEntryOntologyEntry object's description attribute.
Description of description:
The description of the meaning for this entry.
getDescription in interface OntologyEntryString The value of description.OntologyEntry.getDescription()public void setOntologyReference(DatabaseEntry p_ontologyReference)
OntologyEntry object.
setOntologyReference in interface OntologyEntryp_ontologyReference - The new value for ontologyReference.OntologyEntry.getOntologyReference()public DatabaseEntry getOntologyReference()
OntologyEntryOntologyEntry object's ontologyReference attribute.
getOntologyReference in interface OntologyEntrygov.nih.nci.mageom.bean.Description.DatabaseEntry The value of ontologyReference.OntologyEntry.getOntologyReference()public void setAssociations(OntologyEntry[] p_associations)
OntologyEntry object.
setAssociations in interface OntologyEntryp_associations - The new value for associations.OntologyEntry.getAssociations()public OntologyEntry[] getAssociations()
OntologyEntryOntologyEntry object's associations attribute.
getAssociations in interface OntologyEntrygov.nih.nci.mageom.bean.Description.OntologyEntry[] The value of associations.OntologyEntry.getAssociations()public int getAssociationsCount()
OntologyEntry
associated with this OntologyEntry object.
OntologyEntry.getAssociations()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class ExtendableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class ExtendableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class ExtendableImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class ExtendableImplpublic java.lang.String toString()
toString in class ExtendableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||