public static enum Validity.States extends java.lang.Enum<Validity.States>
Enum Constant and Description |
---|
DEPENDING_ERROR
the object self is valid but a depending object has an error
|
ERROR
the object has an error
|
UNKNOWN
the object can not check currently, for example no connection to the database is possible
|
VALID
the object is valid
|
WARNING
the object is valid but is not optimal, for example has a poor performance
|
Modifier and Type | Method and Description |
---|---|
static Validity.States |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Validity.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validity.States VALID
public static final Validity.States WARNING
public static final Validity.States ERROR
public static final Validity.States DEPENDING_ERROR
public static final Validity.States UNKNOWN
public static Validity.States[] values()
for (Validity.States c : Validity.States.values()) System.out.println(c);
public static Validity.States 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 nullCopyright © 1999-2020 by i-net software GmbH