Class ExtensionsJsonConverter
- java.lang.Object
-
- org.activiti.cloud.services.modeling.entity.ExtensionsJsonConverter
-
- All Implemented Interfaces:
javax.persistence.AttributeConverter<java.util.Map,java.lang.String>
public class ExtensionsJsonConverter extends java.lang.Object implements javax.persistence.AttributeConverter<java.util.Map,java.lang.String>Json to model metadata converter
-
-
Constructor Summary
Constructors Constructor Description ExtensionsJsonConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringconvertToDatabaseColumn(java.util.Map entity)java.util.Map<java.lang.String,java.lang.Object>convertToEntityAttribute(java.lang.String json)protected com.fasterxml.jackson.databind.ObjectMappergetObjectMapper()
-
-
-
Method Detail
-
convertToDatabaseColumn
public java.lang.String convertToDatabaseColumn(java.util.Map entity)
- Specified by:
convertToDatabaseColumnin interfacejavax.persistence.AttributeConverter<java.util.Map,java.lang.String>
-
convertToEntityAttribute
public java.util.Map<java.lang.String,java.lang.Object> convertToEntityAttribute(java.lang.String json)
- Specified by:
convertToEntityAttributein interfacejavax.persistence.AttributeConverter<java.util.Map,java.lang.String>
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
-