public static enum SqlNameGenerator.Failure extends Enum<SqlNameGenerator.Failure>
| Enum Constant and Description |
|---|
EMPTY_SEGMENT
A segment's stored name was empty; nothing is filled in on the caller's behalf.
|
NO_QUOTED_FORM
The name needs delimiting but the vendor has no delimited form for that role.
|
NO_SEGMENTS
No segments were given.
|
NOT_REPRESENTABLE
The name cannot be written as a valid identifier for this vendor at all.
|
NULL_SEGMENT
A segment, its role or its stored name was null.
|
ROUND_TRIP_MISMATCH
The rendered segment did not decode back to the stored name.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlNameGenerator.Failure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlNameGenerator.Failure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlNameGenerator.Failure NO_SEGMENTS
public static final SqlNameGenerator.Failure NULL_SEGMENT
public static final SqlNameGenerator.Failure EMPTY_SEGMENT
public static final SqlNameGenerator.Failure NO_QUOTED_FORM
public static final SqlNameGenerator.Failure NOT_REPRESENTABLE
public static final SqlNameGenerator.Failure ROUND_TRIP_MISMATCH
public static SqlNameGenerator.Failure[] values()
for (SqlNameGenerator.Failure c : SqlNameGenerator.Failure.values()) System.out.println(c);
public static SqlNameGenerator.Failure 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 null