Package io.jmix.maps.converter.wkt
Class LineStringWKTConverter
java.lang.Object
io.jmix.maps.converter.wkt.LineStringWKTConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.LineString,
String>
public class LineStringWKTConverter
extends Object
implements jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.LineString,String>
Transforms
LineString
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.LineString lineString) org.locationtech.jts.geom.LineString
-
Constructor Details
-
LineStringWKTConverter
public LineStringWKTConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<org.locationtech.jts.geom.LineString,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<org.locationtech.jts.geom.LineString,
String>
-