public class MapOfValuesConverter extends TypeConverter
| Constructor and Description |
|---|
MapOfValuesConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Class targetClass,
Object fromDBObject,
MappedField mf)
decode the
DBObject and provide the corresponding java (type-safe) object
NOTE: optionalExtraInfo might be null |
Object |
encode(Object value,
MappedField mf)
encode the (type-safe) java object into the corresponding
DBObject |
decode, encode, equals, getMapper, getSupportTypes, hashCode, setMapper, setSupportedTypes, setSupportTypespublic Object decode(Class targetClass, Object fromDBObject, MappedField mf)
TypeConverterDBObject and provide the corresponding java (type-safe) object
decode in class TypeConverterpublic Object encode(Object value, MappedField mf)
TypeConverterDBObjectencode in class TypeConverterCopyright © 2021. All rights reserved.