public enum FndJdbcDriver extends java.lang.Enum<FndJdbcDriver>
This is a framework internal class! Backward compatibility is not guaranteed.
Enum Constant and Description |
---|
ORACLE
Constant representing Oracle JDBC Driver, synonym: "Oracle" (the default driver).
|
Modifier and Type | Method and Description |
---|---|
static FndJdbcDriver |
getCurrentDriver()
Gets the type of JDBC driver that is used at runtime for getting database connections.
|
static FndJdbcDriver |
getDriver(java.lang.String name)
Returns an instance of FndJdbcDriver with the specified name or synonym.
|
java.lang.String |
synonym()
Returns an alternate name for this driver.
|
static FndJdbcDriver |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FndJdbcDriver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FndJdbcDriver ORACLE
public static FndJdbcDriver[] values()
for (FndJdbcDriver c : FndJdbcDriver.values()) System.out.println(c);
public static FndJdbcDriver valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final java.lang.String synonym()
public static FndJdbcDriver getDriver(java.lang.String name)
name
- the declared upper-case name or mixed-case synonym defined in this class (extraneous whitespace characters are removed)java.lang.IllegalArgumentException
- if there is no FndJdbcDriver with the specified name or synonympublic static FndJdbcDriver getCurrentDriver()