org.sbml.jsbml.ext.spatial
public class SpatialCompartmentPlugin extends AbstractSpatialSBasePlugin
Modifier and Type | Field and Description |
---|---|
private CompartmentMapping |
compartmentMapping |
private static long |
serialVersionUID
Generated serial version identifier.
|
extendedSBase, packageVersion
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
SpatialCompartmentPlugin() |
SpatialCompartmentPlugin(Compartment compartment) |
SpatialCompartmentPlugin(SpatialCompartmentPlugin spatialCompartmentPlugin) |
Modifier and Type | Method and Description |
---|---|
SpatialCompartmentPlugin |
clone()
Creates a new instance of
SBasePlugin from this SBasePlugin . |
boolean |
getAllowsChildren() |
CompartmentMapping |
getChildAt(int index) |
int |
getChildCount() |
CompartmentMapping |
getCompartmentMapping()
Returns the value of compartmentMapping
|
Compartment |
getExtendedSBase()
Returns the SBase object that is extended by this plug-in.
|
ListOf<Compartment> |
getParent() |
ListOf<Compartment> |
getParentSBMLObject()
Returns the parent
SBase object to which this plugin object connected. |
boolean |
isSetCompartmentMapping()
Returns whether compartmentMapping is set
|
void |
setCompartmentMapping(CompartmentMapping compartmentMapping)
Sets the value of compartmentMapping
|
boolean |
unsetCompartmentMapping()
Unsets the variable compartmentMapping
|
getElementNamespace, getModel, getPackageName, getPrefix, getURI, readAttribute, writeXMLAttributes
equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getLevel, getPackageVersion, getSBMLDocument, getVersion, hashCode, isSetExtendedSBase, removeFromParent, setExtendedSBase
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, notifyChildChange, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private CompartmentMapping compartmentMapping
public SpatialCompartmentPlugin()
public SpatialCompartmentPlugin(Compartment compartment)
compartment
- public SpatialCompartmentPlugin(SpatialCompartmentPlugin spatialCompartmentPlugin)
spatialCompartmentPlugin
- public ListOf<Compartment> getParent()
getParent
in interface javax.swing.tree.TreeNode
getParent
in class AbstractSpatialSBasePlugin
public ListOf<Compartment> getParentSBMLObject()
SBasePlugin
SBase
object to which this plugin object connected.getParentSBMLObject
in interface SBasePlugin
getParentSBMLObject
in class AbstractSpatialSBasePlugin
SBase
object to which this plugin object connected.public Compartment getExtendedSBase()
SBasePlugin
getExtendedSBase
in interface SBasePlugin
getExtendedSBase
in class AbstractSBasePlugin
public SpatialCompartmentPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public CompartmentMapping getCompartmentMapping()
public boolean isSetCompartmentMapping()
public void setCompartmentMapping(CompartmentMapping compartmentMapping)
public boolean unsetCompartmentMapping()
true
, if compartmentMapping was set before,
otherwise false
public boolean getAllowsChildren()
public int getChildCount()
public CompartmentMapping getChildAt(int index)