public interface Assignment extends MathContainer, UniqueSId
Assignment
can be seen as a mathematical equation with a
Variable
on the left hand side and an equation on the right hand side
that assigns a value to the Variable
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVariable()
Returns the variableID of this
Assignment . |
Variable |
getVariableInstance()
Returns the
Variable instance which has the variableID of this
Assignment as id. |
boolean |
isSetVariable()
|
boolean |
isSetVariableInstance()
Returns
true if the Variable instance which has the variableID of
this Assignment as id is not null . |
void |
setVariable(java.lang.String variableID)
Sets the variableID of this
Assignment to the given value. |
void |
setVariable(Variable variable)
Sets the variableID of this
Assignment to the id of the
Variable 'variable'.Listeners are notified about this change. |
void |
unsetVariable()
|
getFormula, getMath, getMathMLString, isSetMath, setFormula, setMath, unsetFormula, unsetMath
containsUndeclaredUnits, getDerivedUnitDefinition, getDerivedUnits
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, clone, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, readAttribute, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNotes, unsetPlugin, unsetSBOTerm, writeXMLAttributes
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
java.lang.String getVariable()
Assignment
. Returns an empty
String
if it is not set.Assignment
. Returns an empty
String
if it is not set.Variable getVariableInstance()
Variable
instance which has the variableID of this
Assignment
as id. Return null if it doesn't exist.Variable
instance which has the variableID of this
Assignment
as id. Return null if it doesn't exist.boolean isSetVariable()
true
if the variableID of this Assignment
is not null
.boolean isSetVariableInstance()
true
if the Variable
instance which has the variableID of
this Assignment
as id is not null
.true
if the Variable
instance which has the variableID of
this Assignment
as id is not null
.void setVariable(java.lang.String variableID)
Assignment
to the given value. Listeners
are notified about this change.variableID
- the variable to setvoid setVariable(Variable variable)
Assignment
to the id of the
Variable
'variable'.Listeners are notified about this change.variable
- the variable to setvoid unsetVariable()