public static enum DataQuery.ErrorSeverity extends Enum<DataQuery.ErrorSeverity>
| Modifier and Type | Method and Description |
|---|---|
static DataQuery.ErrorSeverity |
fromCode(char code) |
static DataQuery.ErrorSeverity |
fromCode(String code) |
char |
getCode() |
static DataQuery.ErrorSeverity |
valueOf(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.
|
public static final DataQuery.ErrorSeverity ERROR
public static final DataQuery.ErrorSeverity WARNING
public static final DataQuery.ErrorSeverity NO_ERROR
public static DataQuery.ErrorSeverity[] values()
for (DataQuery.ErrorSeverity c : DataQuery.ErrorSeverity.values()) System.out.println(c);
public static DataQuery.ErrorSeverity 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 nullpublic static DataQuery.ErrorSeverity fromCode(String code)
public static DataQuery.ErrorSeverity fromCode(char code)
public char getCode()
Copyright © 2020 Open Foris. All rights reserved.