public interface SBasePlugin extends TreeNodeWithChangeSupport
SBase
Plugin. When an SBML level 3 package is
extending one of the core SBML elements with additional attributes or child
elements, an SBasePlugin
is created to serve as a place holder for
these new attributes or elements.Modifier and Type | Method and Description |
---|---|
SBasePlugin |
clone()
Creates a new instance of
SBasePlugin from this SBasePlugin . |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getElementNamespace()
Returns the XML namespace (URI) of the package extension of this plugin object.
|
SBase |
getExtendedSBase()
Returns the SBase object that is extended by this plug-in.
|
int |
getLevel()
Returns the SBML level of this plugin object.
|
java.lang.String |
getPackageName()
Returns the package name of this plugin object.
|
int |
getPackageVersion()
Returns the package version of the package extension of this plugin object.
|
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.
|
SBMLDocument |
getSBMLDocument()
Returns the parent
SBMLDocument of this plugin object. |
java.lang.String |
getURI()
Gets the URI to which this element belongs to.
|
int |
getVersion()
Returns the SBML version of this plugin object.
|
int |
hashCode() |
boolean |
isSetExtendedSBase()
Check whether an extended SBase has been set.
|
boolean |
isSetPackageVersion()
Returns
true if a package version is set, false otherwise. |
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 |
setPackageVersion(int packageVersion)
Sets the package version.
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a
Map containing the XML attributes of this object. |
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
SBasePlugin clone()
SBasePlugin
from this SBasePlugin
.SBasePlugin
from this SBasePlugin
.boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
java.lang.String getElementNamespace()
getURI()
SBase getExtendedSBase()
int getLevel()
SBase.getLevel()
java.lang.String getPackageName()
int getPackageVersion()
SBase getParentSBMLObject()
SBase
object to which this plugin object connected.SBase
object to which this plugin object connected.java.lang.String getPrefix()
SBMLDocument getSBMLDocument()
SBMLDocument
of this plugin object.SBMLDocument
object of this plugin object.java.lang.String getURI()
getElementNamespace()
int getVersion()
SBase.getVersion()
int hashCode()
hashCode
in class java.lang.Object
boolean isSetExtendedSBase()
boolean isSetPackageVersion()
true
if a package version is set, false
otherwise.true
if a package version is set, false
otherwise.boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBasePlugin
.attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.void setPackageVersion(int packageVersion)
packageVersion
- the packageVersion to setjava.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
Map
containing the XML attributes of this object.Map
containing the XML attributes of this object.