public class FbcSpeciesPlugin extends SBasePlugin
Constructor and Description |
---|
FbcSpeciesPlugin(FbcSpeciesPlugin orig)   |
FbcSpeciesPlugin(String uri,
String prefix,
FbcPkgNamespaces fbcns)   |
Modifier and Type | Method and Description |
---|---|
SBasePlugin |
cloneObject()
Creates and returns a deep copy of this
SBasePlugin object. |
void |
delete()
Explicitly deletes the underlying native object.
|
int |
getCharge()   |
String |
getChemicalFormula()   |
boolean |
isSetCharge()   |
boolean |
isSetChemicalFormula()   |
int |
setCharge(int charge)   |
int |
setChemicalFormula(String chemicalFormula)   |
int |
unsetCharge()   |
int |
unsetChemicalFormula()   |
getElementByMetaId, getElementBySId, getElementNamespace, getLevel, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, setElementNamespace
public FbcSpeciesPlugin(FbcSpeciesPlugin orig)
public FbcSpeciesPlugin(String uri, String prefix, FbcPkgNamespaces fbcns)
public SBasePlugin cloneObject()
SBasePlugin
object.
cloneObject
 in class SBasePlugin
SBase
objectpublic 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 FbcSpeciesPlugin.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 FbcSpeciesPlugin.delete()
themselves.
delete
 in class SBasePlugin
public int getCharge()
public String getChemicalFormula()
public boolean isSetCharge()
public boolean isSetChemicalFormula()
public int setCharge(int charge)
public int setChemicalFormula(String chemicalFormula)
public int unsetCharge()
public int unsetChemicalFormula()