org.dmg.pmml.pmml_4_1.descr
Enum DATATYPE

java.lang.Object
  extended by java.lang.Enum<DATATYPE>
      extended by org.dmg.pmml.pmml_4_1.descr.DATATYPE
All Implemented Interfaces:
Serializable, Comparable<DATATYPE>

public enum DATATYPE
extends Enum<DATATYPE>

Java class for DATATYPE.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="DATATYPE">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="string"/>
     <enumeration value="integer"/>
     <enumeration value="float"/>
     <enumeration value="double"/>
     <enumeration value="boolean"/>
     <enumeration value="date"/>
     <enumeration value="time"/>
     <enumeration value="dateTime"/>
     <enumeration value="dateDaysSince[0]"/>
     <enumeration value="dateDaysSince[1960]"/>
     <enumeration value="dateDaysSince[1970]"/>
     <enumeration value="dateDaysSince[1980]"/>
     <enumeration value="timeSeconds"/>
     <enumeration value="dateTimeSecondsSince[0]"/>
     <enumeration value="dateTimeSecondsSince[1960]"/>
     <enumeration value="dateTimeSecondsSince[1970]"/>
     <enumeration value="dateTimeSecondsSince[1980]"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
BOOLEAN
           
DATE
           
DATE_DAYS_SINCE_0
           
DATE_DAYS_SINCE_1960
           
DATE_DAYS_SINCE_1970
           
DATE_DAYS_SINCE_1980
           
DATE_TIME
           
DATE_TIME_SECONDS_SINCE_0
           
DATE_TIME_SECONDS_SINCE_1960
           
DATE_TIME_SECONDS_SINCE_1970
           
DATE_TIME_SECONDS_SINCE_1980
           
DOUBLE
           
FLOAT
           
INTEGER
           
STRING
           
TIME
           
TIME_SECONDS
           
 
Method Summary
static DATATYPE fromValue(String v)
           
 String value()
           
static DATATYPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DATATYPE[] 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

STRING

public static final DATATYPE STRING

INTEGER

public static final DATATYPE INTEGER

FLOAT

public static final DATATYPE FLOAT

DOUBLE

public static final DATATYPE DOUBLE

BOOLEAN

public static final DATATYPE BOOLEAN

DATE

public static final DATATYPE DATE

TIME

public static final DATATYPE TIME

DATE_TIME

public static final DATATYPE DATE_TIME

DATE_DAYS_SINCE_0

public static final DATATYPE DATE_DAYS_SINCE_0

DATE_DAYS_SINCE_1960

public static final DATATYPE DATE_DAYS_SINCE_1960

DATE_DAYS_SINCE_1970

public static final DATATYPE DATE_DAYS_SINCE_1970

DATE_DAYS_SINCE_1980

public static final DATATYPE DATE_DAYS_SINCE_1980

TIME_SECONDS

public static final DATATYPE TIME_SECONDS

DATE_TIME_SECONDS_SINCE_0

public static final DATATYPE DATE_TIME_SECONDS_SINCE_0

DATE_TIME_SECONDS_SINCE_1960

public static final DATATYPE DATE_TIME_SECONDS_SINCE_1960

DATE_TIME_SECONDS_SINCE_1970

public static final DATATYPE DATE_TIME_SECONDS_SINCE_1970

DATE_TIME_SECONDS_SINCE_1980

public static final DATATYPE DATE_TIME_SECONDS_SINCE_1980
Method Detail

values

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

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

valueOf

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

value

public String value()

fromValue

public static DATATYPE fromValue(String v)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.