Class StickLocationTypeConverter

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

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

    • StickLocationTypeConverter

      public StickLocationTypeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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