public enum ExportErrorType extends Enum<ExportErrorType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isItem()
Returns
true if the ServiceImportExcelDataErrorType instance is ITEM. |
boolean |
isRule()
Returns
true if the ServiceImportExcelDataErrorType instance is RULE. |
static ExportErrorType |
parse(String value)
Returns the
ServiceImportExcelDataErrorType instance corresponding to the specified value. |
String |
toString()
Returns the
String value of the ServiceImportExcelDataErrorType. |
static ExportErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportErrorType ITEM
public static final ExportErrorType RULE
public static final ExportErrorType UNKNOWN
public static ExportErrorType[] values()
for (ExportErrorType c : ExportErrorType.values()) System.out.println(c);
public static ExportErrorType 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 ExportErrorType parse(String value)
ServiceImportExcelDataErrorType instance corresponding to the specified value.public boolean isItem()
true if the ServiceImportExcelDataErrorType instance is ITEM.public boolean isRule()
true if the ServiceImportExcelDataErrorType instance is RULE.public String toString()
String value of the ServiceImportExcelDataErrorType.toString in class Enum<ExportErrorType>