Package io.jmix.maps.converter.wkt
Class PointWKTConverter
java.lang.Object
io.jmix.maps.converter.wkt.PointWKTConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
public class PointWKTConverter
extends Object
implements jakarta.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 interfacejakarta.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<org.locationtech.jts.geom.Point,
String>
-