Class SpecificItemChoiceConverter
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.support.SpecificItemChoiceConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<JpaSpecificItemChoice,
String>
public class SpecificItemChoiceConverter
extends Object
implements jakarta.persistence.AttributeConverter<JpaSpecificItemChoice,String>
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
ConstructorDescriptionSpecificItemChoiceConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(JpaSpecificItemChoice itemChoice) convertToEntityAttribute
(String dbData)
-
Constructor Details
-
SpecificItemChoiceConverter
public SpecificItemChoiceConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<JpaSpecificItemChoice,
String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<JpaSpecificItemChoice,
String>
-