Class NoteTypeValueConverter

java.lang.Object
com.musicxmltasks.musicxml.converter.BaseConverter
com.musicxmltasks.musicxml.converter.NoteTypeValueConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<NoteTypeValue,​java.lang.String>

public class NoteTypeValueConverter
extends BaseConverter
implements javax.persistence.AttributeConverter<NoteTypeValue,​java.lang.String>
  • Constructor Details

    • NoteTypeValueConverter

      public NoteTypeValueConverter()
  • Method Details

    • convertToDatabaseColumn

      public java.lang.String convertToDatabaseColumn​(NoteTypeValue enumValue)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<NoteTypeValue,​java.lang.String>
    • convertToEntityAttribute

      public NoteTypeValue convertToEntityAttribute​(java.lang.String value)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<NoteTypeValue,​java.lang.String>