Class ShipmentConverter
- java.lang.Object
- 
- com.broadleafcommerce.order.provider.jpa.domain.support.ShipmentConverter
 
- 
- All Implemented Interfaces:
- javax.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String>
 
 public class ShipmentConverter extends Object implements javax.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String> Used to convert anShipmentto a serialized JSON object string representation for persistence and vice-versa.
- 
- 
Constructor SummaryConstructors Constructor Description ShipmentConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconvertToDatabaseColumn(com.broadleafcommerce.order.client.domain.Shipment attribute)com.broadleafcommerce.order.client.domain.ShipmentconvertToEntityAttribute(String dbData)com.fasterxml.jackson.databind.ObjectMappergetObjectMapper()
 
- 
- 
- 
Method Detail- 
convertToDatabaseColumnpublic String convertToDatabaseColumn(com.broadleafcommerce.order.client.domain.Shipment attribute) - Specified by:
- convertToDatabaseColumnin interface- javax.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String>
 
 - 
convertToEntityAttributepublic com.broadleafcommerce.order.client.domain.Shipment convertToEntityAttribute(String dbData) - Specified by:
- convertToEntityAttributein interface- javax.persistence.AttributeConverter<com.broadleafcommerce.order.client.domain.Shipment,String>
 
 - 
getObjectMapperpublic com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() 
 
- 
 
-