public class FbcExtension extends SBMLExtension
| Constructor and Description |
|---|
FbcExtension()
Constructor
|
FbcExtension(FbcExtension arg0)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FbcExtension |
cloneObject()
Creates and returns a deep copy of this
FbcExtension object. |
void |
delete()
Explicitly deletes the underlying native object.
|
SBase |
DowncastSBase(long cPtr,
boolean owner)
SBMLExtension derived classes must override this method
|
SBasePlugin |
DowncastSBasePlugin(long cPtr,
boolean owner)
SBMLExtension derived classes must override this method
|
static long |
getDefaultLevel()
Returns the default SBML Level this extension.
|
static long |
getDefaultPackageVersion()
Returns the default SBML version this extension.
|
static long |
getDefaultVersion()
Returns the default SBML Version this extension.
|
long |
getLevel(java.lang.String uri)
Returns the SBML Level for the given URI of this package.
|
java.lang.String |
getName()
Returns the name of this package ('fbc')
|
static java.lang.String |
getPackageName()
Returns the package name of this extension.
|
long |
getPackageVersion(java.lang.String uri)
Returns the package version for the given URI of this package.
|
SBMLNamespaces |
getSBMLExtensionNamespaces(java.lang.String uri)
Returns an
FbcPkgNamespaces object. |
java.lang.String |
getStringFromTypeCode(int typeCode)
Takes a type code of the &ldquofbc&rdquo package and returns a string
describing the code.
|
java.lang.String |
getURI(long sbmlLevel,
long sbmlVersion,
long pkgVersion)
Returns the namespace URI corresponding to the combination of the given
SBML Level, Version, and package version.
|
long |
getVersion(java.lang.String uri)
Returns the SBML Version for the given URI of this package.
|
static java.lang.String |
getXmlnsL3V1V1()
Returns URI of supported versions of this package.
|
addL2Namespaces, enableL2NamespaceForDocument, getCategory, getErrorIdOffset, getMessage, getNumOfSBasePlugins, getNumOfSupportedPackageURI, getSeverity, getShortMessage, getSupportedPackageURI, isEnabled, isInUse, isSupported, removeL2Namespaces, setEnabledpublic FbcExtension()
public FbcExtension(FbcExtension arg0)
public FbcExtension cloneObject()
FbcExtension object.
cloneObject in class SBMLExtensionFbcExtension 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 FbcExtension.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 FbcExtension.delete() themselves.
delete in class SBMLExtensionpublic SBase DowncastSBase(long cPtr, boolean owner)
SBMLExtensionDowncastSBase in class SBMLExtensionpublic SBasePlugin DowncastSBasePlugin(long cPtr, boolean owner)
SBMLExtensionDowncastSBasePlugin in class SBMLExtensionpublic static long getDefaultLevel()
public static long getDefaultPackageVersion()
public static long getDefaultVersion()
public long getLevel(java.lang.String uri)
getLevel in class SBMLExtensionuri - the string of URI that represents one of versions of the
&ldquofbc&rdquo package
0 if
the given URI is invalid.public java.lang.String getName()
getName in class SBMLExtensionpublic static java.lang.String getPackageName()
public long getPackageVersion(java.lang.String uri)
getPackageVersion in class SBMLExtensionuri - the string of URI that represents one of versions of the
&ldquofbc&rdquo package
0
if the given URI is invalid.public SBMLNamespaces getSBMLExtensionNamespaces(java.lang.String uri)
FbcPkgNamespaces object.
getSBMLExtensionNamespaces in class SBMLExtensionuri - the string of URI that represents one of versions of the
&ldquofbc&rdquo package
uri, or
null if the URI is not defined in the FBC package.public java.lang.String getStringFromTypeCode(int typeCode)
getStringFromTypeCode in class SBMLExtensionpublic java.lang.String getURI(long sbmlLevel, long sbmlVersion, long pkgVersion)
getURI in class SBMLExtensionsbmlLevel - the level of SBMLsbmlVersion - the version of SBMLpkgVersion - the version of package
public long getVersion(java.lang.String uri)
getVersion in class SBMLExtensionuri - the string of URI that represents one of versions of the
&ldquofbc&rdquo package
0 if
the given URI is invalid.public static java.lang.String getXmlnsL3V1V1()