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