org.sbml.jsbml.ext.multi
public class MultiSpecies extends AbstractSBasePlugin
Modifier and Type | Field and Description |
---|---|
private ListOf<SpeciesTypeInstance> |
listOfSpeciesTypeInstances |
private static long |
serialVersionUID
Generated serial version identifier.
|
private Species |
species |
extendedSBase, packageVersion
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
MultiSpecies(MultiSpecies multiSpecies) |
MultiSpecies(Species species) |
Modifier and Type | Method and Description |
---|---|
void |
addSpeciesTypeInstance(SpeciesTypeInstance speciesTypeInstance) |
MultiSpecies |
clone()
Creates a new instance of
SBasePlugin from this SBasePlugin . |
SpeciesTypeInstance |
createSpeciesTypeInstance(java.lang.String id) |
boolean |
getAllowsChildren() |
SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
java.lang.String |
getElementNamespace()
Returns the XML namespace (URI) of the package extension of this plugin object.
|
SpeciesTypeInstance |
getInitialSpeciesInstance(java.lang.String id) |
ListOf<SpeciesTypeInstance> |
getListOfSpeciesTypeInstances() |
java.lang.String |
getPackageName()
Returns the package name of this plugin object.
|
ListOf<Species> |
getParent() |
ListOf<Species> |
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.
|
SpeciesTypeInstance |
getSpeciesTypeInstance(int n) |
java.lang.String |
getURI()
Gets the URI to which this element belongs to.
|
boolean |
isSetListOfSpeciesInstances() |
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 . |
java.lang.String |
toString() |
boolean |
unsetListOfInitialSpeciesInstances()
Removes the
listOfSpeciesTypeInstances from this Model and notifies
all registered instances of TreeNodeChangeListener . |
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes()
Returns a
Map containing the XML attributes of this object. |
equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, hashCode, 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 ListOf<SpeciesTypeInstance> listOfSpeciesTypeInstances
private Species species
public MultiSpecies(Species species)
species
- public MultiSpecies(MultiSpecies multiSpecies)
multiSpecies
- public java.lang.String getElementNamespace()
SBasePlugin
public java.lang.String getPackageName()
SBasePlugin
public java.lang.String getPrefix()
SBasePlugin
public java.lang.String getURI()
SBasePlugin
public ListOf<Species> getParent()
getParent
in interface javax.swing.tree.TreeNode
getParent
in class AbstractTreeNode
public ListOf<Species> 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 MultiSpecies clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public boolean getAllowsChildren()
public SBase getChildAt(int childIndex)
public int getChildCount()
public void addSpeciesTypeInstance(SpeciesTypeInstance speciesTypeInstance)
speciesTypeInstance
- public SpeciesTypeInstance getSpeciesTypeInstance(int n)
n
- public SpeciesTypeInstance getInitialSpeciesInstance(java.lang.String id)
id
- public ListOf<SpeciesTypeInstance> getListOfSpeciesTypeInstances()
public boolean isSetListOfSpeciesInstances()
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 java.lang.String toString()
toString
in class AbstractTreeNode
public boolean unsetListOfInitialSpeciesInstances()
listOfSpeciesTypeInstances
from this Model
and notifies
all registered instances of TreeNodeChangeListener
.true
if calling this method lead to a change in this
data structure.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 SpeciesTypeInstance createSpeciesTypeInstance(java.lang.String id)