Module eclipselink
Enum Class TableValidationException.ValidationFailure
java.lang.Object
java.lang.Enum<TableValidationException.ValidationFailure>
org.eclipse.persistence.tools.schemaframework.TableValidationException.ValidationFailure
- All Implemented Interfaces:
Serializable
,Comparable<TableValidationException.ValidationFailure>
,Constable
- Enclosing class:
TableValidationException
public static enum TableValidationException.ValidationFailure
extends Enum<TableValidationException.ValidationFailure>
Validation failure.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTable with different columns in the schema.Table with missing columns in the schema.Missing table in the schema.Table with surplus columns in the schema. -
Method Summary
Modifier and TypeMethodDescriptionClass
<? extends TableValidationException> ReturnsTableValidationException
subtype matching thisTableValidationException.ValidationFailure
.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_TABLE
Missing table in the schema. -
MISSING_COLUMNS
Table with missing columns in the schema. -
SURPLUS_COLUMNS
Table with surplus columns in the schema. -
DIFFERENT_COLUMNS
Table with different columns in the schema.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
exceptionClass
ReturnsTableValidationException
subtype matching thisTableValidationException.ValidationFailure
.- Returns:
TableValidationException
subtype
-