java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, CallableSBase, NamedSBase, NamedSBaseWithDerivedUnit, SBase, SBaseWithDerivedUnit, UniqueNamedSBase, UniqueSId, TreeNodeWithChangeSupportpublic class Output extends AbstractNamedSBase implements UniqueNamedSBase, CallableSBase
Output refers to a QualitativeSpecies that participates
in (is affected by) the corresponding Transition. In Petri net models
these are the output places of the transition. In a logical model, a
QualitativeSpecies should be referenced in at most one listOfOutputs,
(that of the Transition defining the evolution of this species). When
a Transition has several outputs, it is because the referenced
species share the same regulators and the same logical rules.ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor | Description |
|---|---|
Output() |
Creates a new
Output instance. |
Output(int level,
int version) |
Creates a new
Output instance. |
Output(java.lang.String id) |
Creates a new
Output instance. |
Output(java.lang.String id,
int level,
int version) |
Creates a new
Output instance. |
Output(java.lang.String id,
java.lang.String name,
int level,
int version) |
Creates a new
Output instance. |
Output(java.lang.String id,
QualitativeSpecies qualitativeSpecies,
OutputTransitionEffect transitionEffect) |
Creates a new
Output instance. |
Output(Output out) |
Creates a new
Output instance. |
Output(QualitativeSpecies qualitativeSpecies,
OutputTransitionEffect transitionEffect) |
Creates a new
Output instance. |
| Modifier and Type | Method | Description |
|---|---|---|
Output |
clone() |
|
boolean |
containsUndeclaredUnits() |
|
boolean |
equals(java.lang.Object object) |
|
UnitDefinition |
getDerivedUnitDefinition() |
|
java.lang.String |
getDerivedUnits() |
|
int |
getOutputLevel() |
Returns the outputLevel.
|
java.lang.String |
getQualitativeSpecies() |
Returns the qualitativeSpecies
|
QualitativeSpecies |
getQualitativeSpeciesInstance() |
|
OutputTransitionEffect |
getTransitionEffect() |
Returns the transitionEffect
|
int |
hashCode() |
|
void |
initDefaults() |
|
boolean |
isIdMandatory() |
|
boolean |
isOutputLevelMandatory() |
|
boolean |
isQualitativeSpeciesMandatory() |
|
boolean |
isSetOutputLevel() |
|
boolean |
isSetQualitativeSpecies() |
|
boolean |
isSetTransitionEffect() |
|
boolean |
isTransitionEffectMandatory() |
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
void |
setOutputLevel(int level) |
The outputLevel is a non-negative integer used along with the transitionEffect to specify
the effect of the
Transition on the corresponding QualitativeSpecies. |
void |
setQualitativeSpecies(java.lang.String qualitativeSpecies) |
The required attribute qualitativeSpecies is used to identify the
QualitativeSpecies
that is the output of this Transition. |
void |
setTransitionEffect(OutputTransitionEffect transitionEffect) |
Each
Output has a required attribute transitionEffect of type OutputTransitionEffect
which describes how the QualitativeSpecies referenced by the Output is affected by
the Transition. |
boolean |
unsetOutputLevel() |
|
boolean |
unsetQualitativeSpecies() |
|
boolean |
unsetTransitionEffect() |
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
isValidIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetgetId, getName, isSetId, isSetName, setId, setName, unsetId, unsetNamefinalize, getClass, notify, notifyAll, wait, wait, waitaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTreeNodeChangeListener, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermchildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeafaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic Output()
Output instance.public Output(java.lang.String id)
Output instance.id - the idpublic Output(QualitativeSpecies qualitativeSpecies, OutputTransitionEffect transitionEffect)
Output instance.qualitativeSpecies - the QualitativeSpecies linked to this Output.transitionEffect - the transition effectpublic Output(java.lang.String id,
QualitativeSpecies qualitativeSpecies,
OutputTransitionEffect transitionEffect)
Output instance.id - the idqualitativeSpecies - the QualitativeSpecies linked to this Output.transitionEffect - the transition effectpublic Output(int level,
int version)
Output instance.level - the SBML levelversion - the SBML versionpublic Output(java.lang.String id,
int level,
int version)
Output instance.id - the idlevel - the SBML levelversion - the SBML versionpublic Output(java.lang.String id,
java.lang.String name,
int level,
int version)
Output instance.id - the idname - the namelevel - the SBML levelversion - the SBML versionpublic void initDefaults()
public Output clone()
clone in interface SBaseclone in class AbstractSBasepublic boolean isIdMandatory()
isIdMandatory in interface NamedSBaseisIdMandatory in interface SBaseisIdMandatory in class AbstractSBasepublic boolean isQualitativeSpeciesMandatory()
public boolean isSetQualitativeSpecies()
public java.lang.String getQualitativeSpecies()
PropertyUndefinedError - if isSetQualitativeSpecies() return false.public QualitativeSpecies getQualitativeSpeciesInstance()
public void setQualitativeSpecies(java.lang.String qualitativeSpecies)
QualitativeSpecies
that is the output of this Transition. The attribute's value must be the identifier
of an existing QualitativeSpecies object in the Model. This attribute is
comparable with the species attribute on the SpeciesReference element.qualitativeSpecies - the qualitativeSpecies to setpublic boolean unsetQualitativeSpecies()
public boolean isTransitionEffectMandatory()
public boolean isSetTransitionEffect()
public OutputTransitionEffect getTransitionEffect()
PropertyUndefinedError - if isSetTransitionEffect() return false.public void setTransitionEffect(OutputTransitionEffect transitionEffect)
Output has a required attribute transitionEffect of type OutputTransitionEffect
which describes how the QualitativeSpecies referenced by the Output is affected by
the Transition.
In logical models the transitionEffect is set to "assignmentLevel" whilst in standard Petri nets it
is set to "production". It is envisioned that to encode High Level Petri nets it will be necessary
to allow the use of "assignmentLevel" as an OutputTransitionEffect; however considering the
implications of this is left to future versions of the specification.transitionEffect - the transitionEffect to setpublic boolean unsetTransitionEffect()
public boolean isOutputLevelMandatory()
public boolean isSetOutputLevel()
public int getOutputLevel()
PropertyUndefinedError - if isSetOutputLevel() return false.public void setOutputLevel(int level)
Transition on the corresponding QualitativeSpecies. It
does not specify the result of a Transition; this is done by using the resultLevel
attribute on a FunctionTerm. However, in Petri nets, it relates to the weight of the
arc connecting the Transition to the output place and may be multiplied by the
resultLevel in a "production" situation. In logical models there is no interpretation of the
outputLevel attribute as the outcome of a Transition is always an assignment to
the resultLevel defined by the FunctionTerm.
The outputLevel attribute is optional since if the transitionEffect is set to "assignmentLevel"
(as in logical models), it has no meaning. However, where the transitionEffect of the
Output is set to "production" (as in Petri net models) the resulting level of the
QualitativeSpecies is the resultLevel from the appropriate FunctionTerm multiplied
by the outputLevel. Since there are no default values in SBML Level 3, when the transitionEffect
is set to "production" the outputLevel attribute must have a value.level - the level to setpublic boolean unsetOutputLevel()
public boolean equals(java.lang.Object object)
equals in interface SBaseequals in class AbstractSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractSBasepublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in interface SBasereadAttribute in class AbstractSBasepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBasepublic boolean containsUndeclaredUnits()
containsUndeclaredUnits in interface SBaseWithDerivedUnitpublic UnitDefinition getDerivedUnitDefinition()
getDerivedUnitDefinition in interface SBaseWithDerivedUnitpublic java.lang.String getDerivedUnits()
getDerivedUnits in interface SBaseWithDerivedUnitCopyright © 2009–2022. All rights reserved.