java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SpatialNamedSBase
, NamedSBase
, SBase
, TreeNodeWithChangeSupport
public class MixedGeometry extends GeometryDefinition
JSBML_WRONG_SBO_TERM
Constructor | Description |
---|---|
MixedGeometry() |
|
MixedGeometry(int level,
int version) |
|
MixedGeometry(java.lang.String id,
int level,
int version) |
|
MixedGeometry(MixedGeometry mg) |
Modifier and Type | Method | 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.
|
int |
hashCode() |
Returns a hash code value for this
SBase instance. |
boolean |
isSetListOfGeometryDefinitions() |
Returns
true , if listOfGeometryDefinitions contains at least one element. |
boolean |
isSetListOfOrdinalMappings() |
Returns
true , if listOfOrdinalMappings contains at least one element. |
void |
removeGeometryDefinition(int i) |
Removes an element from the listOfGeometryDefinitions at the given index.
|
boolean |
removeGeometryDefinition(GeometryDefinition listOfGeometryDefinitions) |
Removes an element from the listOfGeometryDefinitions.
|
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 |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm
getSpatialId, initDefaults, isSetSpatialId, setSpatialId, unsetSpatialId
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
getIsActive, isActive, isSetIsActive, readAttribute, setIsActive, unsetIsActive, writeXMLAttributes
getId, getName, isIdMandatory, isSetId, isSetName, setId, setName, unsetId, unsetName
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTreeNodeChangeListener, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, 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
public MixedGeometry()
public MixedGeometry(MixedGeometry mg)
mg
- public MixedGeometry(int level, int version)
level
- version
- public MixedGeometry(java.lang.String id, int level, int version)
id
- level
- version
- public MixedGeometry clone()
SBase
SBase
with the same
properties
like this one.clone
in interface SBase
clone
in class AbstractSpatialNamedSBase
public boolean equals(java.lang.Object object)
SBase
public int hashCode()
SBase
SBase
instance.hashCode
in interface SBase
hashCode
in class GeometryDefinition
SBase
instance.Object.hashCode()
public boolean isSetListOfGeometryDefinitions()
true
, if listOfGeometryDefinitions contains at least one element.true
, if listOfGeometryDefinitions contains at least one element,
otherwise false
public 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 false
true
, if listOfGeometryDefinitions contain at least one element,
otherwise false
public 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 GeometryDefinition
java.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 listid
- GeometryDefinition
elementpublic SampledFieldGeometry createSampledFieldGeometry(java.lang.String id)
GeometryDefinition
element and adds it to the ListOfGeometryDefinitions listid
- GeometryDefinition
elementpublic AnalyticGeometry createAnalyticGeometry(java.lang.String id)
id
- public CSGeometry createCSGeometry(java.lang.String id)
id
- public ParametricGeometry createParametricGeometry(java.lang.String id)
id
- public boolean isSetListOfOrdinalMappings()
true
, if listOfOrdinalMappings contains at least one element.true
, if listOfOrdinalMappings contains at least one element,
otherwise false
public 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 false
true
, if listOfOrdinalMappings contain at least one element,
otherwise false
public 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 OrdinalMapping
java.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.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