public class CompSBMLDocumentPlugin extends SBMLDocumentPlugin
Constructor and Description |
---|
CompSBMLDocumentPlugin(CompSBMLDocumentPlugin orig)   |
CompSBMLDocumentPlugin(String uri,
String prefix,
CompPkgNamespaces compns)   |
getRequired, isSetRequired, setRequired, unsetRequired
getElementNamespace, getLevel, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, setElementNamespace
public CompSBMLDocumentPlugin(CompSBMLDocumentPlugin orig)
public CompSBMLDocumentPlugin(String uri, String prefix, CompPkgNamespaces compns)
public boolean acceptComp(SWIGTYPE_p_CompVisitor v)
public int addExternalModelDefinition(ExternalModelDefinition externalModelDefinition)
public int addModelDefinition(ModelDefinition modelDefinition)
public SBasePlugin cloneObject()
SBMLDocumentPlugin
object.
cloneObject
 in class SBMLDocumentPlugin
public void connectToChild()
public ExternalModelDefinition createExternalModelDefinition()
public ModelDefinition createModelDefinition()
public SBase createObject(XMLInputStream stream)
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 CompSBMLDocumentPlugin.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 CompSBMLDocumentPlugin.delete()
themselves.
delete
 in class SBMLDocumentPlugin
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 ExternalModelDefinition getExternalModelDefinition(long n)
public ExternalModelDefinition getExternalModelDefinition(String sid)
public ListOfExternalModelDefinitions getListOfExternalModelDefinitions()
public ListOfModelDefinitions getListOfModelDefinitions()
public ModelDefinition getModelDefinition(long n)
public ModelDefinition getModelDefinition(String sid)
public long getNumExternalModelDefinitions()
public long getNumModelDefinitions()
public ExternalModelDefinition removeExternalModelDefinition(long index)
public ExternalModelDefinition removeExternalModelDefinition(String id)
public ModelDefinition removeModelDefinition(long index)
public ModelDefinition removeModelDefinition(String id)