Class LogLevelConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<LogLevel,​java.lang.Integer>

    public class LogLevelConverter
    extends java.lang.Object
    implements javax.persistence.AttributeConverter<LogLevel,​java.lang.Integer>
    • Constructor Detail

      • LogLevelConverter

        public LogLevelConverter()
    • Method Detail

      • convertToDatabaseColumn

        public java.lang.Integer convertToDatabaseColumn​(LogLevel attribute)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<LogLevel,​java.lang.Integer>
      • convertToEntityAttribute

        public LogLevel convertToEntityAttribute​(java.lang.Integer dbData)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<LogLevel,​java.lang.Integer>