Class AttributeChoiceValueMapConverter
java.lang.Object
com.broadleafcommerce.order.provider.jpa.domain.support.AttributeChoiceValueMapConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Map<String,
com.broadleafcommerce.order.common.domain.AttributeChoiceValue>, String>
public class AttributeChoiceValueMapConverter
extends Object
implements jakarta.persistence.AttributeConverter<Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue>,String>
Converter used for converting a map of
String
to AttributeChoiceValue
type to
String
before persistence.- Author:
- Erin Pennington (epenning)
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeChoiceValueMapConverter
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> map) convertToEntityAttribute
(String mapJson)
-
Constructor Details
-
AttributeChoiceValueMapConverter
public AttributeChoiceValueMapConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertToDatabaseColumn
-
convertToEntityAttribute
-