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