|
||||||||||
| 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.impl.IdentifiableImpl
gov.nih.nci.mageom.domain.Description.impl.DatabaseImpl
public class DatabaseImpl
An address to a repository.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Contact[] |
contacts
DOCUMENT ME |
protected int |
contactsCount
The count of Contact objects. |
protected java.lang.String |
URI
The location of the Database. |
protected java.lang.String |
version
The version for which a DatabaseReference applies. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
identifier, name |
| 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 | |
|---|---|
DatabaseImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Contact[] |
getContacts()
Returns the value of this Database object's contacts attribute. |
int |
getContactsCount()
Returns the count of all Contact
associated with this Database object. |
java.lang.String |
getURI()
Returns the value of this Database object's URI attribute. |
java.lang.String |
getVersion()
Returns the value of this Database object's version attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Database[] |
searchDatabases(DatabaseSearchCriteria criteria)
Returns an array of Database objects that
satisfy the given DatabaseSearchCriteria. |
void |
setContacts(Contact[] p_contacts)
Sets the contacts attribute. |
void |
setURI(java.lang.String p_URI)
Sets the URI attribute. |
void |
setVersion(java.lang.String p_version)
Sets the version 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.IdentifiableImpl |
|---|
getIdentifier, getName, searchIdentifiables, setIdentifier, setName |
| 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.Identifiable |
|---|
getIdentifier, getName, setIdentifier, setName |
| 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 version
protected java.lang.String URI
protected int contactsCount
protected Contact[] contacts
| Constructor Detail |
|---|
public DatabaseImpl()
| Method Detail |
|---|
protected void init()
init in class IdentifiableImpl
public Database[] searchDatabases(DatabaseSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Database objects that
satisfy the given DatabaseSearchCriteria.
criteria - The DatabaseSearchCriteria
which represents a query for Database objects.
Database objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setVersion(java.lang.String p_version)
Database object.
setVersion in interface Databasep_version - The new value for version.Database.getVersion()public java.lang.String getVersion()
DatabaseDatabase object's version attribute.
Description of version:
The version for which a DatabaseReference applies.
getVersion in interface DatabaseString The value of version.Database.getVersion()public void setURI(java.lang.String p_URI)
Database object.
setURI in interface Databasep_URI - The new value for URI.Database.getURI()public java.lang.String getURI()
DatabaseDatabase object's URI attribute.
Description of URI:
The location of the Database.
getURI in interface DatabaseString The value of URI.Database.getURI()public void setContacts(Contact[] p_contacts)
Database object.
setContacts in interface Databasep_contacts - The new value for contacts.Database.getContacts()public Contact[] getContacts()
DatabaseDatabase object's contacts attribute.
getContacts in interface Databasegov.nih.nci.mageom.bean.AuditAndSecurity.Contact[] The value of contacts.Database.getContacts()public int getContactsCount()
Contact
associated with this Database object.
Database.getContacts()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class IdentifiableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class IdentifiableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class IdentifiableImpldoc - 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 IdentifiableImplpublic java.lang.String toString()
toString in class IdentifiableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||