public class Input extends AbstractNamedSBase implements UniqueNamedSBase, CallableSBase
Input refers to a QualitativeSpecies that participates
in the corresponding Transition. In Petri nets, these are the input
places of the transition. In logical models, they are the regulators of the
species whose behavior is defined by the Transition.ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
Input()
Creates a new
Input instance. |
Input(Input in)
|
Input(int level,
int version)
Creates a new
Input instance. |
Input(String id)
Creates a new
Input instance. |
Input(String id,
int level,
int version)
Creates a new
Input instance. |
Input(String id,
QualitativeSpecies qualitativeSpecies,
InputTransitionEffect transitionEffect)
Creates a new
Input instance. |
Input(String id,
String name,
int level,
int version)
Creates a new
Input instance. |
isValidIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, 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, 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, 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, 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, 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 Input()
Input instance.public Input(String id, QualitativeSpecies qualitativeSpecies, InputTransitionEffect transitionEffect)
Input instance.id - the id to be set.qualitativeSpecies - the QualitativeSpecies that is linked to this Input.transitionEffect - the transition effect.public Input(int level,
int version)
Input instance.level - the SBML levelversion - the SBML versionpublic Input(String id, int level, int version)
Input instance.id - the id to be set.level - the SBML levelversion - the SBML versionpublic Input(String id, String name, int level, int version)
Input instance.id - the id to be set.name - the name to be set.level - the SBML levelversion - the SBML versionpublic void initDefaults()
public Input clone()
clone in interface SBaseclone in class AbstractSBasepublic void setSign(Sign sign)
Sign can be used as an indication as to whether the contribution
of this Input is positive, negative, both (dual) or unknown. This enables a model
to distinguish between stimulation and inhibition and can facilitate interpretation of the
model without the mathematics. The sign is particularly used for visualization purposes and
has no impact on the mathematical interpretation. This attribute is optional.sign - the sign to setpublic boolean isSetSign()
public Sign getSign()
public boolean unsetSign()
true if unset the sign attribute was successfulpublic boolean isIdMandatory()
isIdMandatory in interface NamedSBaseisIdMandatory in interface SBaseisIdMandatory in class AbstractSBasepublic boolean isQualitativeSpeciesMandatory()
public boolean isSetQualitativeSpecies()
public String getQualitativeSpecies()
public QualitativeSpecies getQualitativeSpeciesInstance()
public void setQualitativeSpecies(String qualitativeSpecies)
QualitativeSpecies
that is the input 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 InputTransitionEffect getTransitionEffect()
public void setTransitionEffect(InputTransitionEffect transitionEffect)
Input has a required attribute transitionEffect of type InputTransitionEffect
which describes how the QualitativeSpecies referenced by the Input is affected by
the Transition.
It should be noted that in logical models the transitionEffect is always set to "none", while in
Petri nets, it can be set to "none" (indicating a read arc) or to "consumption".transitionEffect - the transitionEffect to setpublic boolean unsetTransitionEffect()
public boolean isThresholdLevelMandatory()
public boolean isSetThresholdLevel()
public int getThresholdLevel()
public void setThresholdLevel(int thresholdLevel)
QualitativeSpecies should reach or exceed the
thresholdLevel in order for the Transition to occur will be encoded in the math elements
of the FunctionTerms listed for the given Transition.
The thresholdLevel is used by the FunctionTerms associated with the containing
Transition to determine the applicable resultLevel that should be applied. The id of the
Input represents this value and can be used in the math element of a FunctionTerm.
When defined, this attribute should be coherent with the content of the FunctionTerm, i.e.
if a number is used in the FunctionTerm to compare the current level of a species, this
number must correspond to the thresholdLevel of the corresponding Input. Since a number
can be used within the FunctionTerm to represent the thresholdLevel of an Input
it is not compulsory to use this attribute to specify the value. A missing thresholdLevel attribute
merely implies that the threshold is incorporated into the FunctionTerm using a number.thresholdLevel - the thresholdLevel to setpublic boolean unsetThresholdLevel()
true if unset the threholdLevel attribute was successfulpublic boolean equals(Object object)
equals in interface SBaseequals in class AbstractSBasepublic int hashCode()
hashCode in interface SBasehashCode in class AbstractSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBasepublic boolean containsUndeclaredUnits()
containsUndeclaredUnits in interface SBaseWithDerivedUnitpublic UnitDefinition getDerivedUnitDefinition()
getDerivedUnitDefinition in interface SBaseWithDerivedUnitpublic String getDerivedUnits()
getDerivedUnits in interface SBaseWithDerivedUnitCopyright © 2009–2017. All rights reserved.