public class GeometryValue extends AbstractGeometry implements Value<org.locationtech.jts.geom.Geometry>
| Constructor and Description |
|---|
GeometryValue(AbstractGeometry abstractGeometry) |
GeometryValue(org.locationtech.jts.geom.Geometry value)
construcor
|
| Modifier and Type | Method and Description |
|---|---|
<X,E extends Exception> |
accept(ValueVisitor<X,E> visitor) |
String |
getUnit()
Get the unit of measure
|
UoM |
getUnitObject()
Get the unit of measure object
|
org.locationtech.jts.geom.Geometry |
getValue()
Get the measurement value
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
GeometryValue |
setUnit(UoM unit)
Set the unit of measure object
|
GeometryValue |
setValue(org.locationtech.jts.geom.Geometry value)
Set the measurment value
|
String |
toString() |
getGeometry, isSetGeometry, setGeometryaddMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNamepublic GeometryValue(AbstractGeometry abstractGeometry)
public GeometryValue(org.locationtech.jts.geom.Geometry value)
value - Geometry valuepublic GeometryValue setValue(org.locationtech.jts.geom.Geometry value)
Valuepublic org.locationtech.jts.geom.Geometry getValue()
Valuepublic void setUnit(String unit)
Valuepublic GeometryValue setUnit(UoM unit)
Valuepublic UoM getUnitObject()
ValuegetUnitObject in interface Value<org.locationtech.jts.geom.Geometry>public boolean isSetValue()
ValueisSetValue in interface Value<org.locationtech.jts.geom.Geometry>true, if value is setCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.