org.knime.core.node.config
Interface ConfigWO

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

public interface ConfigWO
extends ConfigBaseWO

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

Author:
Thomas Gabriel, University of Konstanz

Method Summary
 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 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.
 
Methods inherited from interface org.knime.core.node.config.base.ConfigBaseWO
addBoolean, addBooleanArray, addByte, addByteArray, addChar, addCharArray, addConfigBase, addDouble, addDoubleArray, addFloat, addFloatArray, addInt, addIntArray, addLong, addLongArray, addShort, addShortArray, addString, addStringArray, 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.

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.

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 - 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.