|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.gpf.graph.Node
public class Node
A node in a processing graph. A Node has an arbitrary nummber
of sources and produces one target product. A set of nodes may be joined
together via the sources to form a directed acyclic graph (DAG). The
Node uses an Operator implementation to
transform the target Products of the source Nodes to a target Product. The
Node will create its Operator by using the
given OperatorSpi.
| Constructor Summary | |
|---|---|
Node(String id,
String operatorName)
Constructs a new Node instance. |
|
| Method Summary | |
|---|---|
void |
addSource(NodeSource source)
|
com.bc.ceres.binding.dom.DomElement |
getConfiguration()
|
String |
getId()
Gets the uniqe node identifier. |
String |
getOperatorName()
Gets the name of the operator. |
NodeSource |
getSource(int index)
Returns the NodeSource at the given index position |
NodeSource[] |
getSources()
|
void |
setConfiguration(com.bc.ceres.binding.dom.DomElement configuration)
Sets the configuration for the node's Operator that
computes the target Product. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node(String id,
String operatorName)
Node instance.
id - a unique identifier for the nodeoperatorName - the name of the operator| Method Detail |
|---|
public String getId()
public String getOperatorName()
OperatorSpi
or an alias name.
public void addSource(NodeSource source)
source - the NodeSource to be added.
public NodeSource getSource(int index)
throws IndexOutOfBoundsException
NodeSource at the given index position
index - the index of the NodeSource to return
NodeSource at the given index position
IndexOutOfBoundsException - if index is out of rangepublic NodeSource[] getSources()
public com.bc.ceres.binding.dom.DomElement getConfiguration()
DomElement storing the configuration elements of the node's
Operator.public void setConfiguration(com.bc.ceres.binding.dom.DomElement configuration)
Operator that
computes the target Product.
configuration - The configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||