public class DrawFromDistribution extends AbstractSBase implements IdManager
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
DrawFromDistribution()
Creates a DrawFromDistribution instance
|
DrawFromDistribution(DrawFromDistribution obj)
Clone constructor
|
DrawFromDistribution(int level,
int version)
Creates a DrawFromDistribution instance with a level and version.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(SBase sbase) |
boolean |
addDistribInput(DistribInput DistribInput)
Adds a new
DistribInput to the listOfDistribInputs. |
DrawFromDistribution |
clone()
clones this class
|
DistribInput |
createDistribInput()
Creates a new DistribInput element and adds it to the ListOfDistribInputs list.
|
DistribInput |
createDistribInput(String id)
Creates a new
DistribInput element and adds it to the ListOfDistribInputs list. |
boolean |
equals(Object obj) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
DistribInput |
getDistribInput(int i)
Gets an element from the listOfDistribInputs at the given index.
|
DistribInput |
getDistribInput(String distribInputId)
Gets an element from the listOfDistribInputs, with the given id.
|
int |
getDistribInputCount()
Returns the number of
DistribInputs in this DrawFromDistribution. |
ListOf<DistribInput> |
getListOfDistribInputs()
Returns the listOfDistribInputs.
|
int |
getNumDistribInputs()
Returns the number of
DistribInputs in this DrawFromDistribution. |
XMLNode |
getUncertML()
Returns the value of uncertML
|
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetListOfDistribInputs()
Returns
true, if listOfDistribInputs contains at least one element. |
boolean |
isSetUncertML()
Returns whether uncertML is set
|
boolean |
register(SBase sbase) |
boolean |
removeDistribInput(DistribInput DistribInput)
Removes an element from the listOfDistribInputs.
|
DistribInput |
removeDistribInput(int i)
Removes an element from the listOfDistribInputs at the given index.
|
DistribInput |
removeDistribInput(String DistribInputId)
Removes an element from the listOfDistribInputs.
|
void |
setListOfDistribInputs(ListOf<DistribInput> listOfDistribInputs)
Sets the given
ListOf<DistribInput>. |
void |
setUncertML(XMLNode uncertML)
Sets the value of uncertML
|
boolean |
unregister(SBase sbase) |
boolean |
unsetListOfDistribInputs()
Returns
true, if listOfDistribInputs contain at least one element,
otherwise false. |
boolean |
unsetUncertML()
Unsets the variable uncertML
|
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, readAttribute, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm, writeXMLAttributesaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic DrawFromDistribution()
public DrawFromDistribution(int level,
int version)
level - version - public DrawFromDistribution(DrawFromDistribution obj)
obj - public int hashCode()
hashCode in interface SBasehashCode in class AbstractSBasepublic boolean equals(Object obj)
equals in interface SBaseequals in class AbstractSBasepublic DrawFromDistribution clone()
clone in interface SBaseclone in class AbstractSBasepublic void initDefaults()
public XMLNode getUncertML()
public boolean isSetUncertML()
public void setUncertML(XMLNode uncertML)
uncertML - public boolean unsetUncertML()
true, if uncertML was set before,
otherwise falsepublic boolean isSetListOfDistribInputs()
true, if listOfDistribInputs contains at least one element.true, if listOfDistribInputs contains at least one element,
otherwise false.public ListOf<DistribInput> getListOfDistribInputs()
public void setListOfDistribInputs(ListOf<DistribInput> listOfDistribInputs)
ListOf<DistribInput>. If listOfDistribInputs
was defined before and contains some elements, they are all unset.listOfDistribInputs - public boolean unsetListOfDistribInputs()
true, if listOfDistribInputs contain at least one element,
otherwise false.true, if listOfDistribInputs contain at least one element,
otherwise false.public boolean addDistribInput(DistribInput DistribInput)
DistribInput to the listOfDistribInputs.
The listOfDistribInputs is initialized if necessary.
DistribInput - the element to add to the listtrue (as specified by Collection#add(Object))public boolean removeDistribInput(DistribInput DistribInput)
DistribInput - the element to be removed from the list.List#remove(Object)public DistribInput removeDistribInput(String DistribInputId)
DistribInputId - the id of the element to be removed from the list.public DistribInput removeDistribInput(int i)
i - the index where to remove the DistribInput.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public DistribInput createDistribInput()
public DistribInput createDistribInput(String id)
DistribInput element and adds it to the ListOfDistribInputs list.id - the id to be set on the new DistribInput element.DistribInput element.public DistribInput getDistribInput(int i)
i - the index of the DistribInput element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public DistribInput getDistribInput(String distribInputId)
distribInputId - the id of the DistribInput element to get.public int getDistribInputCount()
DistribInputs in this DrawFromDistribution.DistribInputs in this DrawFromDistribution.public int getNumDistribInputs()
DistribInputs in this DrawFromDistribution.DistribInputs in this DrawFromDistribution.getDistribInputCount()public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSBasepublic boolean unregister(SBase sbase)
unregister in interface IdManagerCopyright © 2009–2016. All rights reserved.