org.sbml.jsbml
public abstract class Rule extends AbstractMathContainer
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Generated serial version identifier.
|
lv
listOfListeners, parent
Constructor and Description |
---|
Rule()
Creates a Rule instance.
|
Rule(ASTNode math,
int level,
int version)
Creates a Rule instance from an id, level and version.
|
Rule(int level,
int version)
Creates a Rule instance from a level and version.
|
Rule(Rule sb)
|
Modifier and Type | Method and Description |
---|---|
abstract Rule |
clone()
Creates a copy of this object, i.e., e new
SBase with the same properties
like this one and returns a pointer to it. |
ListOf<Rule> |
getParent()
This is equivalent to calling
AbstractSBase.getParentSBMLObject() , but this
method is needed for TreeNode . |
boolean |
isAlgebraic() |
boolean |
isAssignment() |
abstract boolean |
isCompartmentVolume()
(SBML Level 1 only) Predicate returning true or false depending on
whether this Rule is an CompartmentVolumeRule.
|
abstract boolean |
isParameter()
(SBML Level 1 only) Predicate returning true or false depending on
whether this Rule is an ParameterRule.
|
boolean |
isRate() |
abstract boolean |
isSpeciesConcentration()
(SBML Level 1 only) Predicate returning true or false depending on
whether this Rule is an SpeciesConcentrationRule.
|
containsUndeclaredUnits, getAllowsChildren, getChildAt, getChildCount, getDerivedUnitDefinition, getDerivedUnits, getFormula, getMath, getMathMLString, isSetMath, readAttribute, setFormula, setMath, toString, unsetFormula, unsetMath, writeXMLAttributes
addCVTerm, addDeclaredNamespace, addNamespace, appendNotes, appendNotes, checkLevelAndVersionCompatibility, equals, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, 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, isValidLevelAndVersionCombination, notifyChildChange, registerChild, removeNamespace, setAnnotation, setHistory, setLevel, setLevelAndVersion, setMetaId, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetHistory, unsetMetaId, unsetNotes, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getTreeNodeChangeListenerCount, indexOf, isLeaf, isRoot, isSetParent, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, setParent
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addNamespace, appendNotes, appendNotes, 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, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetHistory, unsetMetaId, unsetNotes, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getTreeNodeChangeListenerCount, isRoot, isSetParent, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener
private static final long serialVersionUID
public Rule()
public Rule(ASTNode math, int level, int version)
math
- level
- version
- public Rule(int level, int version)
level
- version
- public Rule(Rule sb)
sb
- public abstract Rule clone()
SBase
SBase
with the same properties
like this one and returns a pointer to it.clone
in interface SBase
clone
in class AbstractMathContainer
public ListOf<Rule> getParent()
AbstractSBase
AbstractSBase.getParentSBMLObject()
, but this
method is needed for TreeNode
.getParent
in interface javax.swing.tree.TreeNode
getParent
in class AbstractSBase
AbstractSBase.getParentSBMLObject()
public boolean isAlgebraic()
public boolean isAssignment()
public abstract boolean isCompartmentVolume()
public abstract boolean isParameter()
public boolean isRate()
public abstract boolean isSpeciesConcentration()