java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
DynCompartmentPlugin
, DynEventPlugin
public class DynSBasePlugin extends AbstractSBasePlugin
Constructor | Description |
---|---|
DynSBasePlugin() |
Empty constructor
|
DynSBasePlugin(DynSBasePlugin plugin) |
Constructor
|
DynSBasePlugin(SBase extendedSBase) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
DynSBasePlugin |
clone() |
Creates a new instance of
SBasePlugin from this SBasePlugin . |
boolean |
equals(java.lang.Object object) |
|
boolean |
getAllowsChildren() |
|
Term |
getCBOTerm() |
Returns the value of CBO
|
javax.swing.tree.TreeNode |
getChildAt(int arg0) |
|
int |
getChildCount() |
|
java.lang.String |
getPackageName() |
Returns the package name of this plugin object.
|
SBase |
getParent() |
|
SBase |
getParentSBMLObject() |
Returns the parent
SBase object to which this plugin object connected. |
java.lang.String |
getPrefix() |
Returns the prefix of the package extension of this plugin object.
|
java.lang.String |
getURI() |
Gets the URI to which this element belongs to.
|
int |
hashCode() |
|
void |
initDefaults() |
Initializes custom Class attributes
|
boolean |
isSetCBOTerm() |
Returns whether CBO is set
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
Reads and sets the attribute if it is know from this
SBasePlugin . |
void |
setCBOTerm(Term cboTerm) |
Sets the value of CBO
|
boolean |
unsetCBOTerm() |
Unsets the cboTerm field
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
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 DynSBasePlugin()
public DynSBasePlugin(DynSBasePlugin plugin)
plugin
- public DynSBasePlugin(SBase extendedSBase)
extendedSBase
- public void initDefaults()
public Term getCBOTerm()
public boolean isSetCBOTerm()
public void setCBOTerm(Term cboTerm)
cboTerm
- public boolean unsetCBOTerm()
true
, if cboTerm was set before, otherwise false
public SBase getParent()
getParent
in interface javax.swing.tree.TreeNode
getParent
in class AbstractTreeNode
public SBase getParentSBMLObject()
SBasePlugin
SBase
object to which this plugin object connected.getParentSBMLObject
in interface SBasePlugin
getParentSBMLObject
in class AbstractSBasePlugin
SBase
object to which this plugin object connected.public java.lang.String getPackageName()
SBasePlugin
public java.lang.String getPrefix()
SBasePlugin
public java.lang.String getURI()
SBasePlugin
SBasePlugin.getElementNamespace()
public boolean equals(java.lang.Object object)
equals
in interface SBasePlugin
equals
in class AbstractSBasePlugin
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin
public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public DynSBasePlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBasePlugin
Map
containing the XML attributes of this object.writeXMLAttributes
in interface SBasePlugin
writeXMLAttributes
in class AbstractSBasePlugin
Map
containing the XML attributes of this object.public boolean getAllowsChildren()
public javax.swing.tree.TreeNode getChildAt(int arg0)
public int getChildCount()