org.knime.base.node.meta.xvalidation
Class AggregateSettings

java.lang.Object
  extended by org.knime.base.node.meta.xvalidation.AggregateSettings

public class AggregateSettings
extends Object

This class holds the settings for the aggregation node.

Author:
Thorsten Meinl, University of Konstanz

Constructor Summary
AggregateSettings()
           
 
Method Summary
 void loadSettings(NodeSettingsRO settings)
          Loads the settings from the given node settings object.
 void loadSettingsForDialog(NodeSettingsRO settings)
          Loads the settings from the given node settings object.
 String predictionColumn()
          Returns the prediction column containing the predicted class values.
 void predictionColumn(String predictionCol)
          Sets the prediction column containing the predicted class values.
 void saveSettings(NodeSettingsWO settings)
          Saves this object's settings to the given node settings.
 String targetColumn()
          Returns the target column containing the real class values.
 void targetColumn(String targetCol)
          sets the target column containing the real class values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateSettings

public AggregateSettings()
Method Detail

targetColumn

public String targetColumn()
Returns the target column containing the real class values.

Returns:
a column name

targetColumn

public void targetColumn(String targetCol)
sets the target column containing the real class values.

Parameters:
targetCol - column name

predictionColumn

public String predictionColumn()
Returns the prediction column containing the predicted class values.

Returns:
a column name

predictionColumn

public void predictionColumn(String predictionCol)
Sets the prediction column containing the predicted class values.

Parameters:
predictionCol - column name

saveSettings

public void saveSettings(NodeSettingsWO settings)
Saves this object's settings to the given node settings.

Parameters:
settings - the node settings

loadSettings

public void loadSettings(NodeSettingsRO settings)
                  throws InvalidSettingsException
Loads the settings from the given node settings object.

Parameters:
settings - the node settings
Throws:
InvalidSettingsException - if the settings are invalid

loadSettingsForDialog

public void loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the given node settings object.

Parameters:
settings - the node settings


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.