Class ConsentScopeConverter

java.lang.Object
io.goobi.viewer.dao.converter.ConsentScopeConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<ConsentScope,String>

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

    • ConsentScopeConverter

      public ConsentScopeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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