| Constructor and Description |
|---|
BasicDBObjectToMapMapper(MapperRegistry mapperRegistry) |
| 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 BasicDBObjectToMapMapper(MapperRegistry mapperRegistry)
public Map convertObject(MapperContext<com.mongodb.BasicDBObject,Map> context)
MapperconvertObject 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 © 2016 JBoss by Red Hat. All rights reserved.