Constructor and Description |
---|
FluxBound()
Creates a new
FluxBound with the given level, version, and package version. |
FluxBound(FbcPkgNamespaces fbcns)
Creates a new
FluxBound with the given FbcPkgNamespaces object. |
FluxBound(FluxBound source)
Copy constructor.
|
FluxBound(long level)
Creates a new
FluxBound with the given level, version, and package version. |
FluxBound(long level,
long version)
Creates a new
FluxBound with the given level, version, and package version. |
FluxBound(long level,
long version,
long pkgVersion)
Creates a new
FluxBound with the given level, version, and package version. |
Modifier and Type | Method and Description |
---|---|
FluxBound |
cloneObject()
Creates and returns a deep copy of this
FluxBound . |
void |
delete()
Explicitly deletes the underlying native object.
|
java.lang.String |
getElementName()
Returns the XML element name of
this SBML object.
|
int |
getFluxBoundOperation()
Returns the value of the 'operation' attribute of this
FluxBound . |
java.lang.String |
getId()
Returns the value of the 'id' attribute of this
FluxBound . |
java.lang.String |
getName()
Returns the value of the 'name' attribute of this
FluxBound . |
java.lang.String |
getOperation()
Returns the value of the 'operation' attribute of this
FluxBound . |
java.lang.String |
getReaction()
Returns the value of the 'reaction' attribute of this
FluxBound . |
int |
getTypeCode()
Returns the libSBML type code of this object instance.
|
double |
getValue()
Returns the value of the 'value' attribute of this
FluxBound . |
boolean |
isSetId()
Predicate returning
true or false depending on whether this
FluxBound 's 'id' attribute has been set. |
boolean |
isSetName()
Predicate returning
true or false depending on whether this
FluxBound 's 'name' attribute has been set. |
boolean |
isSetOperation()
Predicate returning
true or false depending on whether this
FluxBound 's 'operation' attribute has been set. |
boolean |
isSetReaction()
Predicate returning
true or false depending on whether this
FluxBound 's 'reaction' attribute has been set. |
boolean |
isSetValue()
Predicate returning
true or false depending on whether this
FluxBound 's 'value' attribute has been set. |
void |
renameSIdRefs(java.lang.String oldid,
java.lang.String newid)
Renames all the
SIdRef attributes on this element, including any
found in MathML content (if such exists). |
int |
setId(java.lang.String id)
Sets the value of the 'id' attribute of this
FluxBound . |
int |
setName(java.lang.String name)
Sets the value of the 'name' attribute of this
FluxBound . |
int |
setOperation(int operation)
Sets the value of the 'operation' attribute of this
FluxBound . |
int |
setOperation(java.lang.String operation)
Sets the value of the 'operation' attribute of this
FluxBound . |
int |
setReaction(java.lang.String reaction)
Sets the value of the 'reaction' attribute of this
FluxBound . |
int |
setValue(double value)
Sets the value of the 'value' attribute of this
FluxBound . |
int |
unsetId()
Unsets the value of the 'id' attribute of this
FluxBound . |
int |
unsetName()
Unsets the value of the 'name' attribute of this
FluxBound . |
int |
unsetOperation()
Unsets the value of the 'operation' attribute of this
FluxBound . |
int |
unsetReaction()
Unsets the value of the 'reaction' attribute of this
FluxBound . |
int |
unsetValue()
Unsets the value of the 'value' attribute of this
FluxBound . |
addCVTerm, addCVTerm, appendAnnotation, appendAnnotation, appendNotes, appendNotes, disablePackage, enablePackage, equals, getAncestorOfType, getAncestorOfType, getAnnotation, getAnnotationString, getColumn, getCVTerm, getCVTerms, getElementByMetaId, getElementBySId, getLevel, getLine, getListOfAllElements, getListOfAllElements, getListOfAllElementsFromPlugins, getListOfAllElementsFromPlugins, getMetaId, getModel, getModelHistory, getNamespaces, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getPlugin, getPrefix, getResourceBiologicalQualifier, getResourceModelQualifier, getSBMLDocument, getSBOTerm, getSBOTermAsURL, getSBOTermID, getURI, getVersion, hashCode, hasValidLevelVersionNamespaceCombination, isPackageEnabled, isPackageURIEnabled, isSetAnnotation, isSetMetaId, isSetModelHistory, isSetNotes, isSetSBOTerm, matchesRequiredSBMLNamespacesForAddition, matchesSBMLNamespaces, removeFromParentAndDelete, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, renameMetaIdRefs, renameUnitSIdRefs, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setMetaId, setModelHistory, setNamespaces, setNotes, setNotes, setNotes, setSBOTerm, setSBOTerm, toSBML, toXMLNode, unsetAnnotation, unsetCVTerms, unsetMetaId, unsetModelHistory, unsetNotes, unsetSBOTerm
public FluxBound() throws SBMLConstructorException
FluxBound
with the given level, version, and package version.SBMLConstructorException
public FluxBound(FbcPkgNamespaces fbcns) throws SBMLConstructorException
FluxBound
with the given FbcPkgNamespaces
object.SBMLConstructorException
public FluxBound(FluxBound source) throws SBMLConstructorException
SBMLConstructorException
public FluxBound(long level) throws SBMLConstructorException
FluxBound
with the given level, version, and package version.SBMLConstructorException
public FluxBound(long level, long version) throws SBMLConstructorException
FluxBound
with the given level, version, and package version.SBMLConstructorException
public FluxBound(long level, long version, long pkgVersion) throws SBMLConstructorException
FluxBound
with the given level, version, and package version.SBMLConstructorException
public FluxBound cloneObject()
FluxBound
.
cloneObject
 in class SBase
FluxBound
.public void delete()
In general, application software will not need to call this method directly. The Java language binding for libSBML is implemented as a language wrapper that provides a Java interface to libSBML's underlying C++/C code. Some of the Java methods return objects that are linked to objects created not by Java code, but by C++ code. The Java objects wrapped around them will be deleted when the garbage collector invokes the corresponding C++ finalize()
methods for the objects. The finalize()
methods in turn call the FluxBound.delete()
method on the libSBML object.
This method is exposed in case calling programs want to ensure that the underlying object is freed immediately, and not at some arbitrary time determined by the Java garbage collector. In normal usage, callers do not need to invoke FluxBound.delete()
themselves.
public java.lang.String getElementName()
getElementName
 in class SBase
public int getFluxBoundOperation()
FluxBound
.
FluxBound
.public java.lang.String getId()
FluxBound
.
public java.lang.String getName()
FluxBound
.
public java.lang.String getOperation()
FluxBound
.
FluxBound
.public java.lang.String getReaction()
FluxBound
.
FluxBound
.public int getTypeCode()
LibSBML attaches an identifying code to every kind of SBML object. These
are integer constants known as SBML type codes. The names of all
the codes begin with the characters &ldquoSBML_
&rdquo.
In the Java language interface for libSBML, the
type codes are defined as static integer constants in the interface class
libsbmlConstants
. Note that different Level 3
package plug-ins may use overlapping type codes to identify the package
to which a given object belongs, call the getPackageName()
method on the object.
getTypeCode
 in class SBase
SBML_FBC_FLUXBOUND
FluxBound.getElementName()
,
SBase.getPackageName()
public double getValue()
FluxBound
.
FluxBound
.public boolean isSetId()
true
or false
depending on whether this
FluxBound
's 'id' attribute has been set.
public boolean isSetName()
true
or false
depending on whether this
FluxBound
's 'name' attribute has been set.
public boolean isSetOperation()
true
or false
depending on whether this
FluxBound
's 'operation' attribute has been set.
true
if this FluxBound
's 'operation' attribute has been set,
otherwise false
is returned.public boolean isSetReaction()
true
or false
depending on whether this
FluxBound
's 'reaction' attribute has been set.
true
if this FluxBound
's 'reaction' attribute has been set,
otherwise false
is returned.public boolean isSetValue()
true
or false
depending on whether this
FluxBound
's 'value' attribute has been set.
true
if this FluxBound
's 'value' attribute has been set,
otherwise false
is returned.public void renameSIdRefs(java.lang.String oldid, java.lang.String newid)
SIdRef
attributes on this element, including any
found in MathML content (if such exists).
This method works by looking at all attributes and (if appropriate)
mathematical formulas, comparing the identifiers to the value of @p
oldid. If any matches are found, the matching identifiers are replaced
with newid
. The method does not descend into child elements.
renameSIdRefs
 in class SBase
oldid
- the old identifiernewid
- the new identifierpublic int setId(java.lang.String id)
FluxBound
.
public int setName(java.lang.String name)
FluxBound
.
public int setOperation(int operation)
FluxBound
.
public int setOperation(java.lang.String operation)
FluxBound
.
public int setReaction(java.lang.String reaction)
FluxBound
.
public int setValue(double value)
FluxBound
.
public int unsetId()
FluxBound
.
public int unsetName()
FluxBound
.
public int unsetOperation()
FluxBound
.
public int unsetReaction()
FluxBound
.
public int unsetValue()
FluxBound
.