org.eclipse.jpt.jpa.eclipselink.core.context.persistence
Enum TargetDatabase
java.lang.Object
java.lang.Enum<TargetDatabase>
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
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
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)
Copyright (c) 2012 Oracle. All rights reserved.