org.knime.core.node.config
Interface ConfigWO

All Known Subinterfaces:
ModelContentWO, NodeSettingsWO
All Known Implementing Classes:
Config, ModelContent, NodeSettings

public interface ConfigWO

Write-only interface for Config objects providing only access functions.

Author:
Thomas Gabriel, University of Konstanz

Method Summary
 void addBoolean(String key, boolean value)
          Adds this boolean value to the Config by the given key.
 void addBooleanArray(String key, boolean... values)
          Adds this boolean values to the Config by the given key.
 void addByte(String key, byte value)
          Adds this byte value to the Config by the given key.
 void addByteArray(String key, byte... values)
          Adds this byte array to the Config by the given key.
 void addChar(String key, char value)
          Adds this char value to the Config by the given key.
 void addCharArray(String key, char... values)
          Adds this char array to the Config by the given key.
 Config addConfig(String key)
          Creates and adds a new Config to this Config by the given key.
 void addDataCell(String key, DataCell cell)
          Adds this DataCell object to the Config by the given key.
 void addDataCellArray(String key, DataCell... values)
          Adds an array of DataCell objects to this Config.
 void addDataType(String key, DataType type)
          Adds this DataType object value to the Config by the given key.
 void addDataTypeArray(String key, DataType... values)
          Adds an array of DataType objects to this Config.
 void addDouble(String key, double value)
          Adds a double by the given key.
 void addDoubleArray(String key, double... values)
          Adds this double array value to the Config by the given key.
 void addFloat(String key, float value)
          Adds a float by the given key.
 void addFloatArray(String key, float... values)
          Adds this float array value to the Config by the given key.
 void addInt(String key, int value)
          Adds an int.
 void addIntArray(String key, int... values)
          Adds this int array to the Config by the given key.
 void addLong(String key, long value)
          Adds this long value to the Config by the given key.
 void addLongArray(String key, long... values)
          Adds this long array to the Config by the given key.
 void addRowKey(String key, RowKey rowKey)
          Adds this RowKey object to this Config by the given key.
 void addRowKeyArray(String key, RowKey... rowKey)
          Adds this RowKey array to this Config by the given key.
 void addShort(String key, short value)
          Adds this short value to the Config by the given key.
 void addShortArray(String key, short... values)
          Adds this short array to the Config by the given key.
 void addString(String key, String value)
          Adds this String object to the Config by the given key.
 void addStringArray(String key, String... values)
          Adds this array of String object to the Config by the given key.
 String getKey()
           
 

Method Detail

addConfig

Config addConfig(String key)
Creates and adds a new Config to this Config by the given key.

Parameters:
key - The key for the config to add.
Returns:
A new Config object.

getKey

String getKey()
Returns:
The identifier for this Config.

addInt

void addInt(String key,
            int value)
Adds an int.

Parameters:
key - The key.
value - The int value.

addDouble

void addDouble(String key,
               double value)
Adds a double by the given key.

Parameters:
key - The key.
value - The double value to add.

addFloat

void addFloat(String key,
              float value)
Adds a float by the given key.

Parameters:
key - The key.
value - The float value to add.

addChar

void addChar(String key,
             char value)
Adds this char value to the Config by the given key.

Parameters:
key - The key.
value - The char to add.

addShort

void addShort(String key,
              short value)
Adds this short value to the Config by the given key.

Parameters:
key - The key.
value - The short to add.

addLong

void addLong(String key,
             long value)
Adds this long value to the Config by the given key.

Parameters:
key - The key.
value - The long to add.

addByte

void addByte(String key,
             byte value)
Adds this byte value to the Config by the given key.

Parameters:
key - The key.
value - The byte to add.

addString

void addString(String key,
               String value)
Adds this String object to the Config by the given key. The String can be null.

Parameters:
key - The key.
value - The boolean to add.

addDataCell

void addDataCell(String key,
                 DataCell cell)
Adds this DataCell object to the Config by the given key. The cell can be null.

Parameters:
key - The key.
cell - The DataCell to add.

addRowKey

void addRowKey(String key,
               RowKey rowKey)
Adds this RowKey object to this Config by the given key. The row key can be null.

Parameters:
key - identifier used to store and the load the RowKey
rowKey - value to store

addRowKeyArray

void addRowKeyArray(String key,
                    RowKey... rowKey)
Adds this RowKey array to this Config by the given key. The row key array can be null.

Parameters:
key - identifier used to store and the load the RowKey array
rowKey - array to store

addDataType

void addDataType(String key,
                 DataType type)
Adds this DataType object value to the Config by the given key. The type can be null.

Parameters:
key - The key.
type - The DataType object to add.

addBoolean

void addBoolean(String key,
                boolean value)
Adds this boolean value to the Config by the given key.

Parameters:
key - The key.
value - The boolean to add.

addIntArray

void addIntArray(String key,
                 int... values)
Adds this int array to the Config by the given key.

Parameters:
key - The key.
values - The int array to add.

addDoubleArray

void addDoubleArray(String key,
                    double... values)
Adds this double array value to the Config by the given key. The array can be null

Parameters:
key - The key.
values - The double array to add.

addFloatArray

void addFloatArray(String key,
                   float... values)
Adds this float array value to the Config by the given key. The array can be null.

Parameters:
key - The key.
values - The float array to add.

addByteArray

void addByteArray(String key,
                  byte... values)
Adds this byte array to the Config by the given key. The array can be null.

Parameters:
key - The key.
values - The byte array to add.

addShortArray

void addShortArray(String key,
                   short... values)
Adds this short array to the Config by the given key.

Parameters:
key - The key.
values - The short to add.

addLongArray

void addLongArray(String key,
                  long... values)
Adds this long array to the Config by the given key.

Parameters:
key - The key.
values - The long array to add.

addCharArray

void addCharArray(String key,
                  char... values)
Adds this char array to the Config by the given key.

Parameters:
key - The key.
values - The char array to add.

addBooleanArray

void addBooleanArray(String key,
                     boolean... values)
Adds this boolean values to the Config by the given key. The array can be null.

Parameters:
key - The key.
values - The boolean array to add.

addStringArray

void addStringArray(String key,
                    String... values)
Adds this array of String object to the Config by the given key. The array and the elements can be null.

Parameters:
key - The key.
values - The String array to add.

addDataCellArray

void addDataCellArray(String key,
                      DataCell... values)
Adds an array of DataCell objects to this Config. The array and all elements can be null.

Parameters:
key - The key.
values - The data cells, elements can be null.

addDataTypeArray

void addDataTypeArray(String key,
                      DataType... values)
Adds an array of DataType objects to this Config. The array and all elements can be null.

Parameters:
key - The key.
values - The data types, elements can be null.


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.