java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SBasePlugin
, TreeNodeWithChangeSupport
public class MultiModelPlugin extends AbstractSBasePlugin
MultiSpeciesType
s.Constructor | Description |
---|---|
MultiModelPlugin(MultiModelPlugin multiModel) |
|
MultiModelPlugin(Model model) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
addSpeciesType(MultiSpeciesType speciesType) |
Adds a
MultiSpeciesType . |
MultiModelPlugin |
clone() |
Creates a new instance of
SBasePlugin from this SBasePlugin . |
BindingSiteSpeciesType |
createBindingSiteSpeciesType() |
Creates a new
BindingSiteSpeciesType inside this MultiModelPlugin and returns it. |
BindingSiteSpeciesType |
createBindingSiteSpeciesType(java.lang.String id) |
Creates a new
BindingSiteSpeciesType inside this MultiModelPlugin and returns it. |
IntraSpeciesReaction |
createIntraSpeciesReaction() |
Creates a new
IntraSpeciesReaction inside this MultiModelPlugin and returns it. |
IntraSpeciesReaction |
createIntraSpeciesReaction(java.lang.String id) |
Creates a new
IntraSpeciesReaction inside this MultiModelPlugin and returns it. |
MultiSpeciesType |
createSpeciesType() |
Creates a new
MultiSpeciesType inside this MultiModelPlugin and returns it. |
MultiSpeciesType |
createSpeciesType(java.lang.String id) |
Creates a new
MultiSpeciesType inside this MultiModelPlugin and returns it. |
boolean |
getAllowsChildren() |
|
SBase |
getChildAt(int childIndex) |
|
int |
getChildCount() |
|
ListOf<MultiSpeciesType> |
getListOfSpeciesTypes() |
Returns the listOfSpeciesTypes.
|
Model |
getModel() |
Returns the
Model |
java.lang.String |
getPackageName() |
Returns the package name of this plugin object.
|
SBMLDocument |
getParent() |
|
SBMLDocument |
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.
|
MultiSpeciesType |
getSpeciesType(int i) |
Gets the ith
MultiSpeciesType . |
MultiSpeciesType |
getSpeciesType(java.lang.String id) |
Gets the
MultiSpeciesType that has the given id. |
java.lang.String |
getURI() |
Gets the URI to which this element belongs to.
|
boolean |
isSetListOfSpeciesTypes() |
Returns
true if the listOfSpeciesType 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 |
setListOfSpeciesTypes(ListOf<MultiSpeciesType> listOfSpeciesTypes) |
Sets the listOfSpeciesTypes.
|
boolean |
unsetListOfSpeciesTypes() |
Sets the listOfSpeciesTypes to null
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a
Map containing the XML attributes of this object. |
equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, hashCode, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersion
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, 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 MultiModelPlugin(Model model)
model
- public MultiModelPlugin(MultiModelPlugin multiModel)
multiModel
- public java.lang.String getPackageName()
SBasePlugin
public java.lang.String getPrefix()
SBasePlugin
public java.lang.String getURI()
SBasePlugin
SBasePlugin.getElementNamespace()
public SBMLDocument getParent()
getParent
in interface javax.swing.tree.TreeNode
getParent
in class AbstractTreeNode
public SBMLDocument 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 MultiModelPlugin clone()
SBasePlugin
SBasePlugin
from this SBasePlugin
.clone
in interface SBasePlugin
clone
in class AbstractSBasePlugin
SBasePlugin
from this SBasePlugin
.public ListOf<MultiSpeciesType> getListOfSpeciesTypes()
public boolean addSpeciesType(MultiSpeciesType speciesType)
MultiSpeciesType
.speciesType
- the speciesType to addpublic BindingSiteSpeciesType createBindingSiteSpeciesType()
BindingSiteSpeciesType
inside this MultiModelPlugin
and returns it.
BindingSiteSpeciesType
object created
addSpeciesType(MultiSpeciesType r)
public BindingSiteSpeciesType createBindingSiteSpeciesType(java.lang.String id)
BindingSiteSpeciesType
inside this MultiModelPlugin
and returns it.id
- the id of the new element to createBindingSiteSpeciesType
object createdpublic IntraSpeciesReaction createIntraSpeciesReaction()
IntraSpeciesReaction
inside this MultiModelPlugin
and returns it.
IntraSpeciesReaction
object created
createIntraSpeciesReaction(String)
public IntraSpeciesReaction createIntraSpeciesReaction(java.lang.String id)
IntraSpeciesReaction
inside this MultiModelPlugin
and returns it.id
- the id of the new element to createIntraSpeciesReaction
object createdpublic MultiSpeciesType createSpeciesType()
MultiSpeciesType
inside this MultiModelPlugin
and returns it.
MultiSpeciesType
object created
addSpeciesType(MultiSpeciesType r)
public MultiSpeciesType createSpeciesType(java.lang.String id)
MultiSpeciesType
inside this MultiModelPlugin
and returns it.id
- the id of the new element to createMultiSpeciesType
object createdpublic MultiSpeciesType getSpeciesType(int i)
MultiSpeciesType
.i
- MultiSpeciesType
java.lang.IndexOutOfBoundsException
- if the index is invalid.public MultiSpeciesType getSpeciesType(java.lang.String id)
MultiSpeciesType
that has the given id.id
- MultiSpeciesType
that has the given id or null if
no MultiSpeciesType
are found that match id
.public boolean isSetListOfSpeciesTypes()
true
if the listOfSpeciesType is set.true
if the listOfSpeciesType is set.public void setListOfSpeciesTypes(ListOf<MultiSpeciesType> listOfSpeciesTypes)
listOfSpeciesTypes
- the list of MultiSpeciesType
s to setpublic boolean unsetListOfSpeciesTypes()
true
is successfulpublic 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 SBase getChildAt(int childIndex)
public int getChildCount()
public boolean getAllowsChildren()
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.