Class BeamTypeConverter

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

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

    • BeamTypeConverter

      public BeamTypeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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