public class SourceNodeCollector extends Object implements PlasmaDataGraphVisitor
PlasmaDataGraphVisitor| Constructor and Description |
|---|
SourceNodeCollector(DataObject target) |
| Modifier and Type | Method and Description |
|---|---|
List<LinkedNode> |
getResult()
Returns the nodes which are part of the contiguous containment hierarchy
from the given source.
|
void |
visit(DataObject target,
DataObject source,
String sourcePropertyName,
int level)
Called by the graph traversal algorithm (as part of the visitor pattern)
when a graph node is encountered.
|
public SourceNodeCollector(DataObject target)
public void visit(DataObject target, DataObject source, String sourcePropertyName, int level)
visit in interface PlasmaDataGraphVisitorpublic List<LinkedNode> getResult()
Copyright © 2020. All rights reserved.