public class SerializableType extends ByteArrayType
Modifier and Type | Class and Description |
---|---|
protected static class |
SerializableType.ClassloaderAwareObjectInputStream |
Constructor and Description |
---|
SerializableType() |
Modifier and Type | Method and Description |
---|---|
String |
getTypeName()
name of variable type (limited to 100 characters length)
|
String |
getTypeNameForValue(Object value)
Returns the type name (i.e.
|
Object |
getValue(ValueFields valueFields) |
boolean |
isAbleToStore(Object value) |
static byte[] |
serialize(Object value,
ValueFields valueFields) |
void |
setValue(Object value,
ValueFields valueFields) |
isCachable
public static final String TYPE_NAME
public String getTypeName()
VariableType
getTypeName
in interface VariableType
getTypeName
in class ByteArrayType
public Object getValue(ValueFields valueFields)
getValue
in interface VariableType
getValue
in class ByteArrayType
public void setValue(Object value, ValueFields valueFields)
setValue
in interface VariableType
setValue
in class ByteArrayType
public static byte[] serialize(Object value, ValueFields valueFields)
public boolean isAbleToStore(Object value)
isAbleToStore
in interface VariableType
isAbleToStore
in class ByteArrayType
public String getTypeNameForValue(Object value)
VariableType
Returns the type name (i.e. the simple class name) of the passed value.
Note:For a serializable value only the type name "Serializable" will currently be returned and not the simple class name of the passed value.
getTypeNameForValue
in interface VariableType
getTypeNameForValue
in class ByteArrayType
Copyright © 2015. All rights reserved.