public static enum DatabaseFactory.Parameter extends java.lang.Enum<DatabaseFactory.Parameter>
Enum Constant and Description |
---|
CREATE_INDEXES
If false, do not create any indexes in schema.
|
HOST
Database host.
|
JDBC_URL
JDBC URL.
|
NAME
Name of database (i.e., schema or sid).
|
PASSWD
Password for database connection.
|
PORT
Port of database.
|
TABLEPREFIX
Name of table prefix.
|
TYPE
Type of database.
|
USER
User name of database connection.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of the parameter.
|
static DatabaseFactory.Parameter |
getType(java.lang.String name)
Find the Parameter from a name.
|
static DatabaseFactory.Parameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseFactory.Parameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseFactory.Parameter USER
public static final DatabaseFactory.Parameter PASSWD
public static final DatabaseFactory.Parameter HOST
public static final DatabaseFactory.Parameter NAME
public static final DatabaseFactory.Parameter TYPE
public static final DatabaseFactory.Parameter PORT
public static final DatabaseFactory.Parameter TABLEPREFIX
public static final DatabaseFactory.Parameter JDBC_URL
public static final DatabaseFactory.Parameter CREATE_INDEXES
public static DatabaseFactory.Parameter[] values()
for (DatabaseFactory.Parameter c : DatabaseFactory.Parameter.values()) System.out.println(c);
public static DatabaseFactory.Parameter 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 java.lang.String getName()
public static DatabaseFactory.Parameter getType(java.lang.String name)