Class MultiPointWKTConverter

java.lang.Object
io.jmix.maps.converter.wkt.MultiPointWKTConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.MultiPoint,String>

public class MultiPointWKTConverter extends Object implements jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.MultiPoint,String>
Transforms MultiPoint datatype into WKT (Well-known Text) representation that persists as a text and vice versa.
  • Constructor Details

    • MultiPointWKTConverter

      public MultiPointWKTConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(org.locationtech.jts.geom.MultiPoint multiPoint)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.MultiPoint,String>
    • convertToEntityAttribute

      public org.locationtech.jts.geom.MultiPoint convertToEntityAttribute(String s)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<org.locationtech.jts.geom.MultiPoint,String>