Package io.goobi.viewer.dao.converter
Class WidgetContentTypeConverter
java.lang.Object
io.goobi.viewer.dao.converter.WidgetContentTypeConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<WidgetContentType,
String>
public class WidgetContentTypeConverter
extends Object
implements jakarta.persistence.AttributeConverter<WidgetContentType,String>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(WidgetContentType attribute) convertToEntityAttribute
(String dbData)
-
Constructor Details
-
WidgetContentTypeConverter
public WidgetContentTypeConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<WidgetContentType,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<WidgetContentType,
String>
-