org.kuali.common.jdbc.model
Enum JdbcKeys

java.lang.Object
  extended by java.lang.Enum<JdbcKeys>
      extended by 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


Enum Constant Summary
DBA_PASSWORD
           
DBA_URL
           
DBA_USERNAME
           
DRIVER
           
PASSWORD
           
URL
           
USERNAME
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.