Class RegularityValueConverter

java.lang.Object
hu.rts.mike.example.dev.crm.entity.RegularityValueConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Regularity,String>

public class RegularityValueConverter extends Object implements jakarta.persistence.AttributeConverter<Regularity,String>
  • Constructor Details

    • RegularityValueConverter

      public RegularityValueConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(Regularity attribute)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<Regularity,String>
    • convertToEntityAttribute

      public Regularity convertToEntityAttribute(String data)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<Regularity,String>