Class TapHandConverter

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

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

    • TapHandConverter

      public TapHandConverter()
  • Method Details

    • convertToDatabaseColumn

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

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