Class YearMonthStringAttributeConverter

java.lang.Object
org.cardanofoundation.lob.app.support.orm.YearMonthStringAttributeConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<YearMonth,String>

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

    • YearMonthStringAttributeConverter

      public YearMonthStringAttributeConverter()
  • Method Details

    • convertToDatabaseColumn

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

      @Nullable public YearMonth convertToEntityAttribute(@Nullable String dbData)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<YearMonth,String>