java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
MultiSpeciesReferencePlugin
public class MultiSimpleSpeciesReferencePlugin extends AbstractSBasePlugin
Constructor | Description |
---|---|
MultiSimpleSpeciesReferencePlugin() |
Creates an MultiSimpleSpeciesReferencePlugin instance
|
MultiSimpleSpeciesReferencePlugin(MultiSimpleSpeciesReferencePlugin obj) |
Clone constructor
|
MultiSimpleSpeciesReferencePlugin(SimpleSpeciesReference simpleSpeciesRef) |
Creates a MultiSimpleSpeciesReferencePlugin instance with a
SimpleSpeciesReference . |
Modifier and Type | Method | Description |
---|---|---|
MultiSimpleSpeciesReferencePlugin |
clone() |
clones this class
|
boolean |
equals(java.lang.Object obj) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int index) |
|
int |
getChildCount() |
|
java.lang.String |
getCompartmentReference() |
Returns the value of
compartmentReference . |
java.lang.String |
getPackageName() |
Returns the package name of this plugin object.
|
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 the default values using the namespace.
|
boolean |
isSetCompartmentReference() |
Returns whether
compartmentReference 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 |
setCompartmentReference(java.lang.String compartmentReference) |
Sets the value of compartmentReference
|
boolean |
unsetCompartmentReference() |
Unsets the variable compartmentReference.
|
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, getParentSBMLObject, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, 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 MultiSimpleSpeciesReferencePlugin()
public MultiSimpleSpeciesReferencePlugin(SimpleSpeciesReference simpleSpeciesRef)
SimpleSpeciesReference
.simpleSpeciesRef
- the SimpleSpeciesReference
for the new element.public MultiSimpleSpeciesReferencePlugin(MultiSimpleSpeciesReferencePlugin obj)
public MultiSimpleSpeciesReferencePlugin clone()
clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public void initDefaults()
public int hashCode()
hashCode
in interface SBasePlugin
hashCode
in class AbstractSBasePlugin
public boolean equals(java.lang.Object obj)
equals
in interface SBasePlugin
equals
in class AbstractSBasePlugin
public java.lang.String getPackageName()
SBasePlugin
public java.lang.String getPrefix()
SBasePlugin
public java.lang.String getURI()
SBasePlugin
SBasePlugin.getElementNamespace()
public java.lang.String getCompartmentReference()
compartmentReference
.compartmentReference
.public boolean isSetCompartmentReference()
compartmentReference
is set.compartmentReference
is set.public void setCompartmentReference(java.lang.String compartmentReference)
compartmentReference
- the value of compartmentReference to be set.public boolean unsetCompartmentReference()
true
if compartmentReference was set before, otherwise false
.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 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 boolean getAllowsChildren()
public int getChildCount()
public javax.swing.tree.TreeNode getChildAt(int index)