Class DisplayScopeConverter

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

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

    • DisplayScopeConverter

      public DisplayScopeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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