HEADER

biouml.model.dynamics
Class Constant

java.lang.Object
  |
  +--com.beanexplorer.swing.table.Option
        |
        +--ru.biosoft.access.MutableDataElementSupport
              |
              +--biouml.model.dynamics.Constant

public class Constant
extends MutableDataElementSupport

pending possily we can store constants in database as a separate DataCollection. Just now they are stored im EModel., add isInit, isUsed attributes and they processing

Constructor Summary
Constant(String name, EModel model, DataCollection origin)
          EModel is needed to be notified about constant changes.

Method Summary
 StringgetComment()
           
 doublegetValue()
           
 voidsetComment(String comment)
           
 voidsetValue(double value)
           

Methods inherited from class ru.biosoft.access.MutableDataElementSupport
getName, getOrigin, toString

Methods inherited from class com.beanexplorer.swing.table.Option
setParent, getParent, addPropertyChangeListener, removePropertyChangeListener, copyListenersTo

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Constructor Detail

Constant

public Constant(String name, EModel model, DataCollection origin)
EModel is needed to be notified about constant changes.
Method Detail

getComment

public String getComment()

getValue

public double getValue()

setComment

public void setComment(String comment)

setValue

public void setValue(double value)

Association Links

to Class java.lang.String


FOOTER

BOTTOM