public class FluxObjective
extends org.sbml.jsbml.AbstractNamedSBase
implements org.sbml.jsbml.UniqueNamedSBase
FluxObjective class is a relatively simple container for a model
variable weighted by a signed linear coefficient.| Constructor and Description |
|---|
FluxObjective()
Creates an FluxObjective instance
|
FluxObjective(FluxObjective obj)
Clone constructor
|
FluxObjective(int level,
int version)
Creates a FluxObjective instance with a level and version.
|
FluxObjective(String id)
Creates a FluxObjective instance with an id.
|
FluxObjective(String id,
int level,
int version)
Creates a FluxObjective instance with an id, level, and version.
|
FluxObjective(String id,
String name,
int level,
int version)
Creates a FluxObjective instance with an id, name, level, and version.
|
| Modifier and Type | Method and Description |
|---|---|
FluxObjective |
clone()
clones this class
|
boolean |
equals(Object obj) |
double |
getCoefficient()
Returns the value of coefficient
|
String |
getReaction()
Returns the value of reaction
|
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isIdMandatory() |
boolean |
isSetCoefficient()
Returns whether coefficient is set
|
boolean |
isSetReaction()
Returns whether reaction is set
|
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setCoefficient(double coefficient)
The coefficient attribute takes the value of the coefficient that the FluxObjective
takes in the context of the enclosing
Objective class. |
void |
setReaction(org.sbml.jsbml.Reaction reaction) |
void |
setReaction(String reaction)
Sets the reaction that thie
FluxObjective is associated with in the context
of the enclosing Objective class. |
boolean |
unsetCoefficient()
Unsets the variable coefficient
|
boolean |
unsetReaction()
Unsets the variable reaction
|
Map<String,String> |
writeXMLAttributes() |
getId, getName, isSetId, isSetName, isValidId, setId, setName, toString, 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 FluxObjective()
public FluxObjective(int level,
int version)
level - version - public FluxObjective(String id)
id - public FluxObjective(String id, int level, int version)
id - level - version - public FluxObjective(String id, String name, int level, int version)
id - name - level - version - public FluxObjective(FluxObjective obj)
obj - public FluxObjective clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class org.sbml.jsbml.AbstractNamedSBasepublic boolean equals(Object obj)
equals in interface org.sbml.jsbml.SBaseequals in class org.sbml.jsbml.AbstractNamedSBasepublic double getCoefficient()
public String getReaction()
public boolean isSetReaction()
public void initDefaults()
public boolean isIdMandatory()
isIdMandatory in interface org.sbml.jsbml.NamedSBasepublic boolean isSetCoefficient()
public boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface org.sbml.jsbml.SBasereadAttribute in class org.sbml.jsbml.AbstractNamedSBasepublic void setCoefficient(double coefficient)
Objective class.coefficient - the coefficient to setpublic void setReaction(org.sbml.jsbml.Reaction reaction)
reaction - public void setReaction(String reaction)
FluxObjective is associated with in the context
of the enclosing Objective class.reaction - the reaction to setpublic boolean unsetCoefficient()
true, if coefficient was set before,
otherwise falsepublic boolean unsetReaction()
true, if reaction was set before,
otherwise falseCopyright © 2009–2016. All rights reserved.