org.sbml.jsbml
public class RateRule extends ExplicitRule
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Generated serial version identifier.
|
unitsID, variableIDignoredExtensions, ignoredXMLElements, lvlistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTSILLEGAL_CONSTANT_VARIABLE_MSG, ILLEGAL_VARIABLE_EXCEPTION_MSG, NO_SUCH_VARIABLE_EXCEPTION_MSG| Constructor and Description |
|---|
RateRule()
Creates a
RateRule instance. |
RateRule(ASTNode math,
int level,
int version)
Creates a new
RateRule instance. |
RateRule(ASTNode math,
Parameter parameter)
Creates a new
RateRule instance. |
RateRule(ASTNode math,
Variable variable)
Creates a new
RateRule instance. |
RateRule(ExplicitRule rule)
Creates a
RateRule instance cloned from the given ExplicitRule |
RateRule(int level,
int version)
Creates a
RateRule instance from a given RateRule. |
RateRule(Parameter parameter)
Creates a new
RateRule instance. |
RateRule(Parameter parameter,
ASTNode math)
Creates a new
RateRule instance. |
RateRule(RateRule sb)
|
RateRule(Variable variable)
Creates a
RateRule instance from a given Symbol. |
RateRule(Variable variable,
ASTNode math)
Creates a
RateRule instance from a given Symbol and ASTNode. |
| Modifier and Type | Method and Description |
|---|---|
RateRule |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
boolean |
isScalar()
Predicate returning true or false depending on whether this Rule is an
AssignmentRule (SBML Level 2) or has a 'type' attribute value of 'scalar'
(SBML Level 1).
|
equals, getUnits, getUnitsInstance, getVariable, getVariableInstance, hashCode, initDefaults, isCompartmentVolume, isParameter, isSetUnits, isSetUnitsInstance, isSetVariable, isSetVariableInstance, isSpeciesConcentration, readAttribute, setUnits, setUnits, setUnits, setUnits, setVariable, setVariable, unsetUnits, unsetVariable, writeXMLAttributesgetParent, isAlgebraic, isAssignment, isRatecontainsUndeclaredUnits, getAllowsChildren, getChildAt, getChildCount, getDerivedUnitDefinition, getDerivedUnits, getFormula, getMath, getMathMLString, isSetMath, setFormula, setMath, toString, unsetFormula, unsetMathaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setLevelAndVersion, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitgetFormula, getMath, getMathMLString, isSetMath, setFormula, setMath, unsetFormula, unsetMathcontainsUndeclaredUnits, getDerivedUnitDefinition, getDerivedUnitsaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetprivate static final long serialVersionUID
public RateRule()
RateRule instance. By default, the variableID is null.public RateRule(ASTNode math, int level, int version)
RateRule instance.math - the ASTNode representing the mathematic formula of this rule.level - the SBML levelversion - the SBML versionpublic RateRule(ASTNode math, Parameter parameter)
RateRule instance.math - parameter - public RateRule(ASTNode math, Variable variable)
RateRule instance.variable - math - public RateRule(int level,
int version)
RateRule instance from a given RateRule.level - the SBML levelversion - the SBML versionpublic RateRule(Parameter parameter)
RateRule instance.parameter - public RateRule(Parameter parameter, ASTNode math)
RateRule instance.parameter - math - public RateRule(RateRule sb)
sb - public RateRule(Variable variable)
RateRule instance from a given Symbol. Takes level and version
from the variable.variable - public RateRule(ExplicitRule rule)
RateRule instance cloned from the given ExplicitRulerule - public RateRule clone()
SBaseSBase with the same properties
like this one.clone in interface SBaseclone in class ExplicitRulepublic boolean isScalar()
ExplicitRuleisScalar in class ExplicitRuletrue if this Rule is an AssignmentRule (Level 2) or has type
'scalar' (Level 1), false otherwise.