Enum Orthography
- java.lang.Object
-
- java.lang.Enum<Orthography>
-
- com.github.database.rider.core.api.configuration.Orthography
-
- All Implemented Interfaces:
Serializable,Comparable<Orthography>
public enum Orthography extends Enum<Orthography>
Enumeration denoting the used orthography ('letter-case') for database identifiers (tables, columns), if and only if database-rider is configured in case-insensitive mode (i.e. "caseSensitiveTableNames=false").- Since:
- 1.2.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrthographyvalueOf(String name)Returns the enum constant of this type with the specified name.static Orthography[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPPERCASE
public static final Orthography UPPERCASE
Orthography 'upper-case'. Words (identifiers) are changed having upper-case letters only.
-
LOWERCASE
public static final Orthography LOWERCASE
Orthography 'lower-case'. Words (identifiers) are changed having lower-case letters only.
-
-
Method Detail
-
values
public static Orthography[] 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 (Orthography c : Orthography.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Orthography 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 nameNullPointerException- if the argument is null
-
-