public class GraphEntityMapper extends Object implements GraphToEntityMapper<GraphModel>
| Constructor and Description |
|---|
GraphEntityMapper(MetaData metaData,
MappingContext mappingContext) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
map(Class<T> type,
GraphModel graphModel)
Maps the data representation in the given
GraphModel onto an instance of T. |
public GraphEntityMapper(MetaData metaData, MappingContext mappingContext)
public <T> List<T> map(Class<T> type, GraphModel graphModel)
GraphToEntityMapperGraphModel onto an instance of T.map in interface GraphToEntityMapper<GraphModel>type - The Class defining the type to which each entity in the graph should be mappedgraphModel - The GraphModel model containing the data to map onto the objectT containing relevant data extracted from the given graph modelCopyright © 2015 Neo Technology, Inc.. All rights reserved.