Package io.jmix.maps.converter.wkt
Class PolygonWKTConverter
java.lang.Object
io.jmix.maps.converter.wkt.PolygonWKTConverter
- All Implemented Interfaces:
 javax.persistence.AttributeConverter<org.locationtech.jts.geom.Polygon,String> 
public class PolygonWKTConverter
extends Object
implements javax.persistence.AttributeConverter<org.locationtech.jts.geom.Polygon,String> 
Transforms 
Polygon datatype into WKT (Well-known Text) representation that persists as a text and vice versa.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(org.locationtech.jts.geom.Polygon polygon) org.locationtech.jts.geom.Polygon 
- 
Constructor Details
- 
PolygonWKTConverter
public PolygonWKTConverter() 
 - 
 - 
Method Details
- 
convertToDatabaseColumn
- Specified by:
 convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<org.locationtech.jts.geom.Polygon,String> 
 - 
convertToEntityAttribute
- Specified by:
 convertToEntityAttributein interfacejavax.persistence.AttributeConverter<org.locationtech.jts.geom.Polygon,String> 
 
 -