Constructor and Description |
---|
BasicDBListMapper(MapperRegistry mapperRegistry) |
Modifier and Type | Method and Description |
---|---|
List |
convertObject(MapperContext<com.mongodb.BasicDBList,List> context)
Convert object from one type to expected type
|
Class<List> |
getExpectedReturnType() |
Class<? extends com.mongodb.BasicDBList> |
getTypeOfObjectToConvert() |
public BasicDBListMapper(MapperRegistry mapperRegistry)
public List convertObject(MapperContext<com.mongodb.BasicDBList,List> context)
Mapper
convertObject
in interface Mapper<com.mongodb.BasicDBList,List>
context
- Encapsulates reference to converted object and other things, which might be helpful in conversionpublic Class<? extends com.mongodb.BasicDBList> getTypeOfObjectToConvert()
getTypeOfObjectToConvert
in interface Mapper<com.mongodb.BasicDBList,List>
public Class<List> getExpectedReturnType()
getExpectedReturnType
in interface Mapper<com.mongodb.BasicDBList,List>
Copyright © 2016 JBoss by Red Hat. All rights reserved.