public class LayoutModelPlugin extends SBasePlugin
Constructor and Description |
---|
LayoutModelPlugin(LayoutModelPlugin orig)   |
LayoutModelPlugin(String uri,
String prefix,
LayoutPkgNamespaces layoutns)   |
Modifier and Type | Method and Description |
---|---|
int |
addLayout(Layout layout)   |
SBasePlugin |
cloneObject()
Creates and returns a deep copy of this
SBasePlugin object. |
Layout |
createLayout()   |
void |
delete()
Explicitly deletes the underlying native object.
|
Layout |
getLayout(long index)   |
Layout |
getLayout(String sid)   |
ListOfLayouts |
getListOfLayouts()   |
int |
getNumLayouts()   |
Layout |
removeLayout(long n)   |
getElementByMetaId, getElementBySId, getElementNamespace, getLevel, getListOfAllElements, getPackageName, getPackageVersion, getParentSBMLObject, getPrefix, getSBMLDocument, getURI, getVersion, setElementNamespace
public LayoutModelPlugin(LayoutModelPlugin orig)
public LayoutModelPlugin(String uri, String prefix, LayoutPkgNamespaces layoutns)
public SBasePlugin cloneObject()
SBasePlugin
object.
cloneObject
 in class SBasePlugin
SBase
objectpublic Layout createLayout()
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 LayoutModelPlugin.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 LayoutModelPlugin.delete()
themselves.
delete
 in class SBasePlugin
public ListOfLayouts getListOfLayouts()
public int getNumLayouts()
public Layout removeLayout(long n)