public class LongConverter extends TypeConverter implements SimpleValueConverter
Constructor and Description |
---|
LongConverter() |
Modifier and Type | Method and Description |
---|---|
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, setMapper
public Object decode(Class targetClass, Object val, MappedField optionalExtraInfo) throws MappingException
TypeConverter
DBObject
and provide the corresponding java (type-safe) objectdecode
in class TypeConverter
MappingException
Copyright © 2013. All Rights Reserved.