|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Description.DatabaseEntry
public class DatabaseEntry
A reference to a record in a database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected Database |
database
Reference to the database where the DataEntry instance can be found. |
protected OntologyEntry |
type
The type of record (e.g. |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
DatabaseEntry()
Default constructor. |
|
DatabaseEntry(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
boolean |
emptyMAGEobject()
|
java.lang.String |
getAccession()
Get method for accession |
java.lang.String |
getAccessionVersion()
Get method for accessionVersion |
Database |
getDatabase()
Get method for database |
java.lang.String |
getModelClassName()
|
OntologyEntry |
getType()
Get method for type |
java.lang.String |
getURI()
Get method for URI |
void |
setAccession(java.lang.String accession)
Set method for accession |
void |
setAccessionVersion(java.lang.String accessionVersion)
Set method for accessionVersion |
void |
setDatabase(Database database)
Set method for database |
void |
setType(OntologyEntry type)
Set method for type |
void |
setURI(java.lang.String URI)
Set method for URI |
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.Extendable |
---|
addToPropertySets, addToPropertySets, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setAttributes, setId, setIsEditable, setPropertySets, setSecuredElementId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected OntologyEntry type
protected Database database
Constructor Detail |
---|
public DatabaseEntry()
public DatabaseEntry(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Extendable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Extendable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Extendable
java.io.IOException
public void setAccession(java.lang.String accession)
value
- to setpublic java.lang.String getAccession()
public void setAccessionVersion(java.lang.String accessionVersion)
value
- to setpublic java.lang.String getAccessionVersion()
public void setURI(java.lang.String URI)
value
- to setpublic java.lang.String getURI()
public java.lang.String getModelClassName()
getModelClassName
in class Extendable
public void setType(OntologyEntry type)
setType
in interface HasType
value
- to setpublic OntologyEntry getType()
getType
in interface HasType
public void setDatabase(Database database)
setDatabase
in interface HasDatabase
value
- to setpublic Database getDatabase()
getDatabase
in interface HasDatabase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |