java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
public class SpatialCompartmentPlugin extends AbstractSpatialSBasePlugin
Constructor | Description |
---|---|
SpatialCompartmentPlugin() |
|
SpatialCompartmentPlugin(Compartment compartment) |
|
SpatialCompartmentPlugin(SpatialCompartmentPlugin spatialCompartmentPlugin) |
Modifier and Type | Method | 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. |
int |
hashCode() |
|
boolean |
isSetCompartmentMapping() |
Returns whether compartmentMapping is set
|
void |
setCompartmentMapping(CompartmentMapping compartmentMapping) |
Sets the value of compartmentMapping
|
boolean |
unsetCompartmentMapping() |
Unsets the variable compartmentMapping
|
equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getLevel, getPackageVersion, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
getModel, getPackageName, getPrefix, getURI, initDefaults, readAttribute, writeXMLAttributes
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySet
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
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 AbstractSpatialSBasePlugin
SBasePlugin
from this SBasePlugin
.public CompartmentMapping getCompartmentMapping()
public boolean isSetCompartmentMapping()
public void setCompartmentMapping(CompartmentMapping compartmentMapping)
compartmentMapping
- public boolean unsetCompartmentMapping()
true
, if compartmentMapping was set before,
otherwise false
public boolean getAllowsChildren()
public int getChildCount()
public CompartmentMapping getChildAt(int index)
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin