public class Output
extends org.sbml.jsbml.AbstractNamedSBase
implements org.sbml.jsbml.UniqueNamedSBase, org.sbml.jsbml.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.| Constructor and Description |
|---|
Output() |
Output(int level,
int version) |
Output(Output out) |
Output(QualitativeSpecies qualitativeSpecies,
OutputTransitionEffect transitionEffect) |
Output(String id) |
Output(String id,
int level,
int version) |
Output(String id,
QualitativeSpecies qualitativeSpecies,
OutputTransitionEffect transitionEffect) |
Output(String id,
String name,
int level,
int version) |
| Modifier and Type | Method and Description |
|---|---|
Output |
clone() |
boolean |
containsUndeclaredUnits() |
boolean |
equals(Object object) |
org.sbml.jsbml.UnitDefinition |
getDerivedUnitDefinition() |
String |
getDerivedUnits() |
int |
getOutputLevel()
Returns the outputLevel.
|
String |
getQualitativeSpecies()
Returns the qualitativeSpecies
|
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(String attributeName,
String prefix,
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(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. |
String |
toString() |
boolean |
unsetOutputLevel() |
boolean |
unsetQualitativeSpecies() |
boolean |
unsetTransitionEffect() |
Map<String,String> |
writeXMLAttributes() |
getId, getName, isSetId, isSetName, isValidId, setId, setName, unsetId, unsetNameaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setPackageVersion, 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, waitgetId, getName, isSetId, isSetName, setId, setName, unsetId, unsetNameaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, 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, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, 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, userObjectKeySetchildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeafpublic Output()
public Output(String id)
id - public Output(QualitativeSpecies qualitativeSpecies, OutputTransitionEffect transitionEffect)
qualitativeSpecies - transitionEffect - public Output(String id, QualitativeSpecies qualitativeSpecies, OutputTransitionEffect transitionEffect)
id - qualitativeSpecies - transitionEffect - public Output(int level,
int version)
level - version - public Output(String id, int level, int version)
id - level - version - public Output(String id, String name, int level, int version)
id - name - level - version - public Output(Output out)
out - public void initDefaults()
public Output clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic boolean isIdMandatory()
isIdMandatory in interface org.sbml.jsbml.NamedSBasepublic boolean isQualitativeSpeciesMandatory()
public boolean isSetQualitativeSpecies()
public String getQualitativeSpecies()
org.sbml.jsbml.PropertyUndefinedError - if isSetQualitativeSpecies() return false.public void setQualitativeSpecies(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()
org.sbml.jsbml.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()
org.sbml.jsbml.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(Object object)
equals in interface org.sbml.jsbml.SBaseequals in class org.sbml.jsbml.AbstractNamedSBasepublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class org.sbml.jsbml.AbstractNamedSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface org.sbml.jsbml.SBasereadAttribute in class org.sbml.jsbml.AbstractNamedSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class org.sbml.jsbml.AbstractNamedSBasepublic boolean containsUndeclaredUnits()
containsUndeclaredUnits in interface org.sbml.jsbml.SBaseWithDerivedUnitpublic org.sbml.jsbml.UnitDefinition getDerivedUnitDefinition()
getDerivedUnitDefinition in interface org.sbml.jsbml.SBaseWithDerivedUnitpublic String getDerivedUnits()
getDerivedUnits in interface org.sbml.jsbml.SBaseWithDerivedUnitpublic String toString()
toString in class org.sbml.jsbml.AbstractNamedSBaseCopyright © 2009–2016. All rights reserved.