public class ShortConverter extends TypeConverter implements SimpleValueConverter
| Constructor and Description |
|---|
ShortConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertToArray(Class type,
List<?> values) |
Object |
decode(Class targetClass,
Object val,
MappedField optionalExtraInfo)
decode the
DBObject and provide the corresponding java (type-safe) objectNOTE: optionalExtraInfo might be null* |
decode, encode, encode, setMapperpublic Object decode(Class targetClass, Object val, MappedField optionalExtraInfo) throws MappingException
TypeConverterDBObject and provide the corresponding java (type-safe) objectdecode in class TypeConverterMappingExceptionCopyright © 2015. All rights reserved.