de.unihalle.informatik.Alida.operator
Class ALDOpNode

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOpNode

public class ALDOpNode
extends java.lang.Object

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.


Constructor Summary
ALDOpNode(ALDOperator op, ALDOperator.HidingMode hidingMode)
          Construct an ALDOpNode for the operator op and hidingMode
 
Method Summary
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)
           
 void setHidden(ALDOperator.HidingMode hidingMode)
          Set hidden flag of this opNode.
 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
 

Constructor Detail

ALDOpNode

public ALDOpNode(ALDOperator op,
                 ALDOperator.HidingMode hidingMode)
Construct an ALDOpNode for the operator op and hidingMode

Parameters:
op - Operator to instatiate an opnode for
hidingMode - hiding mode within processing history
Method Detail

getName

public java.lang.String getName()
Get the name of the operator represented by this opNode.


getVersion

public java.lang.String getVersion()
Get the software version.


getOperatorClass

public java.lang.Class getOperatorClass()
Get the class object of the operator represented by this opNode.


getDepth

public int getDepth()
Get depth.


getInputPort

public ALDPort getInputPort(int i)
Get input port with index i of this opNode.


getOutputPort

public ALDOutputPort getOutputPort(int i)
Get output port with index i of this opNode.


setParent

public void setParent(ALDOpNode parent)
Set the parent opNode.


getParent

public ALDOpNode getParent()
Get the parent opNode.


getChildren

protected java.util.Vector<ALDOpNode> getChildren()
Get the all opNode children found during back tracing.


getDirectlyRegisteredChildern

protected java.util.Vector<ALDOpNode> getDirectlyRegisteredChildern()
Get the all opNode children directly registered during invocation.


getIncludedData

protected java.util.Vector<ALDDataPort> getIncludedData()
Get all included data ports found during back tracing.


getInputPorts

protected ALDInputPort[] getInputPorts()
Get all input ports of this opNode.


getOutputPorts

protected ALDOutputPort[] getOutputPorts()
Get all output ports of this opNode.


getParameterKeys

public java.util.Enumeration<java.lang.String> getParameterKeys()
Get all keys of the parameter hash.


getParameter

public java.lang.String getParameter(java.lang.String key)
Get value of parameter for given key.


setHidden

public void setHidden(ALDOperator.HidingMode hidingMode)
Set hidden flag of this opNode. This prevents this opNode to be included into a processing history as explicitly constructed.


getHidingMode

public ALDOperator.HidingMode getHidingMode()
Get hiding mode of this opNode.


getParameterHashAsXml

public org.apache.xmlbeans.XmlObject getParameterHashAsXml()
Get the parameter hash where values of parameters. are represented as xml objects.


print

public void print()
Print information if this opNode to standard output.


printInstanceStatistics

public static void printInstanceStatistics()

printInstanceStatistics

public static void printInstanceStatistics(java.io.PrintStream stream)


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.