Class MultiLineStringWKTConverter

java.lang.Object
io.jmix.maps.converter.wkt.MultiLineStringWKTConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<org.locationtech.jts.geom.MultiLineString,String>

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

    • MultiLineStringWKTConverter

      public MultiLineStringWKTConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(org.locationtech.jts.geom.MultiLineString multiLineString)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<org.locationtech.jts.geom.MultiLineString,String>
    • convertToEntityAttribute

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