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,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
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, setValue
isCachable
protected final int minLength
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public LongJsonType(int minLength, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public String getTypeName()
VariableType
getTypeName
in interface VariableType
getTypeName
in class SerializableType
public boolean isAbleToStore(Object value)
isAbleToStore
in interface VariableType
isAbleToStore
in class SerializableType
public byte[] serialize(Object value, ValueFields valueFields)
serialize
in class SerializableType
public Object deserialize(byte[] bytes, ValueFields valueFields)
deserialize
in class SerializableType
Copyright © 2016 Alfresco. All rights reserved.