Class KindValueConverter

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

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

    • KindValueConverter

      public KindValueConverter()
  • Method Details

    • convertToDatabaseColumn

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

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