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