org.knime.base.node.preproc.columnmerge
Class ColumnMergerConfiguration

java.lang.Object
  extended by org.knime.base.node.preproc.columnmerge.ColumnMergerConfiguration

final class ColumnMergerConfiguration
extends Object

Configuration to column merger node.

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

Nested Class Summary
(package private) static class ColumnMergerConfiguration.OutputPlacement
          Policy how to place output.
 
Constructor Summary
ColumnMergerConfiguration()
           
 
Method Summary
(package private)  String getOutputName()
           
(package private)  ColumnMergerConfiguration.OutputPlacement getOutputPlacement()
           
(package private)  String getPrimaryColumn()
           
(package private)  String getSecondaryColumn()
           
(package private)  void loadConfigurationInDialog(NodeSettingsRO settings, DataTableSpec spec)
          Load config in dialog, init defaults if necessary.
(package private)  void loadConfigurationInModel(NodeSettingsRO settings)
          Load config from argument.
(package private)  void saveConfiguration(NodeSettingsWO settings)
          Save current config to argument.
(package private)  void setOutputName(String outputName)
           
(package private)  void setOutputPlacement(ColumnMergerConfiguration.OutputPlacement outputPlacement)
           
(package private)  void setPrimaryColumn(String primaryColumn)
           
(package private)  void setSecondaryColumn(String secondaryColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnMergerConfiguration

ColumnMergerConfiguration()
Method Detail

getPrimaryColumn

String getPrimaryColumn()
Returns:
the primaryColumn

setPrimaryColumn

void setPrimaryColumn(String primaryColumn)
Parameters:
primaryColumn - the primaryColumn to set

getSecondaryColumn

String getSecondaryColumn()
Returns:
the secondaryColumn

setSecondaryColumn

void setSecondaryColumn(String secondaryColumn)
Parameters:
secondaryColumn - the secondaryColumn to set

getOutputPlacement

ColumnMergerConfiguration.OutputPlacement getOutputPlacement()
Returns:
the outputPlacement

getOutputName

String getOutputName()
Returns:
the outputName

setOutputName

void setOutputName(String outputName)
Parameters:
outputName - the outputName to set

setOutputPlacement

void setOutputPlacement(ColumnMergerConfiguration.OutputPlacement outputPlacement)
Parameters:
outputPlacement - the outputPlacement to set

saveConfiguration

void saveConfiguration(NodeSettingsWO settings)
Save current config to argument.

Parameters:
settings -

loadConfigurationInModel

void loadConfigurationInModel(NodeSettingsRO settings)
                        throws InvalidSettingsException
Load config from argument.

Parameters:
settings - To load from.
Throws:
InvalidSettingsException - If inconsistent/missing.

loadConfigurationInDialog

void loadConfigurationInDialog(NodeSettingsRO settings,
                               DataTableSpec spec)
Load config in dialog, init defaults if necessary.

Parameters:
settings - to load from.
spec - The input spec to load defaults from.


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.