Class LineEndConverter

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

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

    • LineEndConverter

      public LineEndConverter()
  • Method Details

    • convertToDatabaseColumn

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

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