Class BooleanTFConverter

java.lang.Object
ch.cern.eam.wshub.core.tools.BooleanTFConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Boolean,String>

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

    • BooleanTFConverter

      public BooleanTFConverter()
  • Method Details

    • convertToDatabaseColumn

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

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