Package io.goobi.viewer.dao.converter
Class ConsentScopeConverter
java.lang.Object
io.goobi.viewer.dao.converter.ConsentScopeConverter
- All Implemented Interfaces:
AttributeConverter<ConsentScope,String>
public class ConsentScopeConverter
extends Object
implements AttributeConverter<ConsentScope,String>
JPA
AttributeConverter that maps ConsentScope objects to and from their string
representation for persistent storage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(ConsentScope attribute) convertToEntityAttribute(String dbData)
-
Constructor Details
-
ConsentScopeConverter
public ConsentScopeConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfaceAttributeConverter<ConsentScope,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfaceAttributeConverter<ConsentScope,String>
-