public enum DataErrorReason extends Enum<DataErrorReason>
Java class for DataError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DataError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CANNOT_CREATE_TABLE_ENTRY"/>
<enumeration value="NO_TABLE_ENTRY_CLASS_FOR_VIEW_TYPE"/>
<enumeration value="TABLE_SERVICE_ERROR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_CREATE_TABLE_ENTRY |
NO_TABLE_ENTRY_CLASS_FOR_VIEW_TYPE |
TABLE_SERVICE_ERROR
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static DataErrorReason |
fromValue(String v) |
String |
value() |
static DataErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataErrorReason CANNOT_CREATE_TABLE_ENTRY
public static final DataErrorReason NO_TABLE_ENTRY_CLASS_FOR_VIEW_TYPE
public static final DataErrorReason TABLE_SERVICE_ERROR
public static DataErrorReason[] values()
for (DataErrorReason c : DataErrorReason.values()) System.out.println(c);
public static DataErrorReason 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 String value()
public static DataErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.