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)
TypeConverter
toDatastoreType
in interface TypeConverter<Serializable,byte[]>
memberValue
- Value from the memberpublic Serializable toMemberType(byte[] datastoreValue)
TypeConverter
toMemberType
in interface TypeConverter<Serializable,byte[]>
datastoreValue
- Value from the datastoreCopyright © 2018. All rights reserved.