public class GroupsModelPlugin
extends org.sbml.jsbml.ext.AbstractSBasePlugin
| Modifier and Type | Field and Description |
|---|---|
protected org.sbml.jsbml.ListOf<Group> |
listOfGroups |
| Constructor and Description |
|---|
GroupsModelPlugin(GroupsModelPlugin groupModelPlugin)
Creates a new
GroupsModelPlugin instance cloned from the given parameter. |
GroupsModelPlugin(org.sbml.jsbml.Model model)
Creates a new
GroupsModelPlugin instance |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addGroup(Group group)
Adds a new element to the listOfGroups.
|
GroupsModelPlugin |
clone() |
Group |
createGroup()
Creates a new instance of
Group and add it to this GroupsModelPlugin. |
Group |
createGroup(String id)
Creates a new instance of
Group and add it to this GroupsModelPlugin. |
Group |
createGroup(String id,
String... memberIds)
Creates a new instance of
Group and add it to this GroupsModelPlugin. |
boolean |
getAllowsChildren() |
org.sbml.jsbml.SBase |
getChildAt(int childIndex) |
int |
getChildCount() |
Group |
getGroup(int i)
Returns the n-th
Group object in this GroupsModelPlugin. |
org.sbml.jsbml.SBase |
getGroup(String sbmlID)
Gets the
Group that has the given id. |
int |
getGroupCount()
Returns the number of
Groups of this GroupsModelPlugin. |
org.sbml.jsbml.ListOf<Group> |
getListOfGroups()
Returns the listOfGroups.
|
int |
getNumGroups()
Returns the number of
Groups of this GroupsModelPlugin. |
String |
getPackageName() |
org.sbml.jsbml.SBMLDocument |
getParent() |
org.sbml.jsbml.SBMLDocument |
getParentSBMLObject() |
String |
getPrefix() |
String |
getURI() |
boolean |
isSetListOfGroups() |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setListOfGroups(org.sbml.jsbml.ListOf<Group> listOfGroups) |
String |
toString() |
boolean |
unsetListOfGroups()
Removes the
listOfGroups from this Model and notifies
all registered instances of TreeNodeChangeListener. |
Map<String,String> |
writeXMLAttributes() |
equals, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, hashCode, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersionaddAllChangeListeners, 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, 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, userObjectKeySetprotected org.sbml.jsbml.ListOf<Group> listOfGroups
public GroupsModelPlugin(GroupsModelPlugin groupModelPlugin)
GroupsModelPlugin instance cloned from the given parameter.groupModelPlugin - public GroupsModelPlugin(org.sbml.jsbml.Model model)
GroupsModelPlugin instancemodel - public boolean addGroup(Group group)
listOfGroups is initialized if necessary.
group - true (as specified by Collection.add(E))public GroupsModelPlugin clone()
clone in interface org.sbml.jsbml.ext.SBasePluginclone in class org.sbml.jsbml.ext.AbstractSBasePluginpublic Group createGroup()
Group and add it to this GroupsModelPlugin.Group instance.public Group createGroup(String id)
Group and add it to this GroupsModelPlugin.public Group createGroup(String id, String... memberIds)
Group and add it to this GroupsModelPlugin.
For each id in the memberIds array, a new Member instance is created and added to the Group
as well.public boolean getAllowsChildren()
public org.sbml.jsbml.SBase getChildAt(int childIndex)
public int getChildCount()
public Group getGroup(int i)
Group object in this GroupsModelPlugin.i - an indexGroup with the given index if it exists.IndexOutOfBoundsExceptionpublic int getGroupCount()
Groups of this GroupsModelPlugin.Groups of this GroupsModelPlugin.public org.sbml.jsbml.ListOf<Group> getListOfGroups()
ListOf is not defined, creates an empty one.public int getNumGroups()
Groups of this GroupsModelPlugin.Groups of this GroupsModelPlugin.getGroupCount()public String getPackageName()
public org.sbml.jsbml.SBMLDocument getParent()
public org.sbml.jsbml.SBMLDocument getParentSBMLObject()
getParentSBMLObject in interface org.sbml.jsbml.ext.SBasePlugingetParentSBMLObject in class org.sbml.jsbml.ext.AbstractSBasePluginpublic String getPrefix()
public String getURI()
public boolean isSetListOfGroups()
public void setListOfGroups(org.sbml.jsbml.ListOf<Group> listOfGroups)
listOfGroups - public String toString()
toString in class org.sbml.jsbml.AbstractTreeNodepublic boolean unsetListOfGroups()
listOfGroups from this Model and notifies
all registered instances of TreeNodeChangeListener.true if calling this method lead to a change in this
data structure.Copyright © 2009–2016. All rights reserved.