public class LongJsonType extends SerializableType
| Modifier and Type | Field and Description |
|---|---|
protected int |
minLength |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
TYPE_NAME| Constructor and Description |
|---|
LongJsonType(int minLength) |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bytes,
ValueFields valueFields) |
String |
getTypeName()
name of variable type (limited to 100 characters length)
|
boolean |
isAbleToStore(Object value) |
byte[] |
serialize(Object value,
ValueFields valueFields) |
createObjectInputStream, createObjectOutputStream, getValue, setValueisCachableprotected final int minLength
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public String getTypeName()
VariableTypegetTypeName in interface VariableTypegetTypeName in class SerializableTypepublic boolean isAbleToStore(Object value)
isAbleToStore in interface VariableTypeisAbleToStore in class SerializableTypepublic byte[] serialize(Object value, ValueFields valueFields)
serialize in class SerializableTypepublic Object deserialize(byte[] bytes, ValueFields valueFields)
deserialize in class SerializableTypeCopyright © 2015 Alfresco. All rights reserved.