org.eclipse.jpt.jpa.eclipselink.core.context.persistence.options
Enum TargetDatabase

java.lang.Object
  extended by java.lang.Enum<TargetDatabase>
      extended by org.eclipse.jpt.jpa.eclipselink.core.context.persistence.options.TargetDatabase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TargetDatabase>

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

TargetDatabase


Enum Constant Summary
attunity
           
auto
           
cloudscape
           
database
           
db2
           
db2mainframe
           
dbase
           
derby
           
hsql
           
informix
           
javadb
           
mysql
           
oracle
           
oracle10
           
oracle11
           
oracle8
           
oracle9
           
pointbase
           
postgresql
           
sqlanywhere
           
sqlserver
           
sybase
           
timesten
           
 
Method Summary
static TargetDatabase getTargetDatabaseFor(java.lang.String literal)
          Return the TargetDatabase value corresponding to the given literal.
static TargetDatabase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TargetDatabase[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

attunity

public static final TargetDatabase attunity

auto

public static final TargetDatabase auto

cloudscape

public static final TargetDatabase cloudscape

database

public static final TargetDatabase database

db2

public static final TargetDatabase db2

db2mainframe

public static final TargetDatabase db2mainframe

dbase

public static final TargetDatabase dbase

derby

public static final TargetDatabase derby

hsql

public static final TargetDatabase hsql

informix

public static final TargetDatabase informix

javadb

public static final TargetDatabase javadb

mysql

public static final TargetDatabase mysql

oracle

public static final TargetDatabase oracle

oracle11

public static final TargetDatabase oracle11

oracle10

public static final TargetDatabase oracle10

oracle9

public static final TargetDatabase oracle9

oracle8

public static final TargetDatabase oracle8

pointbase

public static final TargetDatabase pointbase

postgresql

public static final TargetDatabase postgresql

sqlanywhere

public static final TargetDatabase sqlanywhere

sqlserver

public static final TargetDatabase sqlserver

sybase

public static final TargetDatabase sybase

timesten

public static final TargetDatabase timesten
Method Detail

values

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

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

valueOf

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

getTargetDatabaseFor

public static TargetDatabase getTargetDatabaseFor(java.lang.String literal)
Return the TargetDatabase value corresponding to the given literal.