org.eclipse.jpt.eclipselink.core.context.persistence.options
Enum TargetDatabase
java.lang.Object
java.lang.Enum<TargetDatabase>
org.eclipse.jpt.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
|
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're 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 |
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
values
public static final TargetDatabase[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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
getTargetDatabaseFor
public static TargetDatabase getTargetDatabaseFor(java.lang.String literal)
- Return the TargetDatabase value corresponding to the given literal.