|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOpNode
public class ALDOpNode
Each instance of this class represents an operator invocation for the implicit processing graph. It holds input and output ports used to link the objects according to the data flow, as well as the parameter's values upon invocation in a parameter hash.
Field Summary | |
---|---|
private static java.util.Vector<ALDOpNode> |
allInstances
|
private java.util.Vector<ALDOpNode> |
children
children of this opNode, will be set during back tracing |
private static boolean |
collectInstances
if true all instances of ALDOpNode will be collected in a static Vector. |
(package private) boolean |
completeDAG
This opnode prefers a complete DAG to constructed for its invocation. |
private int |
depth
depth in calling stack of Operators, set when back tracing |
private java.util.Vector<ALDOpNode> |
directlyRegisteredChildren
children of this opNode, set when the operate()
represented by this opNode calls nested operators. |
(package private) ALDOperator.HidingMode |
hidingMode
Hiding mode of this opnode in the processing history. |
private java.util.Vector<ALDDataPort> |
includedData
ALDDataPorts created within this opNode, set during back tracing |
private ALDInputPort[] |
inputPorts
the input ports of this opNode. |
private java.lang.String |
name
name of the operator for which an invocations is represented by this opNode |
private java.lang.Class |
operatorClass
class of the operator for which an invocations is represented by this opNode |
private ALDOutputPort[] |
outputPorts
the output ports of this opNode. |
private java.util.Hashtable<java.lang.String,java.lang.String> |
parameterHash
This hash contains the values of all parameters as return by the toString()
method of the parameters at the time of invocation of the operator using runOp() . |
private org.apache.xmlbeans.XmlObject |
parameterHashAsXml
parameteHash as an XmlObject |
private ALDOpNode |
parent
parent of this opNode, will be set during back tracing |
private java.lang.String |
version
version of the operator for which an invocations is represented by this opNode |
Constructor Summary | |
---|---|
ALDOpNode(ALDOperator op,
ALDOperator.HidingMode hidingMode)
Construct an ALDOpNode for the operator op and hidingMode |
Method Summary | |
---|---|
(package private) void |
addChild(ALDOpNode opNode)
Add a child found during back tracing. |
(package private) void |
addData(ALDDataPort data)
Add a data port found during back tracing. |
(package private) void |
addDirectChild(ALDOpNode opNode)
Add a directly registered child during invocation. |
(package private) static java.util.Vector<ALDOpNode> |
getAllInstances()
|
protected java.util.Vector<ALDOpNode> |
getChildren()
Get the all opNode children found during back tracing. |
int |
getDepth()
Get depth. |
protected java.util.Vector<ALDOpNode> |
getDirectlyRegisteredChildern()
Get the all opNode children directly registered during invocation. |
ALDOperator.HidingMode |
getHidingMode()
Get hiding mode of this opNode. |
protected java.util.Vector<ALDDataPort> |
getIncludedData()
Get all included data ports found during back tracing. |
ALDPort |
getInputPort(int i)
Get input port with index i of this opNode. |
protected ALDInputPort[] |
getInputPorts()
Get all input ports of this opNode. |
java.lang.String |
getName()
Get the name of the operator represented by this opNode. |
java.lang.Class |
getOperatorClass()
Get the class object of the operator represented by this opNode. |
ALDOutputPort |
getOutputPort(int i)
Get output port with index i of this opNode. |
protected ALDOutputPort[] |
getOutputPorts()
Get all output ports of this opNode. |
java.lang.String |
getParameter(java.lang.String key)
Get value of parameter for given key. |
org.apache.xmlbeans.XmlObject |
getParameterHashAsXml()
Get the parameter hash where values of parameters. |
java.util.Enumeration<java.lang.String> |
getParameterKeys()
Get all keys of the parameter hash. |
ALDOpNode |
getParent()
Get the parent opNode. |
java.lang.String |
getVersion()
Get the software version. |
void |
print()
Print information if this opNode to standard output. |
static void |
printInstanceStatistics()
|
static void |
printInstanceStatistics(java.io.PrintStream stream)
|
(package private) void |
setDepth(int depth)
Set depth. |
void |
setHidden(ALDOperator.HidingMode hidingMode)
Set hidden flag of this opNode. |
(package private) void |
setInOrigin(int i,
java.lang.Object obj,
java.lang.String explanation)
Set the origin of the input port with index i. |
(package private) void |
setOutOrigin(int i,
java.lang.Object obj,
java.lang.String explanation)
Set the origin of the output port with index i. |
void |
setParent(ALDOpNode parent)
Set the parent opNode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.util.Vector<ALDOpNode> allInstances
private java.util.Vector<ALDOpNode> children
private static boolean collectInstances
final boolean completeDAG
private int depth
private java.util.Vector<ALDOpNode> directlyRegisteredChildren
operate()
represented by this opNode
calls nested operators.
ALDOperator.HidingMode hidingMode
private java.util.Vector<ALDDataPort> includedData
private ALDInputPort[] inputPorts
private final java.lang.String name
private final java.lang.Class operatorClass
private ALDOutputPort[] outputPorts
private java.util.Hashtable<java.lang.String,java.lang.String> parameterHash
toString()
method of the parameters at the time of invocation of the operator using runOp()
.
private org.apache.xmlbeans.XmlObject parameterHashAsXml
private ALDOpNode parent
private final java.lang.String version
Constructor Detail |
---|
public ALDOpNode(ALDOperator op, ALDOperator.HidingMode hidingMode)
ALDOpNode
for the operator op
and hidingMode
op
- Operator to instatiate an opnode forhidingMode
- hiding mode within processing historyMethod Detail |
---|
void addChild(ALDOpNode opNode)
opNode
- child to addvoid addData(ALDDataPort data)
void addDirectChild(ALDOpNode opNode)
opNode
- child to addstatic java.util.Vector<ALDOpNode> getAllInstances()
protected java.util.Vector<ALDOpNode> getChildren()
public int getDepth()
protected java.util.Vector<ALDOpNode> getDirectlyRegisteredChildern()
opNode
children directly registered during invocation.
public ALDOperator.HidingMode getHidingMode()
protected java.util.Vector<ALDDataPort> getIncludedData()
public ALDPort getInputPort(int i)
protected ALDInputPort[] getInputPorts()
public java.lang.String getName()
public java.lang.Class getOperatorClass()
public ALDOutputPort getOutputPort(int i)
protected ALDOutputPort[] getOutputPorts()
public java.lang.String getParameter(java.lang.String key)
public org.apache.xmlbeans.XmlObject getParameterHashAsXml()
public java.util.Enumeration<java.lang.String> getParameterKeys()
public ALDOpNode getParent()
public java.lang.String getVersion()
public void print()
public static void printInstanceStatistics()
public static void printInstanceStatistics(java.io.PrintStream stream)
void setDepth(int depth)
public void setHidden(ALDOperator.HidingMode hidingMode)
opNode
to be included into a processing
history as explicitly constructed.
void setInOrigin(int i, java.lang.Object obj, java.lang.String explanation)
i
- index of the input portobj
- object to assiciate with the portexplanation
- explnatory string of portvoid setOutOrigin(int i, java.lang.Object obj, java.lang.String explanation)
i
- index of the input portobj
- object to assiciate with the portexplanation
- explnatory string of portpublic void setParent(ALDOpNode parent)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |