org.odftoolkit.odfdom.dom.attribute.db
Enum DbDataTypeAttribute.Value

java.lang.Object
  extended by java.lang.Enum<DbDataTypeAttribute.Value>
      extended by org.odftoolkit.odfdom.dom.attribute.db.DbDataTypeAttribute.Value
All Implemented Interfaces:
Serializable, Comparable<DbDataTypeAttribute.Value>
Enclosing class:
DbDataTypeAttribute

public static enum DbDataTypeAttribute.Value
extends Enum<DbDataTypeAttribute.Value>

The value set of db:data-type.


Enum Constant Summary
ARRAY
           
BIGINT
           
BINARY
           
BIT
           
BLOB
           
BOOLEAN
           
CHAR
           
CLOB
           
DATE
           
DECIMAL
           
DISTINCT
           
DOUBLE
           
FLOAT
           
INTEGER
           
LONGVARBINARY
           
LONGVARCHAR
           
NUMERIC
           
OBJECT
           
OTHER
           
REAL
           
REF
           
SMALLINT
           
SQLNULL
           
STRUCT
           
TIME
           
TIMESTMP
           
TINYINT
           
VARBINARY
           
VARCHAR
           
 
Method Summary
static DbDataTypeAttribute.Value enumValueOf(String value)
           
 String toString()
           
static DbDataTypeAttribute.Value valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DbDataTypeAttribute.Value[] 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

ARRAY

public static final DbDataTypeAttribute.Value ARRAY

BIGINT

public static final DbDataTypeAttribute.Value BIGINT

BINARY

public static final DbDataTypeAttribute.Value BINARY

BIT

public static final DbDataTypeAttribute.Value BIT

BLOB

public static final DbDataTypeAttribute.Value BLOB

BOOLEAN

public static final DbDataTypeAttribute.Value BOOLEAN

CHAR

public static final DbDataTypeAttribute.Value CHAR

CLOB

public static final DbDataTypeAttribute.Value CLOB

DATE

public static final DbDataTypeAttribute.Value DATE

DECIMAL

public static final DbDataTypeAttribute.Value DECIMAL

DISTINCT

public static final DbDataTypeAttribute.Value DISTINCT

DOUBLE

public static final DbDataTypeAttribute.Value DOUBLE

FLOAT

public static final DbDataTypeAttribute.Value FLOAT

INTEGER

public static final DbDataTypeAttribute.Value INTEGER

LONGVARBINARY

public static final DbDataTypeAttribute.Value LONGVARBINARY

LONGVARCHAR

public static final DbDataTypeAttribute.Value LONGVARCHAR

NUMERIC

public static final DbDataTypeAttribute.Value NUMERIC

OBJECT

public static final DbDataTypeAttribute.Value OBJECT

OTHER

public static final DbDataTypeAttribute.Value OTHER

REAL

public static final DbDataTypeAttribute.Value REAL

REF

public static final DbDataTypeAttribute.Value REF

SMALLINT

public static final DbDataTypeAttribute.Value SMALLINT

SQLNULL

public static final DbDataTypeAttribute.Value SQLNULL

STRUCT

public static final DbDataTypeAttribute.Value STRUCT

TIME

public static final DbDataTypeAttribute.Value TIME

TIMESTMP

public static final DbDataTypeAttribute.Value TIMESTMP

TINYINT

public static final DbDataTypeAttribute.Value TINYINT

VARBINARY

public static final DbDataTypeAttribute.Value VARBINARY

VARCHAR

public static final DbDataTypeAttribute.Value VARCHAR
Method Detail

values

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

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

valueOf

public static DbDataTypeAttribute.Value 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<DbDataTypeAttribute.Value>

enumValueOf

public static DbDataTypeAttribute.Value enumValueOf(String value)


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.