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