public class GraphRowListModelMapper extends Object implements ResponseMapper<GraphRowListModel>
Constructor and Description |
---|
GraphRowListModelMapper(MetaData metaData,
MappingContext mappingContext,
EntityInstantiator entityInstantiator) |
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
map(Class<T> type,
Response<GraphRowListModel> response)
Maps the data representation in the given response onto instances of
T . |
public GraphRowListModelMapper(MetaData metaData, MappingContext mappingContext, EntityInstantiator entityInstantiator)
public <T> Iterable<T> map(Class<T> type, Response<GraphRowListModel> response)
ResponseMapper
T
.map
in interface ResponseMapper<GraphRowListModel>
T
- type of the resulttype
- The Class
defining the type to which each entities in the response should be mappedresponse
- The Response
object containing the data to map onto the objectsIterable
of type T
containing relevant data extracted from the responseCopyright © 2015–2021 Neo Technology, Inc.. All rights reserved.