public enum Validity extends java.lang.Enum<Validity>
| Enum Constant | Description |
|---|---|
DUBIOUS |
The value is technically valid, but should be changed from a user point of view.
|
ERRONEOUS |
The value is invalid.
|
VALID |
The value is valid.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isValidOrDubious() |
|
static Validity |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Validity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Validity |
worse(Validity value1,
Validity value2) |
public static final Validity VALID
public static final Validity DUBIOUS
public static final Validity ERRONEOUS
public static Validity[] values()
for (Validity c : Validity.values()) System.out.println(c);
public static Validity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isValidOrDubious()
Copyright © 2019. All rights reserved.