Class OrientationConverter
java.lang.Object
com.musicxmltasks.musicxml.converter.BaseConverter
com.musicxmltasks.musicxml.converter.OrientationConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Orientation,java.lang.String>
public class OrientationConverter extends BaseConverter implements javax.persistence.AttributeConverter<Orientation,java.lang.String>
-
Constructor Summary
Constructors Constructor Description OrientationConverter() -
Method Summary
Modifier and Type Method Description java.lang.StringconvertToDatabaseColumn(Orientation enumValue)OrientationconvertToEntityAttribute(java.lang.String value)Methods inherited from class com.musicxmltasks.musicxml.converter.BaseConverter
dbValueToEnum, enumToDbValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OrientationConverter
public OrientationConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<Orientation,java.lang.String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<Orientation,java.lang.String>
-