public class FbcModelPlugin extends SBasePlugin
Constructor and Description |
---|
FbcModelPlugin(FbcModelPlugin orig)   |
FbcModelPlugin(String uri,
String prefix,
FbcPkgNamespaces fbcns)   |
getElementNamespace, getLevel, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, setElementNamespace
public FbcModelPlugin(FbcModelPlugin orig)
public FbcModelPlugin(String uri, String prefix, FbcPkgNamespaces fbcns)
public boolean acceptFbc(SWIGTYPE_p_FbcVisitor v)
public int addFluxBound(FluxBound bound)
public int addGeneAssociation(GeneAssociation association)
public int addObjective(Objective bound)
public SBasePlugin cloneObject()
SBasePlugin
object.
cloneObject
 in class SBasePlugin
SBase
objectpublic FluxBound createFluxBound()
public GeneAssociation createGeneAssociation()
public SBase createObject(XMLInputStream stream)
public Objective createObjective()
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 FbcModelPlugin.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 FbcModelPlugin.delete()
themselves.
delete
 in class SBasePlugin
public Objective getActiveObjective()
public String getActiveObjectiveId()
public SBase getElementByMetaId(String metaid)
metaid
, or null
if no such object is found.
getElementByMetaId
 in class SBasePlugin
metaid
- string representing the metaid of objects to find
metaid
.public SBase getElementBySId(String id)
id
in the model-wide SId namespace, or null
if no such object is found.
getElementBySId
 in class SBasePlugin
id
- string representing the id of objects to find
id
.public FluxBound getFluxBound(long n)
public FluxBound getFluxBound(String sid)
public ListOfFluxBounds getFluxBoundsForReaction(String reaction)
public GeneAssociation getGeneAssociation(long n)
public GeneAssociation getGeneAssociation(String sid)
public ListOfFluxBounds getListOfFluxBounds()
public ListOfGeneAssociations getListOfGeneAssociations()
public ListOfObjectives getListOfObjectives()
public long getNumFluxBounds()
public int getNumGeneAssociations()
public long getNumObjectives()
public Objective getObjective(long n)
public Objective getObjective(String sid)
public boolean hasRequiredElements()
public boolean readOtherXML(SBase parentObject, XMLInputStream stream)
public FluxBound removeFluxBound(long n)
public FluxBound removeFluxBound(String sid)
public GeneAssociation removeGeneAssociation(long n)
public GeneAssociation removeGeneAssociation(String sid)
public Objective removeObjective(long n)
public Objective removeObjective(String sid)
public int setActiveObjectiveId(String objectiveId)
public void unsetActiveObjectiveId()
public void writeAttributes(XMLOutputStream stream)