org.sbml.jsbml
public class AssignmentRule 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 |
|---|
AssignmentRule()
Creates an AssignmentRule instance.
|
AssignmentRule(AssignmentRule ar)
Creates a cloned AssignmentRule instance from a given AssignmentRule.
|
AssignmentRule(ASTNode math,
int level,
int version)
Creates an AssignmentRule instance from a given math, level and version.
|
AssignmentRule(ASTNode math,
Parameter parameter)
Creates an AssignmentRule instance from a given math and Parameter.
|
AssignmentRule(ASTNode math,
Variable variable)
Creates an AssignmentRule instance from a given math and
Variable. |
AssignmentRule(ExplicitRule rule)
Creates a cloned AssignmentRule instance from a given
ExplicitRule. |
AssignmentRule(int level,
int version)
Creates an AssignmentRule instance with the given level and version.
|
AssignmentRule(Parameter parameter)
Creates an AssignmentRule instance from a given Parameter.
|
AssignmentRule(Parameter parameter,
ASTNode math)
Creates an AssignmentRule instance from a given math and Parameter.
|
AssignmentRule(Variable variable)
Creates an AssignmentRule instance from a given variable.
|
AssignmentRule(Variable variable,
ASTNode math)
Creates an AssignmentRule instance from a given variable and math.
|
| Modifier and Type | Method and Description |
|---|---|
AssignmentRule |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
java.lang.String |
getElementName()
Returns the XML element name of this object.
|
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, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getExtension, 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, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, setAnnotation, setHistory, setLevel, setLevelAndVersion, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitgetFormula, getMath, getMathMLString, isSetMath, setFormula, setMath, unsetFormula, unsetMathcontainsUndeclaredUnits, getDerivedUnitDefinition, getDerivedUnitsaddCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getExtension, 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, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetprivate static final long serialVersionUID
public AssignmentRule()
null.public AssignmentRule(AssignmentRule ar)
ar - the AssignmentRule to clone.public AssignmentRule(ExplicitRule rule)
ExplicitRule.rule - the AssignmentRule to clone.public AssignmentRule(ASTNode math, int level, int version)
math - the mathlevel - the SBML levelversion - the SBML versionpublic AssignmentRule(ASTNode math, Parameter parameter)
math - the mathparameter - the parameterpublic AssignmentRule(ASTNode math, Variable variable)
Variable.math - the mathvariable - the variablepublic AssignmentRule(int level,
int version)
level - the SBML levelversion - the SBML versionpublic AssignmentRule(Parameter parameter)
parameter - the parameterpublic AssignmentRule(Parameter parameter, ASTNode math)
parameter - the parametermath - the mathpublic AssignmentRule(Variable variable)
variable - the Variablepublic AssignmentRule clone()
SBaseSBase with the same properties
like this one.clone in interface SBaseclone in class ExplicitRulepublic java.lang.String getElementName()
SBasegetElementName in interface SBasegetElementName in class AbstractSBasepublic boolean isScalar()
ExplicitRuleisScalar in class ExplicitRuletrue if this Rule is an AssignmentRule (Level 2) or has type
'scalar' (Level 1), false otherwise.