|
||||||||||
| 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.impl.DescribableImpl
gov.nih.nci.mageom.domain.Description.impl.DescriptionImpl
public class DescriptionImpl
A free text description of an object.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected OntologyEntry[] |
annotations
DOCUMENT ME |
protected int |
annotationsCount
The count of OntologyEntry objects. |
protected static java.util.Hashtable |
associationMethods
|
protected BibliographicReference[] |
bibliographicReferences
DOCUMENT ME |
protected int |
bibliographicReferencesCount
The count of BibliographicReference objects. |
protected DatabaseEntry[] |
databaseReferences
DOCUMENT ME |
protected int |
databaseReferencesCount
The count of DatabaseEntry objects. |
protected ExternalReference |
externalReference
DOCUMENT ME |
protected java.lang.Long |
externalReferenceId
The internal ID of the associated externalReference object. |
protected java.lang.String |
text
The description. |
protected java.lang.String |
URI
A reference to the location and type of an outside resource. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
DescriptionImpl()
Default constructor |
|
| Method Summary | |
|---|---|
OntologyEntry[] |
getAnnotations()
Returns the value of this Description object's annotations attribute. |
int |
getAnnotationsCount()
Returns the count of all OntologyEntry
associated with this Description object. |
BibliographicReference[] |
getBibliographicReferences()
Returns the value of this Description object's bibliographicReferences attribute. |
int |
getBibliographicReferencesCount()
Returns the count of all BibliographicReference
associated with this Description object. |
DatabaseEntry[] |
getDatabaseReferences()
Returns the value of this Description object's databaseReferences attribute. |
int |
getDatabaseReferencesCount()
Returns the count of all DatabaseEntry
associated with this Description object. |
ExternalReference |
getExternalReference()
Returns the value of this Description object's externalReference attribute. |
java.lang.String |
getText()
Returns the value of this Description object's text attribute. |
java.lang.String |
getURI()
Returns the value of this Description object's URI attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Description[] |
searchDescriptions(DescriptionSearchCriteria criteria)
Returns an array of Description objects that
satisfy the given DescriptionSearchCriteria. |
void |
setAnnotations(OntologyEntry[] p_annotations)
Sets the annotations attribute. |
void |
setBibliographicReferences(BibliographicReference[] p_bibliographicReferences)
Sets the bibliographicReferences attribute. |
void |
setDatabaseReferences(DatabaseEntry[] p_databaseReferences)
Sets the databaseReferences attribute. |
void |
setExternalReference(ExternalReference p_externalReference)
Sets the externalReference attribute. |
void |
setText(java.lang.String p_text)
Sets the text attribute. |
void |
setURI(java.lang.String p_URI)
Sets the URI 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.DescribableImpl |
|---|
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity |
| 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.Describable |
|---|
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity |
| 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 text
protected java.lang.String URI
protected int databaseReferencesCount
protected DatabaseEntry[] databaseReferences
protected int bibliographicReferencesCount
protected BibliographicReference[] bibliographicReferences
protected ExternalReference externalReference
protected java.lang.Long externalReferenceId
protected int annotationsCount
protected OntologyEntry[] annotations
| Constructor Detail |
|---|
public DescriptionImpl()
| Method Detail |
|---|
protected void init()
init in class DescribableImpl
public Description[] searchDescriptions(DescriptionSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Description objects that
satisfy the given DescriptionSearchCriteria.
criteria - The DescriptionSearchCriteria
which represents a query for Description objects.
Description objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setText(java.lang.String p_text)
Description object.
setText in interface Descriptionp_text - The new value for text.Description.getText()public java.lang.String getText()
DescriptionDescription object's text attribute.
Description of text:
The description.
getText in interface DescriptionString The value of text.Description.getText()public void setURI(java.lang.String p_URI)
Description object.
setURI in interface Descriptionp_URI - The new value for URI.Description.getURI()public java.lang.String getURI()
DescriptionDescription object's URI attribute.
Description of URI:
A reference to the location and type of an outside resource.
getURI in interface DescriptionString The value of URI.Description.getURI()public void setDatabaseReferences(DatabaseEntry[] p_databaseReferences)
Description object.
setDatabaseReferences in interface Descriptionp_databaseReferences - The new value for databaseReferences.Description.getDatabaseReferences()public DatabaseEntry[] getDatabaseReferences()
DescriptionDescription object's databaseReferences attribute.
getDatabaseReferences in interface Descriptiongov.nih.nci.mageom.bean.Description.DatabaseEntry[] The value of databaseReferences.Description.getDatabaseReferences()public void setBibliographicReferences(BibliographicReference[] p_bibliographicReferences)
Description object.
setBibliographicReferences in interface Descriptionp_bibliographicReferences - The new value for bibliographicReferences.Description.getBibliographicReferences()public BibliographicReference[] getBibliographicReferences()
DescriptionDescription object's bibliographicReferences attribute.
getBibliographicReferences in interface Descriptiongov.nih.nci.mageom.bean.BQS.BibliographicReference[] The value of bibliographicReferences.Description.getBibliographicReferences()public void setExternalReference(ExternalReference p_externalReference)
Description object.
setExternalReference in interface Descriptionp_externalReference - The new value for externalReference.Description.getExternalReference()public ExternalReference getExternalReference()
DescriptionDescription object's externalReference attribute.
getExternalReference in interface Descriptiongov.nih.nci.mageom.bean.Description.ExternalReference The value of externalReference.Description.getExternalReference()public void setAnnotations(OntologyEntry[] p_annotations)
Description object.
setAnnotations in interface Descriptionp_annotations - The new value for annotations.Description.getAnnotations()public OntologyEntry[] getAnnotations()
DescriptionDescription object's annotations attribute.
getAnnotations in interface Descriptiongov.nih.nci.mageom.bean.Description.OntologyEntry[] The value of annotations.Description.getAnnotations()public int getDatabaseReferencesCount()
DatabaseEntry
associated with this Description object.
Description.getDatabaseReferences()public int getBibliographicReferencesCount()
BibliographicReference
associated with this Description object.
Description.getBibliographicReferences()public int getAnnotationsCount()
OntologyEntry
associated with this Description object.
Description.getAnnotations()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class DescribableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class DescribableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class DescribableImpldoc - 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 DescribableImplpublic java.lang.String toString()
toString in class DescribableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||