Package org.n52.shetland.ogc.om.values
Class GeometryValue
java.lang.Object
org.n52.shetland.ogc.gml.AbstractGML
org.n52.shetland.ogc.gml.AbstractGeometry
org.n52.shetland.ogc.om.values.GeometryValue
- All Implemented Interfaces:
Value<org.locationtech.jts.geom.Geometry>
public class GeometryValue
extends AbstractGeometry
implements Value<org.locationtech.jts.geom.Geometry>
Geometry measurement representation for observation
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryValue(org.locationtech.jts.geom.Geometry value) construcorGeometryValue(AbstractGeometry abstractGeometry) -
Method Summary
Modifier and TypeMethodDescription<X,E extends Exception>
Xaccept(ValueVisitor<X, E> visitor) getUnit()Get the unit of measureGet the unit of measure objectorg.locationtech.jts.geom.GeometrygetValue()Get the measurement valuebooleanCheck whether the value is setvoidSet the unit of measureSet the unit of measure objectsetValue(org.locationtech.jts.geom.Geometry value) Set the measurment valuetoString()Methods inherited from class org.n52.shetland.ogc.gml.AbstractGeometry
getGeometry, isSetGeometry, setGeometryMethods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, 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, setName
-
Constructor Details
-
GeometryValue
public GeometryValue() -
GeometryValue
-
GeometryValue
public GeometryValue(org.locationtech.jts.geom.Geometry value) construcor- Parameters:
value- Geometry value
-
-
Method Details
-
setValue
Description copied from interface:ValueSet the measurment value -
getValue
public org.locationtech.jts.geom.Geometry getValue()Description copied from interface:ValueGet the measurement value -
setUnit
Description copied from interface:ValueSet the unit of measure -
setUnit
Description copied from interface:ValueSet the unit of measure object -
getUnit
Description copied from interface:ValueGet the unit of measure -
getUnitObject
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<org.locationtech.jts.geom.Geometry>- Returns:
- Unit of measure
-
toString
-
isSetValue
public boolean isSetValue()Description copied from interface:ValueCheck whether the value is set- Specified by:
isSetValuein interfaceValue<org.locationtech.jts.geom.Geometry>- Returns:
true, if value is set
-
accept
-