org.sbml.jsbml.ext.spatial
public class SpatialReactionPlugin extends AbstractSpatialSBasePlugin
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
isLocal |
private static long |
serialVersionUID
Generated serial version identifier.
|
extendedSBase, packageVersion
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
SpatialReactionPlugin() |
SpatialReactionPlugin(Reaction rxn) |
SpatialReactionPlugin(SpatialReactionPlugin spr) |
Modifier and Type | Method and Description |
---|---|
SpatialReactionPlugin |
clone()
Creates a new instance of
SBasePlugin from this SBasePlugin . |
boolean |
equals(java.lang.Object object) |
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
Reaction |
getExtendedSBase()
Returns the SBase object that is extended by this plug-in.
|
boolean |
getIsLocal()
Returns the value of isLocal
|
int |
hashCode() |
boolean |
isLocal() |
boolean |
isSetIsLocal()
Returns whether isLocal 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 |
setIsLocal(boolean isLocal)
Sets the value of isLocal
|
java.lang.String |
toString() |
boolean |
unsetIsLocal()
Unsets the variable isLocal
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a
Map containing the XML attributes of this object. |
getElementNamespace, getModel, getPackageName, getParent, getParentSBMLObject, getPrefix, getURI
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getLevel, getPackageVersion, getSBMLDocument, getVersion, 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, 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 java.lang.Boolean isLocal
public SpatialReactionPlugin()
public SpatialReactionPlugin(Reaction rxn)
public SpatialReactionPlugin(SpatialReactionPlugin spr)
node
- public SpatialReactionPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public boolean equals(java.lang.Object object)
equals
in interface SBasePlugin
equals
in class AbstractSBasePlugin
public Reaction getExtendedSBase()
SBasePlugin
getExtendedSBase
in interface SBasePlugin
getExtendedSBase
in class AbstractSBasePlugin
public boolean getIsLocal()
public boolean isSetIsLocal()
public boolean isLocal()
public void setIsLocal(boolean isLocal)
public boolean unsetIsLocal()
true
, if isLocal was set before,
otherwise false
public boolean getAllowsChildren()
public int getChildCount()
public javax.swing.tree.TreeNode getChildAt(int index)
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin
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 AbstractSpatialSBasePlugin
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
SBasePlugin
.readAttribute
in interface SBasePlugin
readAttribute
in class AbstractSpatialSBasePlugin
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public java.lang.String toString()
toString
in class AbstractTreeNode