Enum DataQuery.ErrorSeverity
- java.lang.Object
-
- java.lang.Enum<DataQuery.ErrorSeverity>
-
- org.openforis.collect.datacleansing.DataQuery.ErrorSeverity
-
- All Implemented Interfaces:
Serializable,Comparable<DataQuery.ErrorSeverity>
- Enclosing class:
- DataQuery
public static enum DataQuery.ErrorSeverity extends Enum<DataQuery.ErrorSeverity>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataQuery.ErrorSeverityfromCode(char code)static DataQuery.ErrorSeverityfromCode(String code)chargetCode()static DataQuery.ErrorSeverityvalueOf(String name)Returns the enum constant of this type with the specified name.static DataQuery.ErrorSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final DataQuery.ErrorSeverity ERROR
-
WARNING
public static final DataQuery.ErrorSeverity WARNING
-
NO_ERROR
public static final DataQuery.ErrorSeverity NO_ERROR
-
-
Method Detail
-
values
public static DataQuery.ErrorSeverity[] 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 (DataQuery.ErrorSeverity c : DataQuery.ErrorSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataQuery.ErrorSeverity 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
-
fromCode
public static DataQuery.ErrorSeverity fromCode(String code)
-
fromCode
public static DataQuery.ErrorSeverity fromCode(char code)
-
getCode
public char getCode()
-
-