org.knime.core.node.workflow
Interface NodePort

All Known Subinterfaces:
NodeOutPort
All Known Implementing Classes:
NodeContainerOutPort, NodeInPort, NodeOutPortWrapper, NodePortAdaptor, WorkflowInPort, WorkflowOutPort

public interface NodePort

Abstract node port implementation which keeps an index and a port name.

Author:
Michael Berthold & B. Wiswedel, University of Konstanz

Method Summary
 int getPortIndex()
           
 String getPortName()
           
 PortType getPortType()
           
 void setPortName(String portName)
          Sets a new name for this port.
 

Method Detail

getPortIndex

int getPortIndex()
Returns:
The port index.

getPortType

PortType getPortType()
Returns:
The port type.

getPortName

String getPortName()
Returns:
The port name.

setPortName

void setPortName(String portName)
Sets a new name for this port. If null or an empty string is passed, the default name will be generated: "Port [" + portID + "]".

Parameters:
portName - The new name for this port. If null is passed, the default name will be generated.


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.