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