public class YObjectGraphTransformer extends BidiGraphTransformer
DefaultGraphTransformer Adds new behavior to
conversion process which is:
LocaleProvidergraphProcessornodeMappings| Constructor and Description |
|---|
YObjectGraphTransformer() |
YObjectGraphTransformer(java.lang.Class graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeMapping(NodeMapping sourceTargetMapping)
Adds a node to this graph.
|
GraphContext |
createGraphContext()
Creates a
GraphContext. |
GraphContext |
createSecondGraphContext() |
void |
initialize() |
void |
setGraph(java.lang.Class graph)
Introduced for Spring only.
|
void |
setGraphConfig(java.util.Collection<NodeMapping> config)
Introduced for Spring only.
|
void |
setGraphNodes(DtoClassContainer dtoClassContainer) |
transformperformNodeCreated, setNodeValueCreatedListeneraddNodeMappings, addNodes, addNodes, getDebugNodes, getNodeMapping, getNodeMappingsMap, getProcessor, getSourceConfig, getTargetConfig, isInitialized, nodeContextCreated, propertyContextCreated, setInitialized, setProcessor, transform, transform, transformpublic YObjectGraphTransformer()
public YObjectGraphTransformer(java.lang.Class graph)
public GraphContext createGraphContext()
GraphTransformerGraphContext. Such context can be used to customize transformation behavior or fetch some
statistics after transformation.createGraphContext in interface GraphTransformercreateGraphContext in class AbstractGraphTransformerGraphContext.public GraphContext createSecondGraphContext()
createSecondGraphContext in class BidiGraphTransformerpublic void setGraphConfig(java.util.Collection<NodeMapping> config)
public void setGraph(java.lang.Class graph)
graph - the node class to set as root nodepublic void setGraphNodes(DtoClassContainer dtoClassContainer)
public void addNodeMapping(NodeMapping sourceTargetMapping)
GraphMappingaddNodeMapping in interface GraphMappingaddNodeMapping in class BidiGraphTransformersourceTargetMapping - NodeMapping to addpublic void initialize()
initialize in class DefaultGraphTransformerCopyright © 2018 SAP SE. All Rights Reserved.