public class NodeSource extends Object
NodeSource
represents a mapping from an nodeId to a
Node
instance. The GraphIO
uses sources to
simplify the xml deserialization. Use this class to set the sources of
Node
s to a Node
with the given nodeId. The
GraphProcessor
will resolve the nodeId to the respective
Node
if present.Constructor and Description |
---|
NodeSource(String name,
String sourceNodeId)
Constructs a
NodeSource . |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name under which
this source can be accessed.
|
Node |
getSourceNode()
Returns the
Node instance associatied with this
NodeSource . |
String |
getSourceNodeId()
Gets the identifier of the source node.
|
void |
setName(String name) |
public String getName()
public String getSourceNodeId()
public Node getSourceNode()
Node
instance associatied with this
NodeSource
.public void setName(String name)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.