org.kuali.common.jdbc.sql.model
Enum SqlKeys
java.lang.Object
java.lang.Enum<SqlKeys>
org.kuali.common.jdbc.sql.model.SqlKeys
- All Implemented Interfaces:
- Serializable, Comparable<SqlKeys>, org.kuali.common.util.spring.env.model.EnvironmentKey
public enum SqlKeys
- extends Enum<SqlKeys>
- implements org.kuali.common.util.spring.env.model.EnvironmentKey
|
Method Summary |
static List<org.kuali.common.util.spring.env.model.EnvironmentKey> |
asList()
|
String |
getValue()
|
static SqlKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SqlKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
THREADS
public static final SqlKeys THREADS
ENCODING
public static final SqlKeys ENCODING
SCHEMA
public static final SqlKeys SCHEMA
USERNAME
public static final SqlKeys USERNAME
PASSWORD
public static final SqlKeys PASSWORD
VALIDATE
public static final SqlKeys VALIDATE
CREATE
public static final SqlKeys CREATE
DROP
public static final SqlKeys DROP
DBA_BEFORE
public static final SqlKeys DBA_BEFORE
DBA_AFTER
public static final SqlKeys DBA_AFTER
values
public static SqlKeys[] 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 (SqlKeys c : SqlKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SqlKeys 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
getValue
public String getValue()
- Specified by:
getValue in interface org.kuali.common.util.spring.env.model.EnvironmentKey
asList
public static List<org.kuali.common.util.spring.env.model.EnvironmentKey> asList()
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.