public class SerializableType extends ByteArrayType
| Constructor and Description |
|---|
SerializableType() |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectInputStream |
createObjectInputStream(InputStream is) |
String |
getTypeName()
name of variable type (limited to 100 characters length)
|
Object |
getValue(ValueFields valueFields) |
boolean |
isAbleToStore(Object value) |
static byte[] |
serialize(Object value,
ValueFields valueFields) |
void |
setValue(Object value,
ValueFields valueFields)
Stores the specified value in the supplied
ValueFields. |
isCachablepublic static final String TYPE_NAME
public String getTypeName()
VariableTypegetTypeName in interface VariableTypegetTypeName in class ByteArrayTypepublic Object getValue(ValueFields valueFields)
getValue in interface VariableTypegetValue in class ByteArrayTypeValueFields.public void setValue(Object value, ValueFields valueFields)
VariableTypeValueFields.setValue in interface VariableTypesetValue in class ByteArrayTypepublic static byte[] serialize(Object value, ValueFields valueFields)
public boolean isAbleToStore(Object value)
isAbleToStore in interface VariableTypeisAbleToStore in class ByteArrayTypeprotected ObjectInputStream createObjectInputStream(InputStream is) throws IOException
IOExceptionCopyright © 2013 Alfresco. All rights reserved.