org.unitils.core.util
Enum StoredIdentifierCase

java.lang.Object
  extended by java.lang.Enum<StoredIdentifierCase>
      extended by org.unitils.core.util.StoredIdentifierCase
All Implemented Interfaces:
Serializable, Comparable<StoredIdentifierCase>

public enum StoredIdentifierCase
extends Enum<StoredIdentifierCase>

Possible values for the stored identifier case.

Author:
Tim Ducheyne, Filip Neven

Enum Constant Summary
LOWER_CASE
          The database stores unquoted identifiers as lower case
MIXED_CASE
          The database stores unquoted identifiers as case sensitive
UPPER_CASE
          The database stores unquoted identifiers as upper case
 
Method Summary
static StoredIdentifierCase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StoredIdentifierCase[] 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

LOWER_CASE

public static final StoredIdentifierCase LOWER_CASE
The database stores unquoted identifiers as lower case


UPPER_CASE

public static final StoredIdentifierCase UPPER_CASE
The database stores unquoted identifiers as upper case


MIXED_CASE

public static final StoredIdentifierCase MIXED_CASE
The database stores unquoted identifiers as case sensitive

Method Detail

values

public static StoredIdentifierCase[] 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 (StoredIdentifierCase c : StoredIdentifierCase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StoredIdentifierCase 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


Copyright © 2011. All Rights Reserved.