public enum SyncStateTypeEnum extends Enum<SyncStateTypeEnum>
| Enum Constant and Description |
|---|
ADD
The entry has been added
|
DELETE
The entry has been deleted
|
MODDN
The entry has been renamed
|
MODIFY
The entry has been modified
|
PRESENT
The entry is present
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
the internal value
|
| Modifier and Type | Method and Description |
|---|---|
static SyncStateTypeEnum |
getSyncStateType(int value)
Get the
SyncStateTypeEnum instance from an integer value. |
int |
getValue() |
static SyncStateTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncStateTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncStateTypeEnum PRESENT
public static final SyncStateTypeEnum ADD
public static final SyncStateTypeEnum MODIFY
public static final SyncStateTypeEnum DELETE
public static final SyncStateTypeEnum MODDN
public static SyncStateTypeEnum[] values()
for (SyncStateTypeEnum c : SyncStateTypeEnum.values()) System.out.println(c);
public static SyncStateTypeEnum 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 int getValue()
public static SyncStateTypeEnum getSyncStateType(int value)
SyncStateTypeEnum instance from an integer value.value - The value we want the enum element fromCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.