java.io.Serializable
, java.lang.Cloneable
, javax.swing.tree.TreeNode
, SpatialNamedSBase
, NamedSBase
, SBase
, TreeNodeWithChangeSupport
public class Geometry extends AbstractSpatialNamedSBase
JSBML_WRONG_SBO_TERM
Constructor | Description |
---|---|
Geometry() |
|
Geometry(int level,
int version) |
|
Geometry(java.lang.String id,
int level,
int version) |
|
Geometry(Geometry sb) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAdjacentDomain(AdjacentDomains adjacentDomains) |
Adds a new
AdjacentDomains to the listOfAdjacentDomains . |
boolean |
addCoordinateComponent(CoordinateComponent coordinateComponents) |
Adds a new
CoordinateComponent to the listOfCoordinateComponents. |
boolean |
addDomain(Domain domain) |
Adds a new
Domain to the listOfDomains. |
boolean |
addDomainType(DomainType domainType) |
Adds a new
DomainType to the listOfDomainTypes. |
boolean |
addGeometryDefinition(GeometryDefinition geometryDefinition) |
Adds a new
GeometryDefinition to the listOfGeometryDefinitions. |
boolean |
addSampledField(SampledField sampledField) |
Adds a new
SampledField to the listOfSampledFields. |
Geometry |
clone() |
Creates a deep copy of this object, i.e., a new
SBase with the same
properties
like this one. |
AdjacentDomains |
createAdjacentDomain() |
Creates a new AdjacentDomain element and adds it to the ListOfAdjacentDomains list
|
AdjacentDomains |
createAdjacentDomain(java.lang.String id) |
Creates a new
AdjacentDomains element and adds it to the
listOfAdjacentDomains list |
AnalyticGeometry |
createAnalyticGeometry() |
|
AnalyticGeometry |
createAnalyticGeometry(java.lang.String id) |
|
CoordinateComponent |
createCoordinateComponent() |
Creates a new CoordinateComponent element and adds it to the ListOfCoordinateComponents list
|
CoordinateComponent |
createCoordinateComponent(java.lang.String id) |
Creates a new
CoordinateComponent element and adds it to the ListOfCoordinateComponents list |
CSGeometry |
createCSGeometry() |
|
CSGeometry |
createCSGeometry(java.lang.String id) |
|
Domain |
createDomain() |
Creates a new Domain element and adds it to the ListOfDomains list
|
Domain |
createDomain(java.lang.String id) |
Creates a new
Domain element and adds it to the ListOfDomains list |
DomainType |
createDomainType() |
Creates a new DomainType element and adds it to the ListOfDomainTypes list
|
DomainType |
createDomainType(java.lang.String id) |
Creates a new
DomainType element and adds it to the ListOfDomainTypes list |
MixedGeometry |
createMixedGeometry() |
|
MixedGeometry |
createMixedGeometry(java.lang.String id) |
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
ParametricGeometry |
createParametricGeometry() |
|
ParametricGeometry |
createParametricGeometry(java.lang.String id) |
|
SampledField |
createSampledField() |
Creates a new SampledField element and adds it to the ListOfSampledFields list
|
SampledField |
createSampledField(java.lang.String id) |
Creates a new
SampledField element and adds it to the ListOfSampledFields list |
SampledFieldGeometry |
createSampledFieldGeometry() |
Creates a new GeometryDefinition element and adds it to the ListOfGeometryDefinitions list
|
SampledFieldGeometry |
createSampledFieldGeometry(java.lang.String id) |
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
boolean |
equals(java.lang.Object object) |
|
AdjacentDomains |
getAdjacentDomains(int i) |
Gets an element from the
listOfAdjacentDomains at the given index. |
AdjacentDomains |
getAdjacentDomains(java.lang.String id) |
Gets an element from the listOfAdjacentDomains, with the given id.
|
int |
getAdjacentDomainsCount() |
Returns the number of
AdjacentDomains s in this
Geometry . |
boolean |
getAllowsChildren() |
|
javax.swing.tree.TreeNode |
getChildAt(int index) |
|
int |
getChildCount() |
|
CoordinateComponent |
getCoordinateComponent(int i) |
Gets an element from the
listOfCoordinateComponents at the given index. |
CoordinateComponent |
getCoordinateComponent(java.lang.String id) |
Gets an element from the listOfCoordinateComponents, with the given id.
|
int |
getCoordinateComponentCount() |
Returns the number of
CoordinateComponent s in this
Geometry . |
GeometryKind |
getCoordinateSystem() |
Returns the value of coordinateSystem
|
Domain |
getDomain(int i) |
Gets an element from the
listOfDomains at the given index. |
Domain |
getDomain(java.lang.String id) |
Gets an element from the listOfDomains, with the given id.
|
int |
getDomainCount() |
|
DomainType |
getDomainType(int i) |
Gets an element from the
listOfDomainTypes at the given index. |
DomainType |
getDomainType(java.lang.String id) |
Gets an element from the listOfDomainTypes, with the given id.
|
int |
getDomainTypeCount() |
Returns the number of
DomainType s in this
Geometry . |
GeometryDefinition |
getGeometryDefinition(int i) |
Gets an element from the
listOfGeometryDefinitions at the given index. |
GeometryDefinition |
getGeometryDefinition(java.lang.String id) |
Gets an element from the listOfGeometryDefinitions, with the given id.
|
int |
getGeometryDefinitionCount() |
Returns the number of
GeometryDefinition s in this
Geometry . |
ListOf<AdjacentDomains> |
getListOfAdjacentDomains() |
Returns the listOfAdjacentDomains.
|
ListOf<CoordinateComponent> |
getListOfCoordinateComponents() |
Returns the listOfCoordinateComponents.
|
ListOf<Domain> |
getListOfDomains() |
Returns the listOfDomains.
|
ListOf<DomainType> |
getListOfDomainTypes() |
Returns the listOfDomainTypes.
|
ListOf<GeometryDefinition> |
getListOfGeometryDefinitions() |
Returns the listOfGeometryDefinitions.
|
ListOf<SampledField> |
getListOfSampledFields() |
Returns the listOfSampledFields.
|
int |
getNumAdjacentDomains() |
Returns the number of
AdjacentDomains s in this
Geometry . |
int |
getNumCoordinateComponents() |
Returns the number of
CoordinateComponent s in this
Geometry . |
int |
getNumDomains() |
|
int |
getNumDomainTypes() |
Returns the number of
DomainType s in this
Geometry . |
int |
getNumGeometryDefinitions() |
Returns the number of
GeometryDefinition s in this
Geometry . |
int |
getNumSampledFields() |
Returns the number of
SampledField s in this
Geometry . |
SampledField |
getSampledField(int i) |
Gets an element from the
listOfSampledFields at the given index. |
SampledField |
getSampledField(java.lang.String id) |
Gets an element from the listOfSampledFields, with the given id.
|
int |
getSampledFieldCount() |
Returns the number of
SampledField s in this
Geometry . |
int |
hashCode() |
Returns a hash code value for this
SBase instance. |
boolean |
isSetCoordinateSystem() |
Returns whether coordinateSystem is set
|
boolean |
isSetListOfAdjacentDomains() |
Returns
true , if listOfAdjacentDomains contains at least one element. |
boolean |
isSetListOfCoordinateComponents() |
Returns
true , if listOfCoordinateComponents contains at least one element. |
boolean |
isSetListOfDomains() |
Returns
true , if listOfDomains contains at least one element. |
boolean |
isSetListOfDomainTypes() |
Returns
true , if listOfDomainTypes contains at least one element. |
boolean |
isSetListOfGeometryDefinitions() |
Returns
true , if listOfGeometryDefinitions contains at least one element. |
boolean |
isSetListOfSampledFields() |
Returns
true , if listOfSampledFields contains at least one element. |
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
Sets the given attribute in this
SBase . |
void |
removeAdjacentDomain(int i) |
Removes an element from the listOfAdjacentDomains at the given index.
|
void |
removeAdjacentDomain(java.lang.String id) |
|
boolean |
removeAdjacentDomain(AdjacentDomains adjacentDomains) |
Removes an element from the listOfAdjacentDomains.
|
void |
removeCoordinateComponent(int i) |
Removes an element from the listOfCoordinateComponents at the given index.
|
void |
removeCoordinateComponent(java.lang.String id) |
|
boolean |
removeCoordinateComponent(CoordinateComponent coordinateComponents) |
Removes an element from the listOfCoordinateComponents.
|
void |
removeDomain(int i) |
Removes an element from the listOfDomains at the given index.
|
void |
removeDomain(java.lang.String id) |
|
boolean |
removeDomain(Domain domain) |
Removes an element from the listOfDomains.
|
void |
removeDomainType(int i) |
Removes an element from the listOfDomainTypes at the given index.
|
void |
removeDomainType(java.lang.String id) |
|
boolean |
removeDomainType(DomainType domainType) |
Removes an element from the listOfDomainTypes.
|
void |
removeGeometryDefinition(int i) |
Removes an element from the listOfGeometryDefinitions at the given index.
|
void |
removeGeometryDefinition(java.lang.String id) |
|
boolean |
removeGeometryDefinition(GeometryDefinition geometryDefinition) |
Removes an element from the listOfGeometryDefinitions.
|
void |
removeSampledField(int i) |
Removes an element from the listOfSampledFields at the given index.
|
void |
removeSampledField(java.lang.String id) |
|
boolean |
removeSampledField(SampledField sampledField) |
Removes an element from the listOfSampledFields.
|
void |
setCoordinateSystem(GeometryKind coordinateSystem) |
Sets the value of coordinateSystem
|
void |
setListOfAdjacentDomains(ListOf<AdjacentDomains> listOfAdjacentDomains) |
Sets the given
ListOf<AdjacentDomain> . |
void |
setListOfCoordinateComponents(ListOf<CoordinateComponent> listOfCoordinateComponents) |
Sets the given
ListOf<CoordinateComponent> . |
void |
setListOfDomains(ListOf<Domain> listOfDomains) |
Sets the given
ListOf<Domain> . |
void |
setListOfDomainTypes(ListOf<DomainType> listOfDomainTypes) |
Sets the given
ListOf<DomainType> . |
void |
setListOfGeometryDefinitions(ListOf<GeometryDefinition> listOfGeometryDefinitions) |
Sets the given
ListOf<GeometryDefinition> . |
void |
setListOfSampledFields(ListOf<SampledField> listOfSampledFields) |
Sets the given
ListOf<SampledField> . |
boolean |
unsetCoordinateSystem() |
Unsets the variable coordinateSystem
|
boolean |
unsetListOfAdjacentDomains() |
Returns
true , if listOfAdjacentDomains contain at least one element,
otherwise false |
boolean |
unsetListOfCoordinateComponents() |
Returns
true , if listOfCoordinateComponents contain at least one element,
otherwise false |
boolean |
unsetListOfDomains() |
Returns
true , if listOfDomains contain at least one element,
otherwise false |
boolean |
unsetListOfDomainTypes() |
Returns
true , if listOfDomainTypes contain at least one element,
otherwise false |
boolean |
unsetListOfGeometryDefinitions() |
Returns
true , if listOfGeometryDefinitions contain at least one element,
otherwise false |
boolean |
unsetListOfSampledFields() |
Returns
true , if listOfSampledFields contain at least one element,
otherwise false |
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
Returns a map with all the attributes of this
SBase that
need to be written out in XML. |
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
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 Geometry()
public Geometry(Geometry sb)
sb
- public Geometry(java.lang.String id, int level, int version)
id
- level
- version
- public Geometry(int level, int version)
level
- version
- public Geometry 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 GeometryKind getCoordinateSystem()
public boolean isSetCoordinateSystem()
public void setCoordinateSystem(GeometryKind coordinateSystem)
coordinateSystem
- public boolean unsetCoordinateSystem()
true
, if coordinateSystem was set before,
otherwise false
public boolean isSetListOfSampledFields()
true
, if listOfSampledFields contains at least one element.true
, if listOfSampledFields contains at least one element,
otherwise false
public ListOf<SampledField> getListOfSampledFields()
public void setListOfSampledFields(ListOf<SampledField> listOfSampledFields)
ListOf<SampledField>
. If listOfSampledFields
was defined before and contains some elements, they are all unset.listOfSampledFields
- public boolean unsetListOfSampledFields()
true
, if listOfSampledFields contain at least one element,
otherwise false
true
, if listOfSampledFields contain at least one element,
otherwise false
public boolean addSampledField(SampledField sampledField)
SampledField
to the listOfSampledFields.
The listOfSampledFields is initialized if necessary.
sampledField
- the element to add to the listCollection#add
)public boolean removeSampledField(SampledField sampledField)
sampledField
- the element to be removed from the listList#remove(Object)
public void removeSampledField(int i)
i
- the index where to remove the SampledField
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeSampledField(java.lang.String id)
id
- public SampledField createSampledField()
public SampledField createSampledField(java.lang.String id)
SampledField
element and adds it to the ListOfSampledFields listid
- SampledField
elementpublic SampledField getSampledField(int i)
listOfSampledFields
at the given index.i
- the index of the SampledField
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SampledField getSampledField(java.lang.String id)
id
- the id of the SampledField
element to get.null
.public int getSampledFieldCount()
SampledField
s in this
Geometry
.SampledField
s in this
Geometry
.public int getNumSampledFields()
SampledField
s in this
Geometry
.SampledField
s in this
Geometry
.getSampledFieldCount()
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 geometryDefinition)
GeometryDefinition
to the listOfGeometryDefinitions.
The listOfGeometryDefinitions is initialized if necessary.
geometryDefinition
- the element to add to the listCollection#add
)public boolean removeGeometryDefinition(GeometryDefinition geometryDefinition)
geometryDefinition
- 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 void removeGeometryDefinition(java.lang.String id)
id
- public SampledFieldGeometry createSampledFieldGeometry()
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 GeometryDefinition getGeometryDefinition(int i)
listOfGeometryDefinitions
at the given index.i
- the index of the GeometryDefinition
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public GeometryDefinition getGeometryDefinition(java.lang.String id)
id
- the id of the GeometryDefinition
element to get.null
.public int getGeometryDefinitionCount()
GeometryDefinition
s in this
Geometry
.GeometryDefinition
s in this
Geometry
.public int getNumGeometryDefinitions()
GeometryDefinition
s in this
Geometry
.GeometryDefinition
s in this
Geometry
.getGeometryDefinitionCount()
public boolean isSetListOfAdjacentDomains()
true
, if listOfAdjacentDomains contains at least one element.true
, if listOfAdjacentDomains contains at least one element,
otherwise false
public ListOf<AdjacentDomains> getListOfAdjacentDomains()
public void setListOfAdjacentDomains(ListOf<AdjacentDomains> listOfAdjacentDomains)
ListOf<AdjacentDomain>
. If listOfAdjacentDomains
was defined before and contains some elements, they are all unset.listOfAdjacentDomains
- public boolean unsetListOfAdjacentDomains()
true
, if listOfAdjacentDomains contain at least one element,
otherwise false
true
, if listOfAdjacentDomains contain at least one element,
otherwise false
public boolean addAdjacentDomain(AdjacentDomains adjacentDomains)
AdjacentDomains
to the listOfAdjacentDomains
.
The listOfAdjacentDomains
is initialized if necessary.
adjacentDomains
- the element to add to the listCollection#add
)public boolean removeAdjacentDomain(AdjacentDomains adjacentDomains)
adjacentDomains
- the element to be removed from the listList#remove(Object)
public void removeAdjacentDomain(int i)
i
- the index where to remove the AdjacentDomains
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeAdjacentDomain(java.lang.String id)
id
- public AdjacentDomains createAdjacentDomain()
public AdjacentDomains createAdjacentDomain(java.lang.String id)
AdjacentDomains
element and adds it to the
listOfAdjacentDomains
listid
- AdjacentDomains
elementpublic AdjacentDomains getAdjacentDomains(int i)
listOfAdjacentDomains
at the given index.i
- the index of the AdjacentDomains
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public AdjacentDomains getAdjacentDomains(java.lang.String id)
id
- the id of the AdjacentDomains
element to get.null
.public int getAdjacentDomainsCount()
AdjacentDomains
s in this
Geometry
.AdjacentDomains
s in this
Geometry
.public int getNumAdjacentDomains()
AdjacentDomains
s in this
Geometry
.AdjacentDomains
s in this
Geometry
.getAdjacentDomainsCount()
public boolean isSetListOfDomainTypes()
true
, if listOfDomainTypes contains at least one element.true
, if listOfDomainTypes contains at least one element,
otherwise false
public ListOf<DomainType> getListOfDomainTypes()
public void setListOfDomainTypes(ListOf<DomainType> listOfDomainTypes)
ListOf<DomainType>
. If listOfDomainTypes
was defined before and contains some elements, they are all unset.listOfDomainTypes
- public boolean unsetListOfDomainTypes()
true
, if listOfDomainTypes contain at least one element,
otherwise false
true
, if listOfDomainTypes contain at least one element,
otherwise false
public boolean addDomainType(DomainType domainType)
DomainType
to the listOfDomainTypes.
The listOfDomainTypes is initialized if necessary.
domainType
- the element to add to the listCollection#add
)public boolean removeDomainType(DomainType domainType)
domainType
- the element to be removed from the listList#remove(Object)
public void removeDomainType(int i)
i
- the index where to remove the DomainType
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeDomainType(java.lang.String id)
id
- public DomainType createDomainType()
public DomainType createDomainType(java.lang.String id)
DomainType
element and adds it to the ListOfDomainTypes listid
- DomainType
elementpublic DomainType getDomainType(int i)
listOfDomainTypes
at the given index.i
- the index of the DomainType
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public DomainType getDomainType(java.lang.String id)
id
- the id of the DomainType
element to get.null
.public int getDomainTypeCount()
DomainType
s in this
Geometry
.DomainType
s in this
Geometry
.public int getNumDomainTypes()
DomainType
s in this
Geometry
.DomainType
s in this
Geometry
.getDomainTypeCount()
public boolean isSetListOfDomains()
true
, if listOfDomains contains at least one element.true
, if listOfDomains contains at least one element,
otherwise false
public ListOf<Domain> getListOfDomains()
public void setListOfDomains(ListOf<Domain> listOfDomains)
ListOf<Domain>
. If listOfDomains
was defined before and contains some elements, they are all unset.listOfDomains
- public boolean unsetListOfDomains()
true
, if listOfDomains contain at least one element,
otherwise false
true
, if listOfDomains contain at least one element,
otherwise false
public boolean addDomain(Domain domain)
Domain
to the listOfDomains.
The listOfDomains is initialized if necessary.
domain
- the element to add to the listCollection#add
)public boolean removeDomain(Domain domain)
domain
- the element to be removed from the listList#remove(Object)
public void removeDomain(int i)
i
- the index where to remove the Domain
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeDomain(java.lang.String id)
id
- public Domain createDomain()
public Domain createDomain(java.lang.String id)
Domain
element and adds it to the ListOfDomains listid
- Domain
elementpublic Domain getDomain(int i)
listOfDomains
at the given index.i
- the index of the Domain
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public Domain getDomain(java.lang.String id)
id
- the id of the Domain
element to get.null
.public int getNumDomains()
Domain
s in this
Geometry
.getDomainCount()
public boolean isSetListOfCoordinateComponents()
true
, if listOfCoordinateComponents contains at least one element.true
, if listOfCoordinateComponents contains at least one element,
otherwise false
public ListOf<CoordinateComponent> getListOfCoordinateComponents()
public void setListOfCoordinateComponents(ListOf<CoordinateComponent> listOfCoordinateComponents)
ListOf<CoordinateComponent>
. If listOfCoordinateComponents
was defined before and contains some elements, they are all unset.listOfCoordinateComponents
- public boolean unsetListOfCoordinateComponents()
true
, if listOfCoordinateComponents contain at least one element,
otherwise false
true
, if listOfCoordinateComponents contain at least one element,
otherwise false
public boolean addCoordinateComponent(CoordinateComponent coordinateComponents)
CoordinateComponent
to the listOfCoordinateComponents.
The listOfCoordinateComponents is initialized if necessary.
coordinateComponents
- the element to add to the listCollection#add
)public boolean removeCoordinateComponent(CoordinateComponent coordinateComponents)
coordinateComponents
- the element to be removed from the listList#remove(Object)
public void removeCoordinateComponent(int i)
i
- the index where to remove the CoordinateComponent
java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeCoordinateComponent(java.lang.String id)
id
- public CoordinateComponent createCoordinateComponent()
public CoordinateComponent createCoordinateComponent(java.lang.String id)
CoordinateComponent
element and adds it to the ListOfCoordinateComponents listid
- CoordinateComponent
elementpublic CoordinateComponent getCoordinateComponent(int i)
listOfCoordinateComponents
at the given index.i
- the index of the CoordinateComponent
element to get.java.lang.IndexOutOfBoundsException
- if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public CoordinateComponent getCoordinateComponent(java.lang.String id)
id
- the id of the CoordinateComponent
element to get.null
.public int getCoordinateComponentCount()
CoordinateComponent
s in this
Geometry
.CoordinateComponent
s in this
Geometry
.public int getNumCoordinateComponents()
CoordinateComponent
s in this
Geometry
.CoordinateComponent
s in this
Geometry
.getCoordinateComponentCount()
public boolean readAttribute(java.lang.String attributeName, java.lang.String prefix, java.lang.String value)
SBase
SBase
.
If the given attribute name is not recognized, nothing is done and
false
is returned.
readAttribute
in interface SBase
readAttribute
in class AbstractSBase
attributeName
- localName of the XML attributeprefix
- prefix of the XML attributevalue
- value of the XML attributetrue
if the attribute has been successfully read.public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
SBase
SBase
that
need to be written out in XML.
The attribute name is used as a key and the attribute value as value. If a prefix is needed for the attribute name, it need to be set directly in this map.
writeXMLAttributes
in interface SBase
writeXMLAttributes
in class AbstractSpatialNamedSBase
Map
containing the XML attributes of this object.public int hashCode()
SBase
SBase
instance.hashCode
in interface SBase
hashCode
in class AbstractSpatialNamedSBase
SBase
instance.Object.hashCode()
public 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