public class SourceNodeCollector extends Object implements PlasmaDataGraphVisitor
PlasmaDataGraphVisitor| Constructor and Description |
|---|
SourceNodeCollector(commonj.sdo.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(commonj.sdo.DataObject target,
commonj.sdo.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 void visit(commonj.sdo.DataObject target,
commonj.sdo.DataObject source,
String sourcePropertyName,
int level)
visit in interface PlasmaDataGraphVisitorpublic List<LinkedNode> getResult()
Copyright © 2021. All rights reserved.