org.knime.base.node.preproc.equalsizesampling
Class EqualSizeSamplingConfiguration

java.lang.Object
  extended by org.knime.base.node.preproc.equalsizesampling.EqualSizeSamplingConfiguration

final class EqualSizeSamplingConfiguration
extends Object

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

Nested Class Summary
(package private) static class EqualSizeSamplingConfiguration.SamplingMethod
           
 
Constructor Summary
EqualSizeSamplingConfiguration()
           
 
Method Summary
(package private)  String getClassColumn()
           
(package private)  EqualSizeSamplingConfiguration.SamplingMethod getSamplingMethod()
           
(package private)  Long getSeed()
           
(package private)  void loadConfigurationInDialog(NodeSettingsRO settings, DataTableSpec spec)
           
(package private)  void loadConfigurationInModel(NodeSettingsRO settings)
           
(package private)  void saveConfiguration(NodeSettingsWO settings)
           
(package private)  void setClassColumn(String classColumn)
           
(package private)  void setSamplingMethod(EqualSizeSamplingConfiguration.SamplingMethod samplingMethod)
           
(package private)  void setSeed(Long seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualSizeSamplingConfiguration

EqualSizeSamplingConfiguration()
Method Detail

getClassColumn

String getClassColumn()
Returns:
the classColumn

setClassColumn

void setClassColumn(String classColumn)
Parameters:
classColumn - the classColumn to set

getSeed

Long getSeed()
Returns:
the seed

setSeed

void setSeed(Long seed)
Parameters:
seed - the seed to set

setSamplingMethod

void setSamplingMethod(EqualSizeSamplingConfiguration.SamplingMethod samplingMethod)
Parameters:
samplingMethod - the samplingMethod to set

getSamplingMethod

EqualSizeSamplingConfiguration.SamplingMethod getSamplingMethod()
Returns:
the samplingMethod

saveConfiguration

void saveConfiguration(NodeSettingsWO settings)

loadConfigurationInModel

void loadConfigurationInModel(NodeSettingsRO settings)
                        throws InvalidSettingsException
Throws:
InvalidSettingsException

loadConfigurationInDialog

void loadConfigurationInDialog(NodeSettingsRO settings,
                               DataTableSpec spec)
                         throws NotConfigurableException
Throws:
NotConfigurableException


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.