de.topicmapslab.majortom.database.jdbc.core
Enum SqlDialect

java.lang.Object
  extended by java.lang.Enum<SqlDialect>
      extended by de.topicmapslab.majortom.database.jdbc.core.SqlDialect
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SqlDialect>

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

Author:
Sven Krosse

Enum Constant Summary
HSQLDB
           
MONET_DB
           
MYSQL
           
POSTGRESQL
           
POSTGRESQL99
           
RDBMS
           
 
Method Summary
static SqlDialect valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SqlDialect[] 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

RDBMS

public static final SqlDialect RDBMS

POSTGRESQL

public static final SqlDialect POSTGRESQL

POSTGRESQL99

public static final SqlDialect POSTGRESQL99

MYSQL

public static final SqlDialect MYSQL

MONET_DB

public static final SqlDialect MONET_DB

HSQLDB

public static final SqlDialect HSQLDB
Method Detail

values

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

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

valueOf

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