org.sbml.jsbml.ext.multi
public class MultiModel extends AbstractSBasePlugin
SpeciesTypes and a list of
Selectors.| Modifier and Type | Field and Description |
|---|---|
(package private) ListOf<Selector> |
listOfSelectors |
(package private) ListOf<SpeciesType> |
listOfSpeciesTypes |
private static long |
serialVersionUID
Generated serial version identifier.
|
extendedSBase, packageVersionlistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
MultiModel(Model model) |
MultiModel(MultiModel multiModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelector(Selector selector)
Adds a
Selector. |
void |
addSpeciesType(SpeciesType speciesType)
Adds a
SpeciesType. |
MultiModel |
clone()
Creates a new instance of
SBasePlugin from this SBasePlugin. |
Selector |
createSelector()
Creates a new
Selector inside this MultiModel and returns it. |
Selector |
createSelector(java.lang.String id)
Creates a new
Selector inside this MultiModel and returns it. |
SpeciesType |
createSpeciesType()
Creates a new
SpeciesType inside this MultiModel and returns it. |
SpeciesType |
createSpeciesType(java.lang.String id)
Creates a new
SpeciesType inside this MultiModel and returns it. |
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.
|
ListOf<Selector> |
getListOfSelectors()
Returns the listOfSelectors.
|
ListOf<SpeciesType> |
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.
|
Selector |
getSelector(int i)
Gets the ith
Selector. |
Selector |
getSelector(java.lang.String id)
Gets the
Selector that has the given id. |
SpeciesType |
getSpeciesType(int i)
Gets the ith
SpeciesType. |
SpeciesType |
getSpeciesType(java.lang.String id)
Gets the
SpeciesType that has the given id. |
java.lang.String |
getURI()
Gets the URI to which this element belongs to.
|
boolean |
isSetListOfSelectors()
Returns
true if the listOfSelector is set. |
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. |
boolean |
unsetListOfSelectors()
Sets the listOfSelectors to null
|
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, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, hashCode, isSetExtendedSBase, removeFromParent, setExtendedSBaseaddAllChangeListeners, 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, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetprivate static final long serialVersionUID
ListOf<SpeciesType> listOfSpeciesTypes
public MultiModel(Model model)
model - public MultiModel(MultiModel multiModel)
model - public java.lang.String getElementNamespace()
SBasePluginpublic java.lang.String getPackageName()
SBasePluginpublic java.lang.String getPrefix()
SBasePluginpublic java.lang.String getURI()
SBasePluginpublic SBMLDocument getParent()
getParent in interface javax.swing.tree.TreeNodegetParent in class AbstractTreeNodepublic SBMLDocument getParentSBMLObject()
SBasePluginSBase object to which this plugin object connected.getParentSBMLObject in interface SBasePlugingetParentSBMLObject in class AbstractSBasePluginSBase object to which this plugin object connected.public MultiModel clone()
SBasePluginSBasePlugin from this SBasePlugin.clone in interface SBasePluginclone in class AbstractSBasePluginSBasePlugin from this SBasePlugin.public ListOf<SpeciesType> getListOfSpeciesTypes()
public void addSpeciesType(SpeciesType speciesType)
SpeciesType.speciesTypes - the speciesType to addpublic SpeciesType createSpeciesType()
SpeciesType inside this MultiModel and returns it.
SpeciesType object created
addSpeciesType(SpeciesType r)public SpeciesType createSpeciesType(java.lang.String id)
SpeciesType inside this MultiModel and returns it.id - the id of the new element to createSpeciesType object createdpublic SpeciesType getSpeciesType(int i)
SpeciesType.i - SpeciesTypejava.lang.IndexOutOfBoundsException - if the index is invalid.public SpeciesType getSpeciesType(java.lang.String id)
SpeciesType that has the given id.id - SpeciesType that has the given id or null if
no SpeciesType are found that match id.public boolean isSetListOfSpeciesTypes()
true if the listOfSpeciesType is set.true if the listOfSpeciesType is set.public boolean unsetListOfSpeciesTypes()
true is successfulpublic ListOf<Selector> getListOfSelectors()
public void addSelector(Selector selector)
Selector.selector - the selector to addpublic Selector createSelector()
Selector inside this MultiModel and returns it.
Selector object created
addSelector(Selector r)public Selector createSelector(java.lang.String id)
Selector inside this MultiModel and returns it.id - the id of the new element to createSelector object createdpublic Selector getSelector(int i)
Selector.i - Selectorjava.lang.IndexOutOfBoundsException - if the index is invalid.public Selector getSelector(java.lang.String id)
Selector that has the given id.public boolean isSetListOfSelectors()
true if the listOfSelector is set.true if the listOfSelector is set.public boolean unsetListOfSelectors()
true is successfulpublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
SBasePluginSBasePlugin.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()
SBasePluginMap containing the XML attributes of this object.writeXMLAttributes in interface SBasePluginwriteXMLAttributes in class AbstractSBasePluginMap containing the XML attributes of this object.