water.parser
Enum PMMLParser.DataTypes

java.lang.Object
  extended by java.lang.Enum<PMMLParser.DataTypes>
      extended by water.parser.PMMLParser.DataTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PMMLParser.DataTypes>
Enclosing class:
PMMLParser

public static enum PMMLParser.DataTypes
extends java.lang.Enum<PMMLParser.DataTypes>

Features datatypes promoted by PMML spec. These appear before we know what kind of model we are parsing, so must be parsed globally (for all models).


Enum Constant Summary
BOOLEAN
           
DOUBLE
           
INT
           
STRING
           
 
Method Summary
 java.lang.String jname()
           
static PMMLParser.DataTypes parse(java.lang.String s)
           
static PMMLParser.DataTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PMMLParser.DataTypes[] 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

DOUBLE

public static final PMMLParser.DataTypes DOUBLE

INT

public static final PMMLParser.DataTypes INT

BOOLEAN

public static final PMMLParser.DataTypes BOOLEAN

STRING

public static final PMMLParser.DataTypes STRING
Method Detail

values

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

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

valueOf

public static PMMLParser.DataTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

parse

public static PMMLParser.DataTypes parse(java.lang.String s)

jname

public java.lang.String jname()