org.d2rq.db.schema
Enum Identifier.ViolationType
java.lang.Object
java.lang.Enum<Identifier.ViolationType>
org.d2rq.db.schema.Identifier.ViolationType
- All Implemented Interfaces:
- Serializable, Comparable<Identifier.ViolationType>
- Enclosing class:
- Identifier
public static enum Identifier.ViolationType
- extends Enum<Identifier.ViolationType>
EMPTY_DELIMITED_IDENTIFIER
public static final Identifier.ViolationType EMPTY_DELIMITED_IDENTIFIER
TOO_MANY_IDENTIFIERS
public static final Identifier.ViolationType TOO_MANY_IDENTIFIERS
UNEXPECTED_CHARACTER
public static final Identifier.ViolationType UNEXPECTED_CHARACTER
UNEXPECTED_END
public static final Identifier.ViolationType UNEXPECTED_END
values
public static Identifier.ViolationType[] 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 (Identifier.ViolationType c : Identifier.ViolationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Identifier.ViolationType 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