public enum Casing extends Enum<Casing>
A database often has policies for quoted versus unquoted identifiers. For example, Oracle converts unquoted identifiers to upper-case, but quoted identifiers are unchanged.
Enum Constant and Description |
---|
TO_LOWER
Identifiers are converted to lower-case.
|
TO_UPPER
Identifiers are converted to upper-case.
|
UNCHANGED
The case of identifiers is not changed.
|
Modifier and Type | Method and Description |
---|---|
static Casing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Casing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Casing UNCHANGED
public static final Casing TO_UPPER
public static final Casing TO_LOWER
public static Casing[] values()
for (Casing c : Casing.values()) System.out.println(c);
public static Casing valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2024 Apache Software Foundation. All Rights Reserved.