Class Shirt.ShirtStringToIntegerConverter

  • All Implemented Interfaces:
    jakarta.persistence.AttributeConverter<String,​Integer>
    Enclosing class:
    Shirt

    public static class Shirt.ShirtStringToIntegerConverter
    extends Object
    implements jakarta.persistence.AttributeConverter<String,​Integer>
    • Constructor Detail

      • ShirtStringToIntegerConverter

        public ShirtStringToIntegerConverter()
    • Method Detail

      • convertToDatabaseColumn

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

        public String convertToEntityAttribute​(Integer dbData)
        Specified by:
        convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<String,​Integer>