Constructor and Description |
---|
BasicDBObjectToMapMapper() |
Modifier and Type | Method and Description |
---|---|
Map |
convertObject(MapperContext<com.mongodb.BasicDBObject,Map> context)
Convert object from one type to expected type
|
Class<Map> |
getExpectedReturnType() |
Class<? extends com.mongodb.BasicDBObject> |
getTypeOfObjectToConvert() |
public Map convertObject(MapperContext<com.mongodb.BasicDBObject,Map> context)
Mapper
convertObject
in interface Mapper<com.mongodb.BasicDBObject,Map>
context
- Encapsulates reference to converted object and other things, which might be helpful in conversionpublic Class<? extends com.mongodb.BasicDBObject> getTypeOfObjectToConvert()
getTypeOfObjectToConvert
in interface Mapper<com.mongodb.BasicDBObject,Map>
public Class<Map> getExpectedReturnType()
getExpectedReturnType
in interface Mapper<com.mongodb.BasicDBObject,Map>
Copyright © 2015. All Rights Reserved.