Package io.jmix.maps.converter.wkt
Class PointWKTConverter
java.lang.Object
io.jmix.maps.converter.wkt.PointWKTConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
public class PointWKTConverter
extends Object
implements javax.persistence.AttributeConverter<org.locationtech.jts.geom.Point,String>
Transforms
Point
datatype into WKT (Well-known Text) representation that persists as a text and vice versa.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(org.locationtech.jts.geom.Point point) org.locationtech.jts.geom.Point
-
Constructor Details
-
PointWKTConverter
public PointWKTConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejavax.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejavax.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
-