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