biouml.standard.type
Class DatabaseInfo

java.lang.Object
  extended bycom.beanexplorer.beans.Option
      extended byru.biosoft.access.MutableDataElementSupport
          extended bybiouml.standard.type.BaseSupport
              extended bybiouml.standard.type.GenericEntity
                  extended bybiouml.standard.type.Referrer
                      extended bybiouml.standard.type.DatabaseInfo
All Implemented Interfaces:
Base, DataElement, MutableDataElement, Type

public class DatabaseInfo
extends Referrer

Many data elements can refer to other databases through its database references field. This class is used to describe basic information about this databases as well as to describe rules how information from corresponding databases can be retrieved.


Field Summary
 
Fields inherited from class biouml.standard.type.GenericEntity
comment
 
Fields inherited from class biouml.standard.type.BaseSupport
title, type
 
Fields inherited from class ru.biosoft.access.MutableDataElementSupport
name
 
Fields inherited from class com.beanexplorer.beans.Option
notificationEnabled, propagationEnabled
 
Fields inherited from interface biouml.standard.type.Type
CONSTANT, DATABASE_INFO, DIAGRAM_INFO, MATH, MATH_EQUATION, MATH_EVENT, MATH_FUNCTION, MATH_STATE, MATH_TRANSITION, TYPE_CELL, TYPE_CHEMICAL_ROLE, TYPE_COMPARTMENT, TYPE_CONCEPT, TYPE_DIAGRAM_REFERENCE, TYPE_FUNCTION, TYPE_GENE, TYPE_MOLECULE, TYPE_NOTE, TYPE_NOTE_LINK, TYPE_PROCESS, TYPE_PROTEIN, TYPE_REACTION, TYPE_RELATION, TYPE_RNA, TYPE_SEMANTIC_RELATION, TYPE_STATE, TYPE_SUBSTANCE, TYPE_UNKNOWN
 
Constructor Summary
DatabaseInfo(DataCollection parent, java.lang.String name)
           
 
Method Summary
 java.lang.String getQueryByAc()
          Template to get database entry through http.
 java.lang.String getQueryById()
          Template to get database entry through http.
 java.lang.String getType()
           
 java.lang.String getURL()
          Database URL.
 void setQueryByAc(java.lang.String queryByAc)
           
 void setQueryById(java.lang.String queryById)
           
 void setURL(java.lang.String url)
           
 
Methods inherited from class biouml.standard.type.Referrer
getDatabaseReferences, getDescription, getLiteratureReferences, setDatabaseReferences, setDescription, setLiteratureReferences
 
Methods inherited from class biouml.standard.type.GenericEntity
getComment, getDate, setComment, setDate
 
Methods inherited from class biouml.standard.type.BaseSupport
getTitle, setTitle
 
Methods inherited from class ru.biosoft.access.MutableDataElementSupport
getName, getOrigin, toString
 
Methods inherited from class com.beanexplorer.beans.Option
addPropertyChangeListener, copyListenersTo, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getParent, isNotificationEnabled, isPropagationEnabled, removePropertyChangeListener, setNotificationEnabled, setParent, setPropagationEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ru.biosoft.access.DataElement
getName, getOrigin
 
Methods inherited from interface ru.biosoft.access.MutableDataElement
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

DatabaseInfo

public DatabaseInfo(DataCollection parent,
                    java.lang.String name)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface Base
Overrides:
getType in class BaseSupport

getURL

public java.lang.String getURL()
Database URL.


setURL

public void setURL(java.lang.String url)

getQueryById

public java.lang.String getQueryById()
Template to get database entry through http. For this purpose it is neccessary to replace '$id$' by real id (primary key) in the template.


setQueryById

public void setQueryById(java.lang.String queryById)

getQueryByAc

public java.lang.String getQueryByAc()
Template to get database entry through http. For this purpose it is neccessary to replace '$ac$' by real ac (secondary key or accession number) in the template.


setQueryByAc

public void setQueryByAc(java.lang.String queryByAc)


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.