public enum SynchronizationModeEnum extends Enum<SynchronizationModeEnum>
syncRequestValue ::= SEQUENCE { mode ENUMERATED { -- 0 unused refreshOnly (1), -- 2 reserved refreshAndPersist (3) ...
Enum Constant and Description |
---|
REFRESH_AND_PERSIST
Refresh and Persist mode
|
REFRESH_ONLY
Refresh only mode
|
RESERVED
Unused
|
UNUSED
Unused
|
Modifier and Type | Method and Description |
---|---|
static SynchronizationModeEnum |
getSyncMode(int value)
Get the
SynchronizationModeEnum instance from an integer value. |
int |
getValue() |
static SynchronizationModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronizationModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynchronizationModeEnum UNUSED
public static final SynchronizationModeEnum REFRESH_ONLY
public static final SynchronizationModeEnum RESERVED
public static final SynchronizationModeEnum REFRESH_AND_PERSIST
public static SynchronizationModeEnum[] values()
for (SynchronizationModeEnum c : SynchronizationModeEnum.values()) System.out.println(c);
public static SynchronizationModeEnum 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 SynchronizationModeEnum getSyncMode(int value)
SynchronizationModeEnum
instance from an integer value.value
- The value we want the enum element fromCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.