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, addExtension, appendNotes, appendNotes, clone, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, readAttribute, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm, writeXMLAttributes
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
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()
true
if the value of this Quantity
is set.true
if the value of this 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
.