|
||||||||||
| 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.DatabaseEntryImpl
public class DatabaseEntryImpl
A reference to a record in a database.
| Field Summary | |
|---|---|
protected java.lang.String |
accession
The identifier used to look up the record. |
protected java.lang.String |
accessionVersion
The appropriate version of the accession (if applicable). |
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Database |
database
DOCUMENT ME |
protected java.lang.Long |
databaseId
The internal ID of the associated database object. |
protected OntologyEntry |
type
DOCUMENT ME |
protected java.lang.Long |
typeId
The internal ID of the associated type object. |
protected java.lang.String |
URI
The location of the record. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
DatabaseEntryImpl()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getAccession()
Returns the value of this DatabaseEntry object's accession attribute. |
java.lang.String |
getAccessionVersion()
Returns the value of this DatabaseEntry object's accessionVersion attribute. |
Database |
getDatabase()
Returns the value of this DatabaseEntry object's database attribute. |
OntologyEntry |
getType()
Returns the value of this DatabaseEntry object's type attribute. |
java.lang.String |
getURI()
Returns the value of this DatabaseEntry object's URI attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
DatabaseEntry[] |
searchDatabaseEntries(DatabaseEntrySearchCriteria criteria)
Returns an array of DatabaseEntry objects that
satisfy the given DatabaseEntrySearchCriteria. |
void |
setAccession(java.lang.String p_accession)
Sets the accession attribute. |
void |
setAccessionVersion(java.lang.String p_accessionVersion)
Sets the accessionVersion attribute. |
void |
setDatabase(Database p_database)
Sets the database attribute. |
void |
setType(OntologyEntry p_type)
Sets the type 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.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 accession
protected java.lang.String accessionVersion
protected java.lang.String URI
protected Database database
protected java.lang.Long databaseId
protected OntologyEntry type
protected java.lang.Long typeId
| Constructor Detail |
|---|
public DatabaseEntryImpl()
| Method Detail |
|---|
protected void init()
init in class ExtendableImpl
public DatabaseEntry[] searchDatabaseEntries(DatabaseEntrySearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
DatabaseEntry objects that
satisfy the given DatabaseEntrySearchCriteria.
criteria - The DatabaseEntrySearchCriteria
which represents a query for DatabaseEntry objects.
DatabaseEntry objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setAccession(java.lang.String p_accession)
DatabaseEntry object.
setAccession in interface DatabaseEntryp_accession - The new value for accession.DatabaseEntry.getAccession()public java.lang.String getAccession()
DatabaseEntryDatabaseEntry object's accession attribute.
Description of accession:
The identifier used to look up the record.
getAccession in interface DatabaseEntryString The value of accession.DatabaseEntry.getAccession()public void setAccessionVersion(java.lang.String p_accessionVersion)
DatabaseEntry object.
setAccessionVersion in interface DatabaseEntryp_accessionVersion - The new value for accessionVersion.DatabaseEntry.getAccessionVersion()public java.lang.String getAccessionVersion()
DatabaseEntryDatabaseEntry object's accessionVersion attribute.
Description of accessionVersion:
The appropriate version of the accession (if applicable).
getAccessionVersion in interface DatabaseEntryString The value of accessionVersion.DatabaseEntry.getAccessionVersion()public void setURI(java.lang.String p_URI)
DatabaseEntry object.
setURI in interface DatabaseEntryp_URI - The new value for URI.DatabaseEntry.getURI()public java.lang.String getURI()
DatabaseEntryDatabaseEntry object's URI attribute.
Description of URI:
The location of the record.
getURI in interface DatabaseEntryString The value of URI.DatabaseEntry.getURI()public void setDatabase(Database p_database)
DatabaseEntry object.
setDatabase in interface DatabaseEntryp_database - The new value for database.DatabaseEntry.getDatabase()public Database getDatabase()
DatabaseEntryDatabaseEntry object's database attribute.
getDatabase in interface DatabaseEntrygov.nih.nci.mageom.bean.Description.Database The value of database.DatabaseEntry.getDatabase()public void setType(OntologyEntry p_type)
DatabaseEntry object.
setType in interface DatabaseEntryp_type - The new value for type.DatabaseEntry.getType()public OntologyEntry getType()
DatabaseEntryDatabaseEntry object's type attribute.
getType in interface DatabaseEntrygov.nih.nci.mageom.bean.Description.OntologyEntry The value of type.DatabaseEntry.getType()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 | |||||||||