org.sbml.jsbml.ext.multi
public class ReactionRule extends AbstractNamedSBase
Modifier and Type | Field and Description |
---|---|
private KineticLaw |
kineticLaw |
(package private) ListOf<SpeciesTypeRestrictionReference> |
listOfConditions |
(package private) ListOf<SpeciesTypeRestrictionReference> |
listOfResults |
private static long |
serialVersionUID
Generated serial version identifier.
|
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
ReactionRule() |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(SpeciesTypeRestrictionReference condition)
Adds a condition.
|
void |
addResult(SpeciesTypeRestrictionReference result)
Adds a result.
|
AbstractSBase |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
KineticLaw |
createKineticLaw()
Creates a new
KineticLaw object, installs it as this
ReactionRule 's 'kineticLaw' sub-element, and returns it. |
KineticLaw |
getKineticLaw() |
ListOf<SpeciesTypeRestrictionReference> |
getListOfConditions()
Returns the list of conditions (
SpeciesTypeRestrictionReference ). |
ListOf<SpeciesTypeRestrictionReference> |
getListOfResults()
Returns the list of results (
SpeciesTypeRestrictionReference ). |
boolean |
isIdMandatory()
This method can be used to query if the identifier of this
NamedSBase is required to be defined (i.e., not null )
in the definition of SBML. |
boolean |
isSetKineticLaw() |
void |
setKineticLaw(KineticLaw kineticLaw)
Sets the kineticLaw of this
ReactionRule . |
boolean |
unsetKineticLaw()
Sets the
KineticLaw of this ReactionRule to null and notifies
all TreeNodeChangeListener about changes. |
equals, getId, getName, hashCode, isSetId, isSetName, isValidId, readAttribute, setId, setName, toString, unsetId, unsetName, writeXMLAttributes
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, 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, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, 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, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, 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, 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, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
ListOf<SpeciesTypeRestrictionReference> listOfConditions
ListOf<SpeciesTypeRestrictionReference> listOfResults
private KineticLaw kineticLaw
public ListOf<SpeciesTypeRestrictionReference> getListOfConditions()
SpeciesTypeRestrictionReference
).SpeciesTypeRestrictionReference
).public void addCondition(SpeciesTypeRestrictionReference condition)
condition
- the condition to addpublic ListOf<SpeciesTypeRestrictionReference> getListOfResults()
SpeciesTypeRestrictionReference
).SpeciesTypeRestrictionReference
).public void addResult(SpeciesTypeRestrictionReference result)
results
- the result to addpublic KineticLaw createKineticLaw()
KineticLaw
object, installs it as this
ReactionRule
's 'kineticLaw' sub-element, and returns it.
If this ReactionRule
had a previous KineticLaw, it will be destroyed.KineticLaw
objectpublic KineticLaw getKineticLaw()
ReactionRule
. Can be null if not set.public boolean isSetKineticLaw()
true
if the kineticLaw of this ReactionRule
is not null
.public void setKineticLaw(KineticLaw kineticLaw)
ReactionRule
.kineticLaw
- public boolean unsetKineticLaw()
KineticLaw
of this ReactionRule
to null and notifies
all TreeNodeChangeListener
about changes.true
if calling this method changed the properties
of this element.public boolean isIdMandatory()
NamedSBase
NamedSBase
is required to be defined (i.e., not null
)
in the definition of SBML.true
if the identifier of this element must be set in
order to create a valid SBML representation. false
otherwise, i.e., if the identifier can be understood as an optional
attribute.public AbstractSBase clone()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class AbstractSBase