public class DynEventPlugin extends DynSBasePlugin
| Modifier and Type | Field and Description |
|---|---|
protected ListOf<DynElement> |
listOfDynElements
List of model components affected by the dynEvent
|
elementNamespace, extendedSBase, packageVersionlistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
DynEventPlugin()
Empty constructor
|
DynEventPlugin(DynEventPlugin dynEventPlugin)
Constructor
|
DynEventPlugin(Event event)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDynElement(DynElement dynElement)
Adds a new
DynElement to the listOfDynElements. |
DynEventPlugin |
clone() |
DynElement |
createDynElement()
Creates a new DynElement element and adds it to the listOfDynElements
list
|
DynElement |
createDynElement(String id)
Creates a new
DynElement element and adds it to the
getListOfDynElements(). |
boolean |
equals(Object obj) |
boolean |
getAllowsChildren() |
boolean |
getApplyToAll()
Returns the value of applyToAll
|
TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
ListOf<DynElement> |
getListOfDynElements()
Returns the value of listOfDynElements
|
int |
hashCode() |
void |
initDefaults()
Initializes custom Class attributes
|
boolean |
isApplyToAll() |
boolean |
isSetApplyToAll()
Returns whether applyToAll is set
|
boolean |
isSetListOfDynElements()
Returns whether listOfDynElements is set
|
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
boolean |
removeDynElement(DynElement dynElement)
Removes an element from the listOfDynElements
|
void |
removeDynElement(int i)
Removes the ith element from the listOfDynElements
|
void |
setApplyToAll(boolean applyToAll)
Sets the value of applyToAll
|
void |
setListOfDynElements(ListOf<DynElement> listOfDynElements)
Sets the value of listOfDynElements
|
boolean |
unsetApplyToAll()
Unsets the applyToAll field
|
boolean |
unsetListOfDynElements()
Unsets the variable listOfDynElements
|
Map<String,String> |
writeXMLAttributes() |
getCBOTerm, getPackageName, getParent, getParentSBMLObject, getPrefix, getURI, isSetCBOTerm, setCBOTerm, unsetCBOTermfireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersionaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, 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, userObjectKeySetprotected ListOf<DynElement> listOfDynElements
public DynEventPlugin()
public DynEventPlugin(Event event)
event - public DynEventPlugin(DynEventPlugin dynEventPlugin)
dynEventPlugin - public void initDefaults()
DynSBasePlugininitDefaults in class DynSBasePluginpublic boolean isApplyToAll()
public boolean getApplyToAll()
public boolean isSetApplyToAll()
public void setApplyToAll(boolean applyToAll)
applyToAll - public boolean unsetApplyToAll()
true, if applyToAll was set before, otherwise
falsepublic ListOf<DynElement> getListOfDynElements()
public boolean isSetListOfDynElements()
public void setListOfDynElements(ListOf<DynElement> listOfDynElements)
listOfDynElements - public boolean unsetListOfDynElements()
true, if listOfDynElements was set before, otherwise
falsepublic DynElement createDynElement()
public DynElement createDynElement(String id)
DynElement element and adds it to the
getListOfDynElements().id - DynElement elementpublic boolean addDynElement(DynElement dynElement)
DynElement to the listOfDynElements. The
listOfDynElements is initialized if necessary.dynElement - the element to add to the listtrue (as specified by Collection#add)public void removeDynElement(int i)
i - public boolean removeDynElement(DynElement dynElement)
dynElement - the element to be removed from the listtrue if the list contained the specified elementList#remove(Object)public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class DynSBasePluginpublic TreeNode getChildAt(int childIndex)
getChildAt in interface TreeNodegetChildAt in class DynSBasePluginpublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class DynSBasePluginpublic boolean equals(Object obj)
equals in interface SBasePluginequals in class DynSBasePluginpublic int hashCode()
hashCode in interface SBasePluginhashCode in class DynSBasePluginpublic DynEventPlugin clone()
clone in interface SBasePluginclone in class DynSBasePluginpublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasePluginwriteXMLAttributes in class DynSBasePluginpublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasePluginreadAttribute in class DynSBasePluginCopyright © 2009–2020. All rights reserved.