org.sbml.jsbml.ext.spatial
public class SampledFieldGeometry extends GeometryDefinition
Modifier and Type | Field and Description |
---|---|
private ListOf<SampledVolume> |
listOfSampledVolumes |
private SampledField |
sampledField |
private static long |
serialVersionUID
Generated serial version identifier.
|
spatialId
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
SampledFieldGeometry() |
SampledFieldGeometry(SampledFieldGeometry sampledFieldGeometry) |
SampledFieldGeometry(java.lang.String id,
int level,
int version) |
Modifier and Type | Method and Description |
---|---|
boolean |
addSampledVolume(SampledVolume sampledVolume)
Adds a new
SampledVolume to the listOfSampledVolumes. |
SampledFieldGeometry |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
SampledVolume |
createSampledVolume()
Creates a new SampledVolume element and adds it to the ListOfSampledVolumes list
|
SampledVolume |
createSampledVolume(java.lang.String id)
Creates a new
SampledVolume element and adds it to the ListOfSampledVolumes list |
boolean |
equals(java.lang.Object object)
|
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
ListOf<SampledVolume> |
getListOfSampledVolumes()
Returns the listOfSampledVolumes.
|
SampledField |
getSampledField()
Returns the value of sampledField
|
boolean |
isSetListOfSampledVolumes()
Returns
true , if listOfSampledVolumes contains at least one element. |
boolean |
isSetSampledField()
Returns whether sampledField is set
|
void |
removeSampledVolume(int i)
Removes an element from the listOfSampledVolumes at the given index.
|
boolean |
removeSampledVolume(SampledVolume sampledVolume)
Removes an element from the listOfSampledVolumes.
|
void |
setListOfSampledVolumes(ListOf<SampledVolume> listOfSampledVolumes)
Sets the given
ListOf<SampledVolume> . |
void |
setSampledField(SampledField sampledField)
Sets the value of sampledField
|
boolean |
unsetListOfSampledVolumes()
Returns
true , if listOfSampledVolumes contain at least one element,
otherwise false |
boolean |
unsetSampledField()
Unsets the variable sampledField
|
toString
getSpatialId, hashCode, isSetSpatialId, readAttribute, setSpatialId, unsetSpatialId, writeXMLAttributes
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addExtension, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregister, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
private static final long serialVersionUID
private ListOf<SampledVolume> listOfSampledVolumes
private SampledField sampledField
public SampledFieldGeometry()
public SampledFieldGeometry(SampledFieldGeometry sampledFieldGeometry)
sampledFieldGeometry
- public SampledFieldGeometry(java.lang.String id, int level, int version)
public SampledFieldGeometry clone()
SBase
SBase
with the same properties
like this one.clone
in interface SBase
clone
in class AbstractSBase
public boolean equals(java.lang.Object object)
SBase
true
if and only if the given SBase
has exactly the same
properties like this SBase
instance.equals
in interface SBase
equals
in class GeometryDefinition
true
if and only if the given Object
is an instance of
SBase
that has exactly the same properties like this
SBase instance.public SampledField getSampledField()
public boolean isSetSampledField()
public void setSampledField(SampledField sampledField)
public boolean unsetSampledField()
true
, if sampledField was set before,
otherwise false
public boolean isSetListOfSampledVolumes()
true
, if listOfSampledVolumes contains at least one element.true
, if listOfSampledVolumes contains at least one element,
otherwise false
public ListOf<SampledVolume> getListOfSampledVolumes()
public void setListOfSampledVolumes(ListOf<SampledVolume> listOfSampledVolumes)
ListOf<SampledVolume>
. If listOfSampledVolumes
was defined before and contains some elements, they are all unset.listOfSampledVolumes
- public boolean unsetListOfSampledVolumes()
true
, if listOfSampledVolumes contain at least one element,
otherwise false
true
, if listOfSampledVolumes contain at least one element,
otherwise false
public boolean addSampledVolume(SampledVolume sampledVolume)
SampledVolume
to the listOfSampledVolumes.
The listOfSampledVolumes is initialized if necessary.
sampledVolume
- the element to add to the listCollection.add
)public boolean removeSampledVolume(SampledVolume sampledVolume)
sampledVolume
- the element to be removed from the listList#remove(Object)
public void removeSampledVolume(int i)
i
- the index where to remove the SampledVolume
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public SampledVolume createSampledVolume()
public SampledVolume createSampledVolume(java.lang.String id)
SampledVolume
element and adds it to the ListOfSampledVolumes listSampledVolume
elementpublic boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class AbstractSpatialNamedSBase
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class AbstractSpatialNamedSBase
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class AbstractSpatialNamedSBase