public enum ValidatorResult extends Enum<ValidatorResult>
| Enum Constant and Description |
|---|
VALIDATION_ERROR_INCONSISTENT_HASHCODE
Validation failed;
hashCode checking was requested, but the
hashCode method was not defined in the same class as
equals. |
VALIDATION_ERROR_WANTED_ANNOTATIONS
Validation failed; annotations were required but none were included.
|
VALIDATION_ERROR_WANTED_REFERENCE_EQUALITY
Validation failed; the class specified reference equality but actually
overrode
equals. |
VALIDATION_ERROR_WANTED_STRUCTURAL_EQUALITY
Validation failed; the class specified structural equality but failed to
override
equals. |
VALIDATION_OK
Validation succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidatorResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidatorResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidatorResult VALIDATION_ERROR_INCONSISTENT_HASHCODE
hashCode checking was requested, but the
hashCode method was not defined in the same class as
equals.public static final ValidatorResult VALIDATION_ERROR_WANTED_ANNOTATIONS
public static final ValidatorResult VALIDATION_ERROR_WANTED_REFERENCE_EQUALITY
equals.public static final ValidatorResult VALIDATION_ERROR_WANTED_STRUCTURAL_EQUALITY
equals.public static final ValidatorResult VALIDATION_OK
public static ValidatorResult[] values()
for (ValidatorResult c : ValidatorResult.values()) System.out.println(c);
public static ValidatorResult 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 © 2016 <code@io7m.com> http://io7m.com