org.castor.cpa.test.framework.xml.types
Enum DatabaseEngineType

java.lang.Object
  extended by java.lang.Enum<DatabaseEngineType>
      extended by org.castor.cpa.test.framework.xml.types.DatabaseEngineType
All Implemented Interfaces:
Serializable, Comparable<DatabaseEngineType>

public enum DatabaseEngineType
extends Enum<DatabaseEngineType>

Enumeration DatabaseEngineType.

Version:
$Revision$ $Date$

Enum Constant Summary
DB2
          Constant DB2
DERBY
          Constant DERBY
HSQL
          Constant HSQL
MYSQL
          Constant MYSQL
ORACLE
          Constant ORACLE
POINTBASE
          Constant POINTBASE
POSTGRESQL
          Constant POSTGRESQL
PROGRESS
          Constant PROGRESS
SAPDB
          Constant SAPDB
SQL_SERVER
          Constant SQL_SERVER
SYBASE
          Constant SYBASE
 
Method Summary
static DatabaseEngineType fromValue(String value)
          Method fromValue.
 void setValue(String value)
           
 String toString()
          Method toString.
 String value()
          Method value.
static DatabaseEngineType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DatabaseEngineType[] 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

DB2

public static final DatabaseEngineType DB2
Constant DB2


DERBY

public static final DatabaseEngineType DERBY
Constant DERBY


HSQL

public static final DatabaseEngineType HSQL
Constant HSQL


MYSQL

public static final DatabaseEngineType MYSQL
Constant MYSQL


ORACLE

public static final DatabaseEngineType ORACLE
Constant ORACLE


POINTBASE

public static final DatabaseEngineType POINTBASE
Constant POINTBASE


POSTGRESQL

public static final DatabaseEngineType POSTGRESQL
Constant POSTGRESQL


PROGRESS

public static final DatabaseEngineType PROGRESS
Constant PROGRESS


SAPDB

public static final DatabaseEngineType SAPDB
Constant SAPDB


SQL_SERVER

public static final DatabaseEngineType SQL_SERVER
Constant SQL_SERVER


SYBASE

public static final DatabaseEngineType SYBASE
Constant SYBASE

Method Detail

values

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

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

valueOf

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

fromValue

public static DatabaseEngineType fromValue(String value)
Method fromValue.

Parameters:
value -
Returns:
the constant for this value

setValue

public void setValue(String value)
Parameters:
value -

toString

public String toString()
Method toString.

Overrides:
toString in class Enum<DatabaseEngineType>
Returns:
the value of this constant

value

public String value()
Method value.

Returns:
the value of this constant


Copyright © 2012. All Rights Reserved.