public class PassthroughConverter extends TypeConverter
| Constructor and Description |
|---|
PassthroughConverter() |
PassthroughConverter(Class... types) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(Class targetClass,
Object fromDBObject,
MappedField optionalExtraInfo)
decode the
DBObject and provide the corresponding java (type-safe) objectNOTE: optionalExtraInfo might be null* |
decode, encode, encode, setMapperpublic PassthroughConverter()
public PassthroughConverter(Class... types)
public Object decode(Class targetClass, Object fromDBObject, MappedField optionalExtraInfo) throws MappingException
TypeConverterDBObject and provide the corresponding java (type-safe) objectdecode in class TypeConverterMappingExceptionCopyright © 2015. All rights reserved.