org.knime.core.node.port.flowvariable
Class FlowVariablePortObject
java.lang.Object
org.knime.core.node.port.flowvariable.FlowVariablePortObject
- All Implemented Interfaces:
- PortObject
public class FlowVariablePortObject
- extends Object
- implements PortObject
- Author:
- wiswedel, University of Konstanz
TYPE
public static final PortType TYPE
FlowVariablePortObject
public FlowVariablePortObject()
getPortObjectSerializer
public static PortObject.PortObjectSerializer<FlowVariablePortObject> getPortObjectSerializer()
getSpec
public PortObjectSpec getSpec()
- Get specification to this port object. That is, the corresponding
PortObjectSpec
which is used to configure any successor node
after execution, e.g. a BufferedDataTable
can return a
DataTableSpec
.
Subclasses should narrow the return type if possible.
- Specified by:
getSpec
in interface PortObject
- Returns:
- underlying
PortObjectSpec
or any derived spec,
never null
.
getSummary
public String getSummary()
- Get a short summary of this
PortObject
.
The return value will be shown in a node port's tooltip, for instance.
- Specified by:
getSummary
in interface PortObject
- Returns:
- Summary of the object's content, suitable for a tooltip. Empty
strings and null result values are ok (though not encouraged).
getViews
public JComponent[] getViews()
- The returned views are displayed in the out port view of the referring
node. Each component is displayed in an extra tab. The name of the
component is used as the title for the tab. It is important that no
external members are kept in the component so it can be deleted, when
the port object is deleted. If the port object has no view return an
empty array.
- Specified by:
getViews
in interface PortObject
- Returns:
- an array of views for the port object, each displayed as a tab
in the out port view
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.