org.knime.core.node.workflow
Class CopyNodeContainerMetaPersistor

java.lang.Object
  extended by org.knime.core.node.workflow.CopyNodeContainerMetaPersistor
All Implemented Interfaces:
NodeContainerMetaPersistor

final class CopyNodeContainerMetaPersistor
extends Object
implements NodeContainerMetaPersistor

Author:
wiswedel, University of Konstanz

Field Summary
 
Fields inherited from interface org.knime.core.node.workflow.NodeContainerMetaPersistor
KEY_CUSTOM_DESCRIPTION, KEY_CUSTOM_NAME
 
Constructor Summary
CopyNodeContainerMetaPersistor(NodeContainer original, boolean preserveDeletableFlag)
           
 
Method Summary
 String getCustomDescription()
          
 String getCustomName()
          
 NodeExecutionJobManager getExecutionJobManager()
          
 NodeSettingsRO getExecutionJobSettings()
          
 ReferencedFile getNodeContainerDirectory()
          
 int getNodeIDSuffix()
          
 NodeMessage getNodeMessage()
          
 NodeContainer.State getState()
          
 UIInformation getUIInfo()
          
 boolean isDeletable()
          
 boolean isDirtyAfterLoad()
          
 boolean load(NodeSettingsRO settings, NodeSettingsRO parentSettings, WorkflowPersistor.LoadResult loadResult)
          Load content, gets both the current settings (first argument) and the "parent settings", which are only used in 1.3.x flows and will be ignored in any version after that.
 void setNodeIDSuffix(int nodeIDSuffix)
          
 void setUIInfo(UIInformation uiInfo)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyNodeContainerMetaPersistor

CopyNodeContainerMetaPersistor(NodeContainer original,
                               boolean preserveDeletableFlag)
Method Detail

getCustomDescription

public String getCustomDescription()

Specified by:
getCustomDescription in interface NodeContainerMetaPersistor

getCustomName

public String getCustomName()

Specified by:
getCustomName in interface NodeContainerMetaPersistor

getNodeContainerDirectory

public ReferencedFile getNodeContainerDirectory()

Specified by:
getNodeContainerDirectory in interface NodeContainerMetaPersistor

getNodeIDSuffix

public int getNodeIDSuffix()

Specified by:
getNodeIDSuffix in interface NodeContainerMetaPersistor

getExecutionJobManager

public NodeExecutionJobManager getExecutionJobManager()

Specified by:
getExecutionJobManager in interface NodeContainerMetaPersistor

getExecutionJobSettings

public NodeSettingsRO getExecutionJobSettings()

Specified by:
getExecutionJobSettings in interface NodeContainerMetaPersistor

getState

public NodeContainer.State getState()

Specified by:
getState in interface NodeContainerMetaPersistor

getNodeMessage

public NodeMessage getNodeMessage()

Specified by:
getNodeMessage in interface NodeContainerMetaPersistor

getUIInfo

public UIInformation getUIInfo()

Specified by:
getUIInfo in interface NodeContainerMetaPersistor

isDeletable

public boolean isDeletable()

Specified by:
isDeletable in interface NodeContainerMetaPersistor

load

public boolean load(NodeSettingsRO settings,
                    NodeSettingsRO parentSettings,
                    WorkflowPersistor.LoadResult loadResult)
Load content, gets both the current settings (first argument) and the "parent settings", which are only used in 1.3.x flows and will be ignored in any version after that.

Specified by:
load in interface NodeContainerMetaPersistor
Parameters:
settings - The settings object that is usually read from
parentSettings - The parent settings, mostly ignored.
loadResult - Where to add errors and warnings to.
Returns:
Whether errors occured that require a reset of the node.

isDirtyAfterLoad

public boolean isDirtyAfterLoad()

Specified by:
isDirtyAfterLoad in interface NodeContainerMetaPersistor

setNodeIDSuffix

public void setNodeIDSuffix(int nodeIDSuffix)

Specified by:
setNodeIDSuffix in interface NodeContainerMetaPersistor

setUIInfo

public void setUIInfo(UIInformation uiInfo)

Specified by:
setUIInfo in interface NodeContainerMetaPersistor


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.