Class PrimitiveBooleanConverter

java.lang.Object
com.broadleafcommerce.common.jpa.converter.PrimitiveBooleanConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<Boolean,Character>

public class PrimitiveBooleanConverter extends Object implements javax.persistence.AttributeConverter<Boolean,Character>
  • Constructor Details

    • PrimitiveBooleanConverter

      public PrimitiveBooleanConverter()
  • Method Details

    • convertToDatabaseColumn

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

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