org.knime.base.data.append.row
Enum AppendedRowsTable.DuplicatePolicy

java.lang.Object
  extended by java.lang.Enum<AppendedRowsTable.DuplicatePolicy>
      extended by org.knime.base.data.append.row.AppendedRowsTable.DuplicatePolicy
All Implemented Interfaces:
Serializable, Comparable<AppendedRowsTable.DuplicatePolicy>
Enclosing class:
AppendedRowsTable

public static enum AppendedRowsTable.DuplicatePolicy
extends Enum<AppendedRowsTable.DuplicatePolicy>

How to deal with duplicate row ids.


Enum Constant Summary
AppendSuffix
          Append a suffix to unify IDs.
Fail
          Fail .
Skip
          Skip duplicate occurrence.
 
Method Summary
static AppendedRowsTable.DuplicatePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AppendedRowsTable.DuplicatePolicy[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Skip

public static final AppendedRowsTable.DuplicatePolicy Skip
Skip duplicate occurrence.


AppendSuffix

public static final AppendedRowsTable.DuplicatePolicy AppendSuffix
Append a suffix to unify IDs.


Fail

public static final AppendedRowsTable.DuplicatePolicy Fail
Fail .

Method Detail

values

public static AppendedRowsTable.DuplicatePolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AppendedRowsTable.DuplicatePolicy c : AppendedRowsTable.DuplicatePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AppendedRowsTable.DuplicatePolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is 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.