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