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