public class SerializableByteArrayConverter extends Object implements TypeConverter<Serializable,byte[]>
| Constructor and Description |
|---|
SerializableByteArrayConverter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
toDatastoreType(Serializable memberValue)
Method to convert the passed member value to the datastore type.
|
Serializable |
toMemberType(byte[] datastoreValue)
Method to convert the passed datastore value to the member type.
|
public byte[] toDatastoreType(Serializable memberValue)
TypeConvertertoDatastoreType in interface TypeConverter<Serializable,byte[]>memberValue - Value from the memberpublic Serializable toMemberType(byte[] datastoreValue)
TypeConvertertoMemberType in interface TypeConverter<Serializable,byte[]>datastoreValue - Value from the datastoreCopyright © 2016. All rights reserved.