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