Class GeoPtListConverter

java.lang.Object
com.maplander.backend.repository.converter.GeoPtListConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<List<com.utils.geo.GeoPt>,org.locationtech.jts.geom.MultiPoint>

public class GeoPtListConverter extends Object implements jakarta.persistence.AttributeConverter<List<com.utils.geo.GeoPt>,org.locationtech.jts.geom.MultiPoint>
  • Constructor Details

    • GeoPtListConverter

      public GeoPtListConverter()
  • Method Details

    • convertToDatabaseColumn

      public org.locationtech.jts.geom.MultiPoint convertToDatabaseColumn(List<com.utils.geo.GeoPt> geoPts)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<List<com.utils.geo.GeoPt>,org.locationtech.jts.geom.MultiPoint>
    • convertToEntityAttribute

      public List<com.utils.geo.GeoPt> convertToEntityAttribute(org.locationtech.jts.geom.MultiPoint multiPoint)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<List<com.utils.geo.GeoPt>,org.locationtech.jts.geom.MultiPoint>