com.metamatrix.common.jdbc
Enum JDBCPlatform.Supported

java.lang.Object
  extended by java.lang.Enum<JDBCPlatform.Supported>
      extended by com.metamatrix.common.jdbc.JDBCPlatform.Supported
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JDBCPlatform.Supported>
Enclosing class:
JDBCPlatform

public static enum JDBCPlatform.Supported
extends java.lang.Enum<JDBCPlatform.Supported>

These are the platforms supported


Enum Constant Summary
DB2
           
DEFAULT
           
DERBY
           
INFORMIX
           
METAMATRIX
           
MM_ORACLE
           
MSSQL
           
MYSQL
           
ORACLE
           
POSTGRES
           
SYBASE
           
 
Method Summary
static JDBCPlatform.Supported valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JDBCPlatform.Supported[] 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

ORACLE

public static final JDBCPlatform.Supported ORACLE

SYBASE

public static final JDBCPlatform.Supported SYBASE

DB2

public static final JDBCPlatform.Supported DB2

MSSQL

public static final JDBCPlatform.Supported MSSQL

INFORMIX

public static final JDBCPlatform.Supported INFORMIX

METAMATRIX

public static final JDBCPlatform.Supported METAMATRIX

MM_ORACLE

public static final JDBCPlatform.Supported MM_ORACLE

MYSQL

public static final JDBCPlatform.Supported MYSQL

POSTGRES

public static final JDBCPlatform.Supported POSTGRES

DEFAULT

public static final JDBCPlatform.Supported DEFAULT

DERBY

public static final JDBCPlatform.Supported DERBY
Method Detail

values

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

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

valueOf

public static JDBCPlatform.Supported 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


Copyright © 2009. All Rights Reserved.