Class PhoneConverter
java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.support.PhoneConverter
public class PhoneConverter
extends Object
implements jakarta.persistence.AttributeConverter<Phone,String>
Used to convert a
Phone
to a serialized JSON object string representation for persistence
and vice-versa.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(Phone attribute) convertToEntityAttribute
(String dbData) com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Details
-
PhoneConverter
public PhoneConverter(@Nullable @Qualifier("converterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertToDatabaseColumn
-
convertToEntityAttribute
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-