|
|||||||||||
| 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.Common.Describable
|
+--org.biomage.Common.Identifiable
|
+--org.biomage.Description.Database
An address to a repository.
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasContacts |
HasContacts.Contacts_list |
| Nested classes inherited from class org.biomage.Interface.HasAuditTrail |
HasAuditTrail.AuditTrail_list |
| Nested classes inherited from class org.biomage.Interface.HasDescriptions |
HasDescriptions.Descriptions_list |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
HasPropertySets.PropertySets_list |
| Field Summary | |
protected HasContacts.Contacts_list |
contacts
Information on the contacts for the database |
| Fields inherited from class org.biomage.Common.Describable |
auditTrail, descriptions, security |
| Fields inherited from class org.biomage.Common.Extendable |
propertySets |
| Constructor Summary | |
Database()
Default constructor. |
|
Database(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToContacts(Contact contact)
Method to add Contact to Contacts_list |
void |
addToContacts(int position,
Contact contact)
Method to add Contact at position to Contacts_list |
HasContacts.Contacts_list |
getContacts()
Get method for contacts |
Contact |
getFromContacts(int position)
Method to get Contact from Contacts_list |
java.lang.String |
getURI()
Get method for URI |
java.lang.String |
getVersion()
Get method for version |
void |
removeElementAtFromContacts(int position)
Method to remove by position from Contacts_list |
void |
removeFromContacts(Contact contact)
Method to remove first Contact from Contacts_list |
void |
setContacts(HasContacts.Contacts_list contacts)
Set method for contacts |
void |
setURI(java.lang.String URI)
Set method for URI |
void |
setVersion(java.lang.String version)
Set method for version |
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.Identifiable |
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from class org.biomage.Common.Describable |
addToAuditTrail, addToAuditTrail, addToDescriptions, addToDescriptions, getAuditTrail, getDescriptions, getFromAuditTrail, getFromDescriptions, getSecurity, removeElementAtFromAuditTrail, removeElementAtFromDescriptions, removeFromAuditTrail, removeFromDescriptions, setAuditTrail, setDescriptions, setSecurity |
| 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 HasContacts.Contacts_list contacts
| Constructor Detail |
public Database()
public Database(org.xml.sax.Attributes atts)
| Method Detail |
public void writeMAGEML(java.io.Writer out)
throws java.io.IOException
writeMAGEML in class Identifiablejava.io.IOException
public void writeAttributes(java.io.Writer out)
throws java.io.IOException
writeAttributes in class Identifiablejava.io.IOException
public void writeAssociations(java.io.Writer out)
throws java.io.IOException
writeAssociations in class Identifiablejava.io.IOExceptionpublic void setVersion(java.lang.String version)
public java.lang.String getVersion()
public void setURI(java.lang.String URI)
public java.lang.String getURI()
public void setContacts(HasContacts.Contacts_list contacts)
setContacts in interface HasContactspublic HasContacts.Contacts_list getContacts()
getContacts in interface HasContactspublic void addToContacts(Contact contact)
addToContacts in interface HasContacts
public void addToContacts(int position,
Contact contact)
addToContacts in interface HasContactspublic Contact getFromContacts(int position)
getFromContacts in interface HasContactspublic void removeElementAtFromContacts(int position)
removeElementAtFromContacts in interface HasContactspublic void removeFromContacts(Contact contact)
removeFromContacts in interface HasContacts
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||