org.knime.base.node.preproc.addemptyrows
Class AddEmptyRowsConfig

java.lang.Object
  extended by org.knime.base.node.preproc.addemptyrows.AddEmptyRowsConfig

final class AddEmptyRowsConfig
extends Object

Configuration object for "add empty rows" node.

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

Constructor Summary
AddEmptyRowsConfig()
           
 
Method Summary
(package private)  double getFillValueDouble()
           
(package private)  int getFillValueInt()
           
(package private)  String getFillValueString()
           
 String getNewRowKeyPrefix()
           
(package private)  int getRowCount()
           
(package private)  boolean isAtLeastMode()
           
(package private)  boolean isUseMissingDouble()
           
(package private)  boolean isUseMissingInt()
           
(package private)  boolean isUseMissingString()
           
(package private)  void loadSettingsFrom(NodeSettingsRO settings)
          Loads configuration.
(package private)  void saveSettingsTo(NodeSettingsWO settings)
          Saves current configuration.
(package private)  void setAtLeastMode(boolean atLeastMode)
           
(package private)  void setFillValueDouble(boolean isUseMissing, double fillValueDouble)
           
(package private)  void setFillValueInt(boolean isUseMissing, int fillValueInt)
           
(package private)  void setFillValueString(boolean isUseMissing, String fillValueString)
           
(package private)  void setNewRowKeyPrefix(String newRowKeyPrefix)
           
(package private)  void setRowCount(int rowCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddEmptyRowsConfig

AddEmptyRowsConfig()
Method Detail

isAtLeastMode

boolean isAtLeastMode()
Returns:
the atLeastMode

setAtLeastMode

void setAtLeastMode(boolean atLeastMode)
Parameters:
atLeastMode - true to have number of "at least" mode, otherwise "additional" mode.

getRowCount

int getRowCount()
Returns:
the rowCount

setRowCount

void setRowCount(int rowCount)
Parameters:
rowCount - the rowCount to set

getFillValueDouble

double getFillValueDouble()
Returns:
the fillValueDouble

setFillValueDouble

void setFillValueDouble(boolean isUseMissing,
                        double fillValueDouble)
Parameters:
isUseMissing - Whether to use missing value
fillValueDouble - the fillValueDouble to set

isUseMissingDouble

boolean isUseMissingDouble()
Returns:
the useMissingDouble

getFillValueInt

int getFillValueInt()
Returns:
the fillValueInt

setFillValueInt

void setFillValueInt(boolean isUseMissing,
                     int fillValueInt)
Parameters:
isUseMissing - Whether to use missing value
fillValueInt - the fillValueInt to set

isUseMissingInt

boolean isUseMissingInt()
Returns:
the useMissingInt

getFillValueString

String getFillValueString()
Returns:
the fillValueString

setFillValueString

void setFillValueString(boolean isUseMissing,
                        String fillValueString)
Parameters:
isUseMissing - Whether to use missing value
fillValueString - the fillValueString to set

isUseMissingString

boolean isUseMissingString()
Returns:
the useMissingString

setNewRowKeyPrefix

void setNewRowKeyPrefix(String newRowKeyPrefix)
Parameters:
newRowKeyPrefix - prefix of newly generated keys

getNewRowKeyPrefix

public String getNewRowKeyPrefix()
Returns:
prefix of newly generated keys

saveSettingsTo

void saveSettingsTo(NodeSettingsWO settings)
Saves current configuration.

Parameters:
settings - To save to.

loadSettingsFrom

void loadSettingsFrom(NodeSettingsRO settings)
                throws InvalidSettingsException
Loads configuration.

Parameters:
settings - To load from.
Throws:
InvalidSettingsException - If that fails for any reason.


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.