Enum ValueSetValidationResult.Status
- java.lang.Object
-
- java.lang.Enum<ValueSetValidationResult.Status>
-
- se.digg.dgc.valueset.v1.validation.ValueSetValidationResult.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<ValueSetValidationResult.Status>
- Enclosing class:
- ValueSetValidationResult
public static enum ValueSetValidationResult.Status extends Enum<ValueSetValidationResult.Status>
Status for validation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Error - checked property/properties are not in accordance with value sets.SUCCESS
Success - checked property/properties are in accordance with value sets.UNDETERMINE
Undetermine - missing value set provider - could not check property.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueSetValidationResult.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueSetValidationResult.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final ValueSetValidationResult.Status SUCCESS
Success - checked property/properties are in accordance with value sets.
-
UNDETERMINE
public static final ValueSetValidationResult.Status UNDETERMINE
Undetermine - missing value set provider - could not check property.
-
ERROR
public static final ValueSetValidationResult.Status ERROR
Error - checked property/properties are not in accordance with value sets.
-
-
Method Detail
-
values
public static ValueSetValidationResult.Status[] 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 (ValueSetValidationResult.Status c : ValueSetValidationResult.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueSetValidationResult.Status 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 nameNullPointerException
- if the argument is null
-
-