Package tenapull.data.persistence
Class MultiTypeWrapper.Converter
java.lang.Object
tenapull.data.persistence.MultiTypeWrapper.Converter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<MultiTypeWrapper,java.lang.String>
- Enclosing class:
- MultiTypeWrapper
public static class MultiTypeWrapper.Converter extends java.lang.Object implements javax.persistence.AttributeConverter<MultiTypeWrapper,java.lang.String>
Hibernate converter, for converting between a string for the DB and a MultiTypeWrapper
instance
-
Constructor Summary
Constructors Constructor Description Converter() -
Method Summary
Modifier and Type Method Description java.lang.StringconvertToDatabaseColumn(MultiTypeWrapper wrapper)MultiTypeWrapperconvertToEntityAttribute(java.lang.String dbString)
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<MultiTypeWrapper,java.lang.String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<MultiTypeWrapper,java.lang.String>
-