public interface GraphMapping
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeMapping(NodeMapping cfg)
Adds a node to this graph.
|
void |
addNodes(java.lang.Class graph)
Adds passed node and each available child node of that node to this Mapping.
|
NodeMapping |
getNodeMapping(java.lang.Class nodeType)
Returns the
NodeMapping for passed node type. |
GraphProcessor |
getProcessor()
Returns the Processor which is used to transfer data from source to target for this mapping.
|
GraphConfig |
getSourceConfig()
Returns the source configuration for this mapping.
|
GraphConfig |
getTargetConfig()
Returns the target configuration for this mapping.
|
GraphConfig getSourceConfig()
GraphConfigGraphConfig getTargetConfig()
GraphConfigGraphProcessor getProcessor()
NodeMapping getNodeMapping(java.lang.Class nodeType)
NodeMapping for passed node type.nodeType - type of nodeNodeMapping or nullvoid addNodeMapping(NodeMapping cfg)
cfg - NodeMapping to addvoid addNodes(java.lang.Class graph)
GraphNode. Child nodes are detected by introspecting each node
property. When a node property type is annotated with GraphNode or is a Collection who's generic type is
annotated with GraphNode then this property is recognized as child node. Additionally child nodes can be
given directly as value of GraphNode.addNodes().graph - a GraphNode annotated classCopyright © 2018 SAP SE. All Rights Reserved.