Dali Provisional API
Release 3.2

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

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

public enum TargetDatabase
extends Enum<TargetDatabase>
implements PersistenceXmlEnumValue

TargetDatabase


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistenceXmlEnumValue
PersistenceXmlEnumValue.EnumNameTransformer
 
Enum Constant Summary
attunity
           
auto
           
cloudscape
           
database
           
db2
           
db2mainframe
           
dbase
           
derby
           
hsql
           
informix
           
javadb
           
maxdb
           
mysql
           
oracle
           
oracle10
           
oracle11
           
oracle8
           
oracle9
           
pointbase
           
postgresql
           
sqlanywhere
           
sqlserver
           
sybase
           
symfoware
           
timesten
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.persistence.PersistenceXmlEnumValue
ENUM_NAME_TRANSFORMER
 
Method Summary
 String getPropertyValue()
          The string used as the property value in the persistence.xml
static TargetDatabase getTargetDatabaseFor(String literal)
          Return the TargetDatabase value corresponding to the given literal.
static boolean isOracleDatabase(String literal)
           
static TargetDatabase valueOf(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
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

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

maxdb

public static final TargetDatabase maxdb

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

symfoware

public static final TargetDatabase symfoware

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(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

getPropertyValue

public String getPropertyValue()
The string used as the property value in the persistence.xml

Specified by:
getPropertyValue in interface PersistenceXmlEnumValue

getTargetDatabaseFor

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


isOracleDatabase

public static boolean isOracleDatabase(String literal)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.