Class LOVConverter

java.lang.Object
org.cxbox.model.core.converter.LOVConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<LOV,String>

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

    • LOVConverter

      public LOVConverter()
  • Method Details

    • convertToDatabaseColumn

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

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