org.knime.core.node.workflow
Class WorkflowCopyContent

java.lang.Object
  extended by org.knime.core.node.workflow.WorkflowCopyContent

public final class WorkflowCopyContent
extends Object

Class representing node IDs and workflow annotations that need to be copied from a workflow. Both IDs and annotation must be contained in the workflow that is copied from.

Author:
Bernd Wiswedel, KNIME.com, Zurich, Switzerland

Constructor Summary
WorkflowCopyContent()
           
 
Method Summary
 WorkflowAnnotation[] getAnnotations()
           
 NodeID[] getNodeIDs()
           
 boolean isIncludeInOutConnections()
          see setIncludeInOutConnections(boolean).
 void setAnnotation(WorkflowAnnotation... annotations)
          Sets annotation references.
 void setIncludeInOutConnections(boolean isIncludeInOutConnections)
          Set whether connections that link to or from any of the contained nodes should be included in the copy content.
 void setNodeIDs(NodeID... ids)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowCopyContent

public WorkflowCopyContent()
Method Detail

getNodeIDs

public NodeID[] getNodeIDs()
Returns:
the ids

setNodeIDs

public void setNodeIDs(NodeID... ids)
Parameters:
ids - the ids to set

isIncludeInOutConnections

public boolean isIncludeInOutConnections()
see setIncludeInOutConnections(boolean).

Returns:
the isIncludeInOutConnections

setIncludeInOutConnections

public void setIncludeInOutConnections(boolean isIncludeInOutConnections)
Set whether connections that link to or from any of the contained nodes should be included in the copy content. Connections whose source and destination are part of the NodeIDs set are automatically included, this property determines whether connections connecting to this island are included as well.

Parameters:
isIncludeInOutConnections - the isIncludeInOutConnections to set

getAnnotations

public WorkflowAnnotation[] getAnnotations()
Returns:
the annotations, never null

setAnnotation

public void setAnnotation(WorkflowAnnotation... annotations)
Sets annotation references.

Parameters:
annotations - The annotations references.


Copyright, 2003 - 2012. 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.