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 java.lang.Exception> |
accept(ValueVisitor<X,E> visitor) |
java.lang.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(java.lang.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
|
java.lang.String |
toString() |
getGeometry, isSetGeometry, setGeometryaddMetaDataProperty, addMetaDataProperty, addName, 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(java.lang.String unit)
Valuepublic GeometryValue setUnit(UoM unit)
Valuepublic java.lang.String getUnit()
Valuepublic UoM getUnitObject()
ValuegetUnitObject in interface Value<org.locationtech.jts.geom.Geometry>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isSetValue()
ValueisSetValue in interface Value<org.locationtech.jts.geom.Geometry>true, if value is setpublic <X,E extends java.lang.Exception> X accept(ValueVisitor<X,E> visitor) throws E extends java.lang.Exception
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.