org.mule.common.metadata.datatype
Enum DataType

java.lang.Object
  extended by java.lang.Enum<DataType>
      extended by org.mule.common.metadata.datatype.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>

public enum DataType
extends Enum<DataType>


Enum Constant Summary
BOOLEAN
           
BYTE
           
CSV
           
DATE
           
DATE_TIME
           
DECIMAL
           
DOUBLE
           
ENUM
           
FLOAT
           
INTEGER
           
JSON
           
LIST
           
LONG
           
MAP
           
NUMBER
          Deprecated. 
POJO
           
SHORT
           
STREAM
          Deprecated. 
STRING
           
UNKNOWN
           
VOID
          Deprecated. 
XML
           
 
Method Summary
 String getDefaultImplementationClass()
           
 List<Operator> getSupportedOperators()
           
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

VOID

@Deprecated
public static final DataType VOID
Deprecated. 

UNKNOWN

public static final DataType UNKNOWN

BOOLEAN

public static final DataType BOOLEAN

NUMBER

@Deprecated
public static final DataType NUMBER
Deprecated. 

INTEGER

public static final DataType INTEGER

DOUBLE

public static final DataType DOUBLE

DECIMAL

public static final DataType DECIMAL

FLOAT

public static final DataType FLOAT

STRING

public static final DataType STRING

SHORT

public static final DataType SHORT

LONG

public static final DataType LONG

BYTE

public static final DataType BYTE

STREAM

@Deprecated
public static final DataType STREAM
Deprecated. 

ENUM

public static final DataType ENUM

DATE

public static final DataType DATE

DATE_TIME

public static final DataType DATE_TIME

POJO

public static final DataType POJO

LIST

public static final DataType LIST

MAP

public static final DataType MAP

XML

public static final DataType XML

CSV

public static final DataType CSV

JSON

public static final DataType JSON
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

getSupportedOperators

public List<Operator> getSupportedOperators()

getDefaultImplementationClass

public String getDefaultImplementationClass()


Copyright © 2015 MuleSoft, Inc.. All rights reserved.