org.sbml.jsbml.ext.spatial
public class MixedGeometry extends GeometryDefinition
| Modifier and Type | Field and Description |
|---|---|
(package private) ListOf<GeometryDefinition> |
listOfGeometryDefinitions |
(package private) ListOf<OrdinalMapping> |
listOfOrdinalMappings |
private static long |
serialVersionUID |
spatialIdignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
MixedGeometry() |
MixedGeometry(int level,
int version) |
MixedGeometry(MixedGeometry mg) |
MixedGeometry(java.lang.String id,
int level,
int version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addGeometryDefinition(GeometryDefinition listOfGeometryDefinitions)
Adds a new
GeometryDefinition to the listOfGeometryDefinitions. |
boolean |
addOrdinalMapping(OrdinalMapping ordinalMapping)
Adds a new
OrdinalMapping to the listOfOrdinalMappings. |
MixedGeometry |
clone()
Creates a deep copy of this object, i.e., a new
SBase with the same properties
like this one. |
AnalyticGeometry |
createAnalyticGeometry() |
AnalyticGeometry |
createAnalyticGeometry(java.lang.String id) |
CSGeometry |
createCSGeometry() |
CSGeometry |
createCSGeometry(java.lang.String id) |
MixedGeometry |
createMixedGeometry() |
MixedGeometry |
createMixedGeometry(java.lang.String id)
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
OrdinalMapping |
createOrdinalMapping()
Creates a new
OrdinalMapping element and adds it to the ListOfOrdinalMappings list |
ParametricGeometry |
createParametricGeometry() |
ParametricGeometry |
createParametricGeometry(java.lang.String id) |
SampledFieldGeometry |
createSampledFieldGeometry(java.lang.String id)
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
SampledFieldGeometry |
createSampledFieldGeometryn()
Creates a new GeometryDefinition element and adds it to the ListOfGeometryDefinitions list
|
boolean |
equals(java.lang.Object object)
|
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
ListOf<GeometryDefinition> |
getListOfGeometryDefinitions()
Returns the listOfGeometryDefinitions.
|
ListOf<OrdinalMapping> |
getListOfOrdinalMappings()
Returns the listOfOrdinalMappings.
|
boolean |
isSetListOfGeometryDefinitions()
Returns
true, if listOfGeometryDefinitions contains at least one element. |
boolean |
isSetListOfOrdinalMappings()
Returns
true, if listOfOrdinalMappings contains at least one element. |
boolean |
removeGeometryDefinition(GeometryDefinition listOfGeometryDefinitions)
Removes an element from the listOfGeometryDefinitions.
|
void |
removeGeometryDefinition(int i)
Removes an element from the listOfGeometryDefinitions at the given index.
|
void |
removeOrdinalMapping(int i)
Removes an element from the listOfOrdinalMappings at the given index.
|
boolean |
removeOrdinalMapping(OrdinalMapping ordinalMapping)
Removes an element from the listOfOrdinalMappings.
|
void |
setListOfGeometryDefinitions(ListOf<GeometryDefinition> listOfGeometryDefinitions)
Sets the given
ListOf<GeometryDefinition>. |
void |
setListOfOrdinalMappings(ListOf<OrdinalMapping> listOfOrdinalMappings)
Sets the given
ListOf<OrdinalMapping>. |
boolean |
unsetListOfGeometryDefinitions()
Returns
true, if listOfGeometryDefinitions contain at least one element,
otherwise false |
boolean |
unsetListOfOrdinalMappings()
Returns
true, if listOfOrdinalMappings 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, userObjectKeySetprivate static final long serialVersionUID
ListOf<GeometryDefinition> listOfGeometryDefinitions
ListOf<OrdinalMapping> listOfOrdinalMappings
public MixedGeometry()
public MixedGeometry(MixedGeometry mg)
node - public MixedGeometry(int level,
int version)
level - version - public MixedGeometry(java.lang.String id,
int level,
int version)
id - level - version - public MixedGeometry clone()
SBaseSBase with the same properties
like this one.clone in interface SBaseclone in class AbstractSBasepublic boolean equals(java.lang.Object object)
SBasepublic boolean isSetListOfGeometryDefinitions()
true, if listOfGeometryDefinitions contains at least one element.true, if listOfGeometryDefinitions contains at least one element,
otherwise falsepublic ListOf<GeometryDefinition> getListOfGeometryDefinitions()
public void setListOfGeometryDefinitions(ListOf<GeometryDefinition> listOfGeometryDefinitions)
ListOf<GeometryDefinition>. If listOfGeometryDefinitions
was defined before and contains some elements, they are all unset.listOfGeometryDefinitions - public boolean unsetListOfGeometryDefinitions()
true, if listOfGeometryDefinitions contain at least one element,
otherwise falsetrue, if listOfGeometryDefinitions contain at least one element,
otherwise falsepublic boolean addGeometryDefinition(GeometryDefinition listOfGeometryDefinitions)
GeometryDefinition to the listOfGeometryDefinitions.
The listOfGeometryDefinitions is initialized if necessary.
listOfGeometryDefinitions - the element to add to the listCollection.add)public boolean removeGeometryDefinition(GeometryDefinition listOfGeometryDefinitions)
listOfGeometryDefinitions - the element to be removed from the listList#remove(Object)public void removeGeometryDefinition(int i)
i - the index where to remove the GeometryDefinitionjava.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public SampledFieldGeometry createSampledFieldGeometryn()
public AnalyticGeometry createAnalyticGeometry()
public CSGeometry createCSGeometry()
public ParametricGeometry createParametricGeometry()
public MixedGeometry createMixedGeometry()
public MixedGeometry createMixedGeometry(java.lang.String id)
GeometryDefinition element and adds it to the ListOfGeometryDefinitions listGeometryDefinition elementpublic SampledFieldGeometry createSampledFieldGeometry(java.lang.String id)
GeometryDefinition element and adds it to the ListOfGeometryDefinitions listGeometryDefinition elementpublic AnalyticGeometry createAnalyticGeometry(java.lang.String id)
public CSGeometry createCSGeometry(java.lang.String id)
public ParametricGeometry createParametricGeometry(java.lang.String id)
public boolean isSetListOfOrdinalMappings()
true, if listOfOrdinalMappings contains at least one element.true, if listOfOrdinalMappings contains at least one element,
otherwise falsepublic ListOf<OrdinalMapping> getListOfOrdinalMappings()
public void setListOfOrdinalMappings(ListOf<OrdinalMapping> listOfOrdinalMappings)
ListOf<OrdinalMapping>. If listOfOrdinalMappings
was defined before and contains some elements, they are all unset.listOfOrdinalMappings - public boolean unsetListOfOrdinalMappings()
true, if listOfOrdinalMappings contain at least one element,
otherwise falsetrue, if listOfOrdinalMappings contain at least one element,
otherwise falsepublic boolean addOrdinalMapping(OrdinalMapping ordinalMapping)
OrdinalMapping to the listOfOrdinalMappings.
The listOfOrdinalMappings is initialized if necessary.
ordinalMapping - the element to add to the listCollection.add)public boolean removeOrdinalMapping(OrdinalMapping ordinalMapping)
ordinalMapping - the element to be removed from the listList#remove(Object)public void removeOrdinalMapping(int i)
i - the index where to remove the OrdinalMappingjava.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size)public OrdinalMapping createOrdinalMapping()
OrdinalMapping element and adds it to the ListOfOrdinalMappings listOrdinalMapping elementpublic boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class AbstractSpatialNamedSBasepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class AbstractSpatialNamedSBasepublic javax.swing.tree.TreeNode getChildAt(int index)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class AbstractSpatialNamedSBase