public class ParametricGeometry extends GeometryDefinition
ignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
ParametricGeometry() |
ParametricGeometry(int level,
int version) |
ParametricGeometry(ParametricGeometry pg) |
ParametricGeometry(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() |
ParametricObject |
createParametricObject()
Creates a new ParametricObject element and adds it to the ListOfParametricObjects list
|
ParametricObject |
createParametricObject(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(String id)
Creates a new
SpatialPoint element and adds it to the ListOfSpatialPoints list |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
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, writeXMLAttributesgetSpatialId, isSetSpatialId, setSpatialId, unsetSpatialIdaddCVTerm, 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, unsetSBOTermaddAllChangeListeners, 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, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitaddCVTerm, 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, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic ParametricGeometry()
public ParametricGeometry(ParametricGeometry pg)
pg - public ParametricGeometry(int level,
int version)
level - version - public ParametricGeometry(String id, int level, int version)
id - level - version - public ParametricGeometry clone()
clone in interface SBaseclone in class AbstractSBasepublic boolean equals(Object object)
equals in interface SBaseequals in class GeometryDefinitionpublic boolean isSetListOfParametricObjects()
true, if listOfParametricObjects contains at least one element.true, if listOfParametricObjects contains at least one element,
otherwise falsepublic 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 falsetrue, if listOfParametricObjects contain at least one element,
otherwise falsepublic 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 ParametricObjectIndexOutOfBoundsException - 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(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 falsepublic 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 falsetrue, if listOfSpatialPoints contain at least one element,
otherwise falsepublic 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 SpatialPointIndexOutOfBoundsException - 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(String id)
SpatialPoint element and adds it to the ListOfSpatialPoints listSpatialPoint elementpublic boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class AbstractSpatialNamedSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSpatialNamedSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSpatialNamedSBaseCopyright © 2009–2016. All rights reserved.