org.kuali.common.jdbc.model
Enum JdbcKeys
java.lang.Object
java.lang.Enum<JdbcKeys>
org.kuali.common.jdbc.model.JdbcKeys
- All Implemented Interfaces:
- Serializable, Comparable<JdbcKeys>, org.kuali.common.util.spring.env.model.EnvironmentKey
public enum JdbcKeys
- extends Enum<JdbcKeys>
- 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 JdbcKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JdbcKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
URL
public static final JdbcKeys URL
USERNAME
public static final JdbcKeys USERNAME
PASSWORD
public static final JdbcKeys PASSWORD
DRIVER
public static final JdbcKeys DRIVER
DBA_URL
public static final JdbcKeys DBA_URL
DBA_USERNAME
public static final JdbcKeys DBA_USERNAME
DBA_PASSWORD
public static final JdbcKeys DBA_PASSWORD
values
public static JdbcKeys[] 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 (JdbcKeys c : JdbcKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static JdbcKeys 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.