public class Geometry extends AbstractSpatialNamedSBase
| Constructor and Description |
|---|
Geometry() |
Geometry(Geometry sb) |
Geometry(int level,
int version) |
Geometry(String id,
int level,
int version) |
| Modifier and Type | Method and 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() |
AdjacentDomains |
createAdjacentDomain()
Creates a new AdjacentDomain element and adds it to the ListOfAdjacentDomains list
|
AdjacentDomains |
createAdjacentDomain(String id)
Creates a new
AdjacentDomains element and adds it to the
listOfAdjacentDomains list |
AnalyticGeometry |
createAnalyticGeometry() |
AnalyticGeometry |
createAnalyticGeometry(String id) |
CoordinateComponent |
createCoordinateComponent()
Creates a new CoordinateComponent element and adds it to the ListOfCoordinateComponents list
|
CoordinateComponent |
createCoordinateComponent(String id)
Creates a new
CoordinateComponent element and adds it to the ListOfCoordinateComponents list |
CSGeometry |
createCSGeometry() |
CSGeometry |
createCSGeometry(String id) |
Domain |
createDomain()
Creates a new Domain element and adds it to the ListOfDomains list
|
Domain |
createDomain(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(String id)
Creates a new
DomainType element and adds it to the ListOfDomainTypes list |
MixedGeometry |
createMixedGeometry() |
MixedGeometry |
createMixedGeometry(String id)
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
ParametricGeometry |
createParametricGeometry() |
ParametricGeometry |
createParametricGeometry(String id) |
SampledField |
createSampledField()
Creates a new SampledField element and adds it to the ListOfSampledFields list
|
SampledField |
createSampledField(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(String id)
Creates a new
GeometryDefinition element and adds it to the ListOfGeometryDefinitions list |
boolean |
equals(Object object) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
GeometryKind |
getCoordinateSystem()
Returns the value of coordinateSystem
|
org.sbml.jsbml.ListOf<AdjacentDomains> |
getListOfAdjacentDomains()
Returns the listOfAdjacentDomains.
|
org.sbml.jsbml.ListOf<CoordinateComponent> |
getListOfCoordinateComponents()
Returns the listOfCoordinateComponents.
|
org.sbml.jsbml.ListOf<Domain> |
getListOfDomains()
Returns the listOfDomains.
|
org.sbml.jsbml.ListOf<DomainType> |
getListOfDomainTypes()
Returns the listOfDomainTypes.
|
org.sbml.jsbml.ListOf<GeometryDefinition> |
getListOfGeometryDefinitions()
Returns the listOfGeometryDefinitions.
|
org.sbml.jsbml.ListOf<SampledField> |
getListOfSampledFields()
Returns the listOfSampledFields.
|
int |
hashCode() |
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(String attributeName,
String prefix,
String value) |
boolean |
removeAdjacentDomain(AdjacentDomains adjacentDomains)
Removes an element from the listOfAdjacentDomains.
|
void |
removeAdjacentDomain(int i)
Removes an element from the listOfAdjacentDomains at the given index.
|
void |
removeAdjacentDomain(String id) |
boolean |
removeCoordinateComponent(CoordinateComponent coordinateComponents)
Removes an element from the listOfCoordinateComponents.
|
void |
removeCoordinateComponent(int i)
Removes an element from the listOfCoordinateComponents at the given index.
|
void |
removeCoordinateComponent(String id) |
boolean |
removeDomain(Domain domain)
Removes an element from the listOfDomains.
|
void |
removeDomain(int i)
Removes an element from the listOfDomains at the given index.
|
void |
removeDomain(String id) |
boolean |
removeDomainType(DomainType domainType)
Removes an element from the listOfDomainTypes.
|
void |
removeDomainType(int i)
Removes an element from the listOfDomainTypes at the given index.
|
void |
removeDomainType(String id) |
boolean |
removeGeometryDefinition(GeometryDefinition geometryDefinition)
Removes an element from the listOfGeometryDefinitions.
|
void |
removeGeometryDefinition(int i)
Removes an element from the listOfGeometryDefinitions at the given index.
|
void |
removeGeometryDefinition(String id) |
void |
removeSampledField(int i)
Removes an element from the listOfSampledFields at the given index.
|
boolean |
removeSampledField(SampledField sampledField)
Removes an element from the listOfSampledFields.
|
void |
removeSampledField(String id) |
void |
setCoordinateSystem(GeometryKind coordinateSystem)
Sets the value of coordinateSystem
|
void |
setListOfAdjacentDomains(org.sbml.jsbml.ListOf<AdjacentDomains> listOfAdjacentDomains)
Sets the given
ListOf<AdjacentDomain>. |
void |
setListOfCoordinateComponents(org.sbml.jsbml.ListOf<CoordinateComponent> listOfCoordinateComponents)
Sets the given
ListOf<CoordinateComponent>. |
void |
setListOfDomains(org.sbml.jsbml.ListOf<Domain> listOfDomains)
Sets the given
ListOf<Domain>. |
void |
setListOfDomainTypes(org.sbml.jsbml.ListOf<DomainType> listOfDomainTypes)
Sets the given
ListOf<DomainType>. |
void |
setListOfGeometryDefinitions(org.sbml.jsbml.ListOf<GeometryDefinition> listOfGeometryDefinitions)
Sets the given
ListOf<GeometryDefinition>. |
void |
setListOfSampledFields(org.sbml.jsbml.ListOf<SampledField> listOfSampledFields)
Sets the given
ListOf<SampledField>. |
String |
toString() |
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 |
Map<String,String> |
writeXMLAttributes() |
getSpatialId, initDefaults, isSetSpatialId, setSpatialId, unsetSpatialIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, 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, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setPackageVersion, 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, appendAnnotation, appendAnnotation, 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, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, 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 Geometry()
public Geometry(Geometry sb)
sb - public Geometry(String id, int level, int version)
id - level - version - public Geometry(int level,
int version)
level - version - public Geometry clone()
clone in interface org.sbml.jsbml.SBaseclone in class AbstractSpatialNamedSBasepublic boolean equals(Object object)
equals in interface org.sbml.jsbml.SBaseequals in class AbstractSpatialNamedSBasepublic GeometryKind getCoordinateSystem()
public boolean isSetCoordinateSystem()
public void setCoordinateSystem(GeometryKind coordinateSystem)
coordinateSystem - public boolean unsetCoordinateSystem()
true, if coordinateSystem was set before,
otherwise falsepublic boolean isSetListOfSampledFields()
true, if listOfSampledFields contains at least one element.true, if listOfSampledFields contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<SampledField> getListOfSampledFields()
public void setListOfSampledFields(org.sbml.jsbml.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 falsetrue, if listOfSampledFields contain at least one element,
otherwise falsepublic boolean addSampledField(SampledField sampledField)
SampledField to the listOfSampledFields.
The listOfSampledFields is initialized if necessary.
sampledField - the element to add to the listCollection.add(E))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 SampledFieldIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeSampledField(String id)
id - public SampledField createSampledField()
public SampledField createSampledField(String id)
SampledField element and adds it to the ListOfSampledFields listid - SampledField elementpublic boolean isSetListOfGeometryDefinitions()
true, if listOfGeometryDefinitions contains at least one element.true, if listOfGeometryDefinitions contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<GeometryDefinition> getListOfGeometryDefinitions()
public void setListOfGeometryDefinitions(org.sbml.jsbml.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 geometryDefinition)
GeometryDefinition to the listOfGeometryDefinitions.
The listOfGeometryDefinitions is initialized if necessary.
geometryDefinition - the element to add to the listCollection.add(E))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 GeometryDefinitionIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeGeometryDefinition(String id)
id - public SampledFieldGeometry createSampledFieldGeometry()
public AnalyticGeometry createAnalyticGeometry()
public CSGeometry createCSGeometry()
public ParametricGeometry createParametricGeometry()
public MixedGeometry createMixedGeometry()
public MixedGeometry createMixedGeometry(String id)
GeometryDefinition element and adds it to the ListOfGeometryDefinitions listid - GeometryDefinition elementpublic SampledFieldGeometry createSampledFieldGeometry(String id)
GeometryDefinition element and adds it to the ListOfGeometryDefinitions listid - GeometryDefinition elementpublic AnalyticGeometry createAnalyticGeometry(String id)
id - public CSGeometry createCSGeometry(String id)
id - public ParametricGeometry createParametricGeometry(String id)
id - public boolean isSetListOfAdjacentDomains()
true, if listOfAdjacentDomains contains at least one element.true, if listOfAdjacentDomains contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<AdjacentDomains> getListOfAdjacentDomains()
public void setListOfAdjacentDomains(org.sbml.jsbml.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 falsetrue, if listOfAdjacentDomains contain at least one element,
otherwise falsepublic boolean addAdjacentDomain(AdjacentDomains adjacentDomains)
AdjacentDomains to the listOfAdjacentDomains.
The listOfAdjacentDomains is initialized if necessary.
adjacentDomains - the element to add to the listCollection.add(E))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 AdjacentDomainsIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeAdjacentDomain(String id)
id - public AdjacentDomains createAdjacentDomain()
public AdjacentDomains createAdjacentDomain(String id)
AdjacentDomains element and adds it to the
listOfAdjacentDomains listid - AdjacentDomains elementpublic boolean isSetListOfDomainTypes()
true, if listOfDomainTypes contains at least one element.true, if listOfDomainTypes contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<DomainType> getListOfDomainTypes()
public void setListOfDomainTypes(org.sbml.jsbml.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 falsetrue, if listOfDomainTypes contain at least one element,
otherwise falsepublic boolean addDomainType(DomainType domainType)
DomainType to the listOfDomainTypes.
The listOfDomainTypes is initialized if necessary.
domainType - the element to add to the listCollection.add(E))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 DomainTypeIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeDomainType(String id)
id - public DomainType createDomainType()
public DomainType createDomainType(String id)
DomainType element and adds it to the ListOfDomainTypes listid - DomainType elementpublic boolean isSetListOfDomains()
true, if listOfDomains contains at least one element.true, if listOfDomains contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<Domain> getListOfDomains()
public void setListOfDomains(org.sbml.jsbml.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 falsetrue, if listOfDomains contain at least one element,
otherwise falsepublic boolean addDomain(Domain domain)
Domain to the listOfDomains.
The listOfDomains is initialized if necessary.
domain - the element to add to the listCollection.add(E))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 DomainIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeDomain(String id)
id - public Domain createDomain()
public Domain createDomain(String id)
Domain element and adds it to the ListOfDomains listid - Domain elementpublic boolean isSetListOfCoordinateComponents()
true, if listOfCoordinateComponents contains at least one element.true, if listOfCoordinateComponents contains at least one element,
otherwise falsepublic org.sbml.jsbml.ListOf<CoordinateComponent> getListOfCoordinateComponents()
public void setListOfCoordinateComponents(org.sbml.jsbml.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 falsetrue, if listOfCoordinateComponents contain at least one element,
otherwise falsepublic boolean addCoordinateComponent(CoordinateComponent coordinateComponents)
CoordinateComponent to the listOfCoordinateComponents.
The listOfCoordinateComponents is initialized if necessary.
coordinateComponents - the element to add to the listCollection.add(E))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 CoordinateComponentIndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public void removeCoordinateComponent(String id)
id - public CoordinateComponent createCoordinateComponent()
public CoordinateComponent createCoordinateComponent(String id)
CoordinateComponent element and adds it to the ListOfCoordinateComponents listid - CoordinateComponent elementpublic String toString()
toString in class AbstractSpatialNamedSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface org.sbml.jsbml.SBasereadAttribute in class AbstractSpatialNamedSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class AbstractSpatialNamedSBasepublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class AbstractSpatialNamedSBasepublic 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.