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