|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Common.Describable
org.biomage.Common.Identifiable
org.biomage.Description.Database
public class Database
An address to a repository.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasContacts |
---|
HasContacts.Contacts_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasAuditTrail |
---|
HasAuditTrail.AuditTrail_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasDescriptions |
---|
HasDescriptions.Descriptions_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected java.util.List |
contacts
Information on the contacts for the database |
Fields inherited from class org.biomage.Common.Describable |
---|
security |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
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 |
boolean |
emptyMAGEobject()
|
java.lang.String |
getCategory()
|
HasContacts.Contacts_list |
getContacts()
Get method for contacts |
Contact |
getFromContacts(int position)
Method to get Contact from Contacts_list |
java.lang.String |
getModelClassName()
|
java.lang.String |
getURI()
Get method for URI |
boolean |
getUserDefined()
|
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 |
setAttributes(org.xml.sax.Attributes atts)
|
void |
setCategory(java.lang.String category)
|
void |
setContacts(HasContacts.Contacts_list contacts)
Set method for contacts |
void |
setURI(java.lang.String URI)
Set method for URI |
void |
setUserDefined(boolean b)
|
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, toString |
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, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setId, setIsEditable, setPropertySets, setSecuredElementId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List contacts
Constructor Detail |
---|
public Database()
public Database(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void setAttributes(org.xml.sax.Attributes atts)
setAttributes
in class Identifiable
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Identifiable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Identifiable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Identifiable
java.io.IOException
public void setVersion(java.lang.String version)
value
- to setpublic java.lang.String getVersion()
public void setURI(java.lang.String URI)
value
- to setpublic java.lang.String getURI()
public java.lang.String getModelClassName()
getModelClassName
in class Identifiable
public void setContacts(HasContacts.Contacts_list contacts)
setContacts
in interface HasContacts
value
- to setpublic HasContacts.Contacts_list getContacts()
getContacts
in interface HasContacts
public void addToContacts(Contact contact)
addToContacts
in interface HasContacts
public void addToContacts(int position, Contact contact)
addToContacts
in interface HasContacts
public Contact getFromContacts(int position)
getFromContacts
in interface HasContacts
public void removeElementAtFromContacts(int position)
removeElementAtFromContacts
in interface HasContacts
public void removeFromContacts(Contact contact)
removeFromContacts
in interface HasContacts
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
string
- public boolean getUserDefined()
public void setUserDefined(boolean b)
b
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |