org.soyatec.windowsazure.table
Enum ETableColumnType

java.lang.Object
  extended by java.lang.Enum<ETableColumnType>
      extended by org.soyatec.windowsazure.table.ETableColumnType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ETableColumnType>

public enum ETableColumnType
extends java.lang.Enum<ETableColumnType>

Azure data types.

The following data types are supported:


Enum Constant Summary
TYPE_BINARY
           
TYPE_BOOL
           
TYPE_DATE_TIME
           
TYPE_DOUBLE
           
TYPE_GUID
           
TYPE_INT
           
TYPE_LONG
           
TYPE_STRING
           
 
Method Summary
 java.lang.String getLiteral()
          Get the literal of the data type
 java.lang.String getSqlType()
          Get the literal of sql type
static ETableColumnType getTypebyLiteral(java.lang.String literal)
          Find type by it's literal
static ETableColumnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ETableColumnType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_BINARY

public static final ETableColumnType TYPE_BINARY

TYPE_BOOL

public static final ETableColumnType TYPE_BOOL

TYPE_DATE_TIME

public static final ETableColumnType TYPE_DATE_TIME

TYPE_DOUBLE

public static final ETableColumnType TYPE_DOUBLE

TYPE_GUID

public static final ETableColumnType TYPE_GUID

TYPE_INT

public static final ETableColumnType TYPE_INT

TYPE_LONG

public static final ETableColumnType TYPE_LONG

TYPE_STRING

public static final ETableColumnType TYPE_STRING
Method Detail

values

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

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

valueOf

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

getLiteral

public java.lang.String getLiteral()
Get the literal of the data type

Returns:

getSqlType

public java.lang.String getSqlType()
Get the literal of sql type

Returns:

getTypebyLiteral

public static ETableColumnType getTypebyLiteral(java.lang.String literal)
Find type by it's literal

Parameters:
literal -
Returns: