java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, ASTNodePlugin
, TreeNodeWithChangeSupport
public class MultiASTNodePlugin extends AbstractASTNodePlugin
Constructor | Description |
---|---|
MultiASTNodePlugin() |
|
MultiASTNodePlugin(ASTNode astNode) |
|
MultiASTNodePlugin(MultiASTNodePlugin multiASTNodePlugin) |
Modifier and Type | Method | Description |
---|---|---|
MultiASTNodePlugin |
clone() |
Creates a new instance of
ASTNodePlugin from this ASTNodePlugin . |
boolean |
equals(java.lang.Object obj) |
|
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
|
int |
getChildCount() |
|
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.
|
RepresentationType |
getRepresentationType() |
Returns the value of
representationType . |
java.lang.String |
getSpeciesReference() |
Returns the value of
speciesReference . |
java.lang.String |
getURI() |
Gets the URI to which this element belongs to.
|
int |
hashCode() |
|
boolean |
isSetRepresentationType() |
Returns whether
representationType is set. |
boolean |
isSetSpeciesReference() |
Returns whether
speciesReference 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 |
setRepresentationType(RepresentationType representationType) |
Sets the value of representationType
|
void |
setSpeciesReference(java.lang.String speciesReference) |
Sets the value of speciesReference
|
boolean |
unsetRepresentationType() |
Unsets the variable representationType.
|
boolean |
unsetSpeciesReference() |
Unsets the variable speciesReference.
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedASTNode, getLevel, getPackageVersion, getParentSBMLObject, getSBMLDocument, getVersion, isSetExtendedASTNode, isSetPackageVersion, removeFromParent, setExtendedASTNode, 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 MultiASTNodePlugin()
public MultiASTNodePlugin(MultiASTNodePlugin multiASTNodePlugin)
public MultiASTNodePlugin(ASTNode astNode)
public java.lang.String getSpeciesReference()
speciesReference
.speciesReference
.public boolean isSetSpeciesReference()
speciesReference
is set.speciesReference
is set.public void setSpeciesReference(java.lang.String speciesReference)
speciesReference
- the value of speciesReference to be set.public boolean unsetSpeciesReference()
true
if speciesReference was set before, otherwise false
.public RepresentationType getRepresentationType()
representationType
.representationType
.public boolean isSetRepresentationType()
representationType
is set.representationType
is set.public void setRepresentationType(RepresentationType representationType)
representationType
- the value of representationType to be set.public boolean unsetRepresentationType()
true
if representationType was set before, otherwise false
.public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
ASTNodePlugin
Map
containing the XML attributes of this object.writeXMLAttributes
in interface ASTNodePlugin
writeXMLAttributes
in class AbstractASTNodePlugin
Map
containing the XML attributes of this object.public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
ASTNodePlugin
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 int hashCode()
hashCode
in interface ASTNodePlugin
hashCode
in class AbstractASTNodePlugin
public boolean equals(java.lang.Object obj)
equals
in interface ASTNodePlugin
equals
in class AbstractASTNodePlugin
public java.lang.String getPackageName()
ASTNodePlugin
public java.lang.String getPrefix()
ASTNodePlugin
public java.lang.String getURI()
ASTNodePlugin
ASTNodePlugin.getElementNamespace()
public javax.swing.tree.TreeNode getChildAt(int childIndex)
public int getChildCount()
public boolean getAllowsChildren()
public MultiASTNodePlugin clone()
ASTNodePlugin
ASTNodePlugin
from this ASTNodePlugin
.clone
in interface ASTNodePlugin
clone
in class AbstractASTNodePlugin
ASTNodePlugin
from this ASTNodePlugin
.