|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beanexplorer.beans.Option
ru.biosoft.access.MutableDataElementSupport
biouml.standard.type.BaseSupport
biouml.standard.type.GenericEntity
biouml.standard.type.Referrer
biouml.standard.type.Reaction
| Field Summary | |
protected VectorDataCollection |
collection
Primary collection. |
protected boolean |
fast
|
protected KineticLaw |
kineticLaw
|
protected static org.apache.log4j.Category |
log
|
static java.text.DecimalFormat |
NAME_FORMAT
Format to generate unique name for new reaction instance. |
protected boolean |
reversible
|
| 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 | |
Reaction(DataCollection origin,
java.lang.String name)
|
|
| Method Summary | |
void |
addDataCollectionListener(DataCollectionListener l)
Add a listener to the list that's notified each time a change to the data collection occurs. |
void |
close()
Closes data collection, releases all resources. |
boolean |
contains(DataElement de)
Returns true if this data collection contains the specified element, false otherwise |
boolean |
contains(java.lang.String name)
Returns true if this data collection contains the element with the specified name, false otherwise |
DataElement |
get(java.lang.String name)
Returns the DataElement with the specified name.
|
java.lang.String |
getCompleteName()
Returns complete name of data collection. |
java.lang.Class |
getDataElementType()
Returns the type of DataElements stored in the data collection. |
java.lang.String |
getFormula()
|
DataCollectionInfo |
getInfo()
Returns additional info for this data collection. |
KineticLaw |
getKineticLaw()
|
java.util.List |
getNameList()
Returns an unmodifiable view of the data element name list. |
int |
getSize()
Returns the number of elements in this data collection. |
SpecieReference[] |
getSpecieReferences()
|
java.lang.String |
getSpecieTitle(java.lang.Integer index,
java.lang.Object obj)
|
java.lang.String |
getType()
|
void |
init()
|
boolean |
isFast()
|
boolean |
isMutable()
Returns true if this data collection is mutable, false otherwise. |
boolean |
isPropagationEnabled()
|
boolean |
isReversible()
|
java.util.Iterator |
iterator()
Returns an iterator over the data elements in this collection. |
void |
propagateElementChanged(DataCollection source,
DataCollectionEvent primaryEvent)
|
void |
propagateElementWillChange(DataCollection source,
DataCollectionEvent primaryEvent)
|
DataElement |
put(DataElement obj)
Adds the specified data element to the collection. |
void |
release(java.lang.String dataElementName)
Release DataElement with the specified name from the DataCollection cache. |
void |
remove(java.lang.String name)
Removes the specified data element from the collection, if present. |
void |
removeDataCollectionListener(DataCollectionListener l)
Remove a listener from the list that's notified each time a change to the data collection occurs. |
void |
setFast(boolean fast)
|
void |
setKineticLaw(KineticLaw kineticLaw)
|
void |
setPropagationEnabled(boolean propagationEnabled)
|
void |
setReversible(boolean reversible)
|
void |
setSpecieReferences(SpecieReference[] species)
Should be used only to load initial set of specie references. |
| 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, removePropertyChangeListener, setNotificationEnabled, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ru.biosoft.access.DataCollection |
isNotificationEnabled, setNotificationEnabled |
| Methods inherited from interface ru.biosoft.access.DataElement |
getName, getOrigin |
| Methods inherited from interface biouml.model.dynamics.FormulaDelegate |
addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface ru.biosoft.access.MutableDataElement |
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
protected static org.apache.log4j.Category log
public static java.text.DecimalFormat NAME_FORMAT
protected KineticLaw kineticLaw
protected boolean reversible
protected boolean fast
protected VectorDataCollection collection
| Constructor Detail |
public Reaction(DataCollection origin,
java.lang.String name)
| Method Detail |
public java.lang.String getType()
getType in interface BasegetType in class BaseSupport
public java.lang.String getSpecieTitle(java.lang.Integer index,
java.lang.Object obj)
public SpecieReference[] getSpecieReferences()
public void setSpecieReferences(SpecieReference[] species)
public KineticLaw getKineticLaw()
public void setKineticLaw(KineticLaw kineticLaw)
public boolean isReversible()
public void setReversible(boolean reversible)
public boolean isFast()
public void setFast(boolean fast)
public java.lang.String getFormula()
getFormula in interface FormulaDelegatepublic DataCollectionInfo getInfo()
DataCollectionnull.
getInfo in interface DataCollectionDataCollectionInfopublic int getSize()
DataCollection
getSize in interface DataCollectionpublic java.lang.Class getDataElementType()
DataCollection
getDataElementType in interface DataCollectionpublic boolean isMutable()
DataCollection
isMutable in interface DataCollectionpublic boolean contains(java.lang.String name)
DataCollection
contains in interface DataCollectionname - name of data element
public boolean contains(DataElement de)
DataCollection
contains in interface DataCollectionde - specified data element
public java.util.Iterator iterator()
DataCollection
iterator in interface DataCollectionpublic java.util.List getNameList()
DataCollectionUnsupportedOperationException.
The returned list is backed by the data collection,
so changes to the data collection are reflected in the returned list.
The name list can be sorted or unsorted depending on the DataCollection
implementing class.
getNameList in interface DataCollection
public DataElement get(java.lang.String name)
throws java.lang.Exception
DataCollectionDataElement with the specified name.
Returns null if the data collection
contains no data element for this name.
get in interface DataCollectionjava.lang.Exception
public DataElement put(DataElement obj)
throws java.lang.Exception
DataCollection
put in interface DataCollectionjava.lang.ExceptionDataCollection.isMutable()
public void remove(java.lang.String name)
throws java.lang.Exception
DataCollection
remove in interface DataCollectionjava.lang.Exception - If error occured.DataCollection.isMutable()public void addDataCollectionListener(DataCollectionListener l)
DataCollection
addDataCollectionListener in interface DataCollectionl - the DataCollectionListenerpublic void removeDataCollectionListener(DataCollectionListener l)
DataCollection
removeDataCollectionListener in interface DataCollectionl - the DataCollectionListenerpublic java.lang.String getCompleteName()
DataCollection
getCompleteName in interface DataCollection
public void close()
throws java.lang.Exception
DataCollection
close in interface DataCollectionjava.lang.Exception - If error occured.public void init()
public void release(java.lang.String dataElementName)
DataCollection
release in interface DataCollectionpublic boolean isPropagationEnabled()
isPropagationEnabled in interface DataCollectionpublic void setPropagationEnabled(boolean propagationEnabled)
setPropagationEnabled in interface DataCollection
public void propagateElementWillChange(DataCollection source,
DataCollectionEvent primaryEvent)
propagateElementWillChange in interface DataCollection
public void propagateElementChanged(DataCollection source,
DataCollectionEvent primaryEvent)
propagateElementChanged in interface DataCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||