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