public class GroupsModelPlugin extends AbstractSBasePlugin
| Modifier and Type | Field and Description |
|---|---|
protected ListOf<Group> |
listOfGroups |
extendedSBase, packageVersionlistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
GroupsModelPlugin(GroupsModelPlugin groupModelPlugin) |
GroupsModelPlugin(Model model) |
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, 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, userObjectKeySetpublic GroupsModelPlugin(Model model)
model - public GroupsModelPlugin(GroupsModelPlugin groupModelPlugin)
groupModelPlugin - public String getElementNamespace()
public String getPackageName()
public String getPrefix()
public String getURI()
public SBMLDocument getParent()
getParent in interface TreeNodegetParent in class AbstractTreeNodepublic SBMLDocument getParentSBMLObject()
getParentSBMLObject in interface SBasePlugingetParentSBMLObject in class AbstractSBasePluginpublic void addGroup(Group group)
group - public Group getGroup(int i)
i - public int getGroupCount()
Groups of this GroupsModelPlugin.Groups of this GroupsModelPlugin.public int getNumGroups()
Groups of this GroupsModelPlugin.Groups of this GroupsModelPlugin.getGroupCount()public boolean isSetListOfGroups()
public 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.public GroupsModelPlugin clone()
clone in interface SBasePluginclone in class AbstractSBasePluginpublic String toString()
toString in class AbstractTreeNodepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasePluginwriteXMLAttributes in class AbstractSBasePluginpublic SBase getChildAt(int childIndex)
public int getChildCount()
public boolean getAllowsChildren()
public 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.Copyright © 2009–2016. All rights reserved.