public enum SyncErrorType extends Enum<SyncErrorType>
Java class for SyncErrorType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SyncErrorType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OutOfSync"/>
<enumeration value="BusinessLogic"/>
<enumeration value="SystemError"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUSINESS_LOGIC |
OUT_OF_SYNC |
SYSTEM_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static SyncErrorType |
fromValue(String v) |
String |
value() |
static SyncErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncErrorType OUT_OF_SYNC
public static final SyncErrorType BUSINESS_LOGIC
public static final SyncErrorType SYSTEM_ERROR
public static SyncErrorType[] values()
for (SyncErrorType c : SyncErrorType.values()) System.out.println(c);
public static SyncErrorType 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 SyncErrorType fromValue(String v)
Copyright © 2019. All Rights Reserved.