org.sbml.jsbml
public interface Quantity extends CallableSBase
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Returns the value of this
Quantity . |
boolean |
isSetValue()
Returns true if the value of this
Quantity is set. |
void |
setValue(double value)
Sets the value of this
Quantity . |
void |
unsetValue()
Unsets the value of this
Quantity . |
getId, getName, isIdMandatory, isSetId, isSetName, setId, setName, unsetId, unsetName
containsUndeclaredUnits, getDerivedUnitDefinition, getDerivedUnits
addCVTerm, addDeclaredNamespace, addNamespace, appendNotes, appendNotes, clone, equals, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTerms, getDeclaredNamespaces, getElementName, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespaces, getNotes, getNotesString, getNumCVTerms, getParentSBMLObject, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetSBOTerm, isSetVersion, readAttribute, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetHistory, unsetMetaId, unsetNotes, unsetSBOTerm, writeXMLAttributes
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getTreeNodeChangeListenerCount, isRoot, isSetParent, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener
double getValue()
Quantity
.
In Compartment
s the value is its size, in Species
the
value defines its initial amount or concentration, and in
Parameter
s and LocalParameter
s this returns the value
attribute from SBML.boolean isSetValue()
Quantity
is set.Quantity
is set.void setValue(double value)
Quantity
.
Note that the meaning of the value can be different in all derived
classes. In Compartment
s the value defines its size. In
Species
the value describes either the initial amount or the
initial concentration. Only the class Parameter
and
LocalParameter
really define a value attribute with this name.value
- the value to setvoid unsetValue()
Quantity
.