Class PreferenceTypeConverter

java.lang.Object
org.openwms.core.preferences.impl.jpa.PreferenceTypeConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<PreferenceType,String>

public class PreferenceTypeConverter extends Object implements javax.persistence.AttributeConverter<PreferenceType,String>
A PreferenceTypeConverter.
Author:
Heiko Scherrer
  • Constructor Details

    • PreferenceTypeConverter

      public PreferenceTypeConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(PreferenceType attribute)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<PreferenceType,String>
    • convertToEntityAttribute

      public PreferenceType convertToEntityAttribute(String dbData)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<PreferenceType,String>