org.knime.base.node.mine.decisiontree2
Enum PMMLArrayType

java.lang.Object
  extended by java.lang.Enum<PMMLArrayType>
      extended by org.knime.base.node.mine.decisiontree2.PMMLArrayType
All Implemented Interfaces:
Serializable, Comparable<PMMLArrayType>

public enum PMMLArrayType
extends Enum<PMMLArrayType>

Contains the different data types an PMML Array element can hold.


Enum Constant Summary
INT
          Integer type.
REAL
          Double type.
STRING
          String type.
 
Method Summary
static PMMLArrayType get(String represent)
          Returns the corresponding array type for the passed representation.
 String toString()
          
static PMMLArrayType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PMMLArrayType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INT

public static final PMMLArrayType INT
Integer type.


REAL

public static final PMMLArrayType REAL
Double type.


STRING

public static final PMMLArrayType STRING
String type.

Method Detail

values

public static PMMLArrayType[] 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 (PMMLArrayType c : PMMLArrayType.values())
    System.out.println(c);

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

valueOf

public static PMMLArrayType 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

toString

public String toString()

Overrides:
toString in class Enum<PMMLArrayType>

get

public static PMMLArrayType get(String represent)
                         throws InstantiationException
Returns the corresponding array type for the passed representation.

Parameters:
represent - the representation to find the array type for
Returns:
the array type
Throws:
InstantiationException - - if no such array type exists


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.