org.sbml.jsbml.ext.spatial
public class ParametricGeometry extends GeometryDefinition
Modifier and Type | Field and Description |
---|---|
(package private) ListOf<ParametricObject> |
listOfParametricObjects |
(package private) ListOf<SpatialPoint> |
listOfSpatialPoints |
private static long |
serialVersionUID
Generated serial version identifier.
|
spatialId
ignoredExtensions, ignoredXMLElements
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
ParametricGeometry() |
ParametricGeometry(int level,
int version) |
ParametricGeometry(ParametricGeometry pg) |
ParametricGeometry(java.lang.String id,
int level,
int version) |
Modifier and Type | Method and Description |
---|---|
boolean |
addParametricObject(ParametricObject parametricObject)
Adds a new
ParametricObject to the listOfParametricObjects. |
boolean |
addSpatialPoint(SpatialPoint spatialPoint)
Adds a new
SpatialPoint to the listOfSpatialPoints. |
ParametricGeometry |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
ParametricObject |
createParametricObject()
Creates a new ParametricObject element and adds it to the ListOfParametricObjects list
|
ParametricObject |
createParametricObject(java.lang.String id)
Creates a new
ParametricObject element and adds it to the ListOfParametricObjects list |
SpatialPoint |
createSpatialPoint()
Creates a new SpatialPoint element and adds it to the ListOfSpatialPoints list
|
SpatialPoint |
createSpatialPoint(java.lang.String id)
Creates a new
SpatialPoint element and adds it to the ListOfSpatialPoints list |
boolean |
equals(java.lang.Object object)
|
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
ListOf<ParametricObject> |
getListOfParametricObjects()
Returns the listOfParametricObjects.
|
ListOf<SpatialPoint> |
getListOfSpatialPoints()
Returns the listOfSpatialPoints.
|
boolean |
isSetListOfParametricObjects()
Returns
true , if listOfParametricObjects contains at least one element. |
boolean |
isSetListOfSpatialPoints()
Returns
true , if listOfSpatialPoints contains at least one element. |
void |
removeParametricObject(int i)
Removes an element from the listOfParametricObjects at the given index.
|
boolean |
removeParametricObject(ParametricObject parametricObject)
Removes an element from the listOfParametricObjects.
|
void |
removeSpatialPoint(int i)
Removes an element from the listOfSpatialPoints at the given index.
|
boolean |
removeSpatialPoint(SpatialPoint spatialPoint)
Removes an element from the listOfSpatialPoints.
|
void |
setListOfParametricObjects(ListOf<ParametricObject> listOfParametricObjects)
Sets the given
ListOf<ParametricObject> . |
void |
setListOfSpatialPoints(ListOf<SpatialPoint> listOfSpatialPoints)
Sets the given
ListOf<SpatialPoint> . |
boolean |
unsetListOfParametricObjects()
Returns
true , if listOfParametricObjects contain at least one element,
otherwise false |
boolean |
unsetListOfSpatialPoints()
Returns
true , if listOfSpatialPoints contain at least one element,
otherwise false |
getIsActive, hashCode, isActive, isSetIsActive, readAttribute, setIsActive, toString, unsetIsActive, writeXMLAttributes
getSpatialId, isSetSpatialId, setSpatialId, unsetSpatialId
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, 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, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, 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, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTerm
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
ListOf<SpatialPoint> listOfSpatialPoints
ListOf<ParametricObject> listOfParametricObjects
private static final long serialVersionUID
public ParametricGeometry()
public ParametricGeometry(ParametricGeometry pg)
node
- public ParametricGeometry(int level, int version)
level
- version
- public ParametricGeometry(java.lang.String id, int level, int version)
id
- level
- version
- public ParametricGeometry 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
public boolean isSetListOfParametricObjects()
true
, if listOfParametricObjects contains at least one element.true
, if listOfParametricObjects contains at least one element,
otherwise false
public ListOf<ParametricObject> getListOfParametricObjects()
public void setListOfParametricObjects(ListOf<ParametricObject> listOfParametricObjects)
ListOf<ParametricObject>
. If listOfParametricObjects
was defined before and contains some elements, they are all unset.listOfParametricObjects
- public boolean unsetListOfParametricObjects()
true
, if listOfParametricObjects contain at least one element,
otherwise false
true
, if listOfParametricObjects contain at least one element,
otherwise false
public boolean addParametricObject(ParametricObject parametricObject)
ParametricObject
to the listOfParametricObjects.
The listOfParametricObjects is initialized if necessary.
parametricObject
- the element to add to the listCollection.add
)public boolean removeParametricObject(ParametricObject parametricObject)
parametricObject
- the element to be removed from the listList#remove(Object)
public void removeParametricObject(int i)
i
- the index where to remove the ParametricObject
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public ParametricObject createParametricObject()
public ParametricObject createParametricObject(java.lang.String id)
ParametricObject
element and adds it to the ListOfParametricObjects listParametricObject
elementpublic boolean isSetListOfSpatialPoints()
true
, if listOfSpatialPoints contains at least one element.true
, if listOfSpatialPoints contains at least one element,
otherwise false
public ListOf<SpatialPoint> getListOfSpatialPoints()
public void setListOfSpatialPoints(ListOf<SpatialPoint> listOfSpatialPoints)
ListOf<SpatialPoint>
. If listOfSpatialPoints
was defined before and contains some elements, they are all unset.listOfSpatialPoints
- public boolean unsetListOfSpatialPoints()
true
, if listOfSpatialPoints contain at least one element,
otherwise false
true
, if listOfSpatialPoints contain at least one element,
otherwise false
public boolean addSpatialPoint(SpatialPoint spatialPoint)
SpatialPoint
to the listOfSpatialPoints.
The listOfSpatialPoints is initialized if necessary.
spatialPoint
- the element to add to the listCollection.add
)public boolean removeSpatialPoint(SpatialPoint spatialPoint)
spatialPoint
- the element to be removed from the listList#remove(Object)
public void removeSpatialPoint(int i)
i
- the index where to remove the SpatialPoint
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public SpatialPoint createSpatialPoint()
public SpatialPoint createSpatialPoint(java.lang.String id)
SpatialPoint
element and adds it to the ListOfSpatialPoints listSpatialPoint
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