public enum ModificationOperation extends Enum<ModificationOperation>
| Enum Constant and Description |
|---|
ADD_ATTRIBUTE
Added attribute value
|
INCREMENT_ATTRIBUTE
Increment operation, RFC 4525
|
REMOVE_ATTRIBUTE
Removed attribute value
|
REPLACE_ATTRIBUTE
Replaced attribute value
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
Internal value
|
| Modifier and Type | Method and Description |
|---|---|
static ModificationOperation |
getOperation(int value)
Get the ModificationOperation from an int value
|
int |
getValue() |
String |
toString() |
static ModificationOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModificationOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModificationOperation ADD_ATTRIBUTE
public static final ModificationOperation REMOVE_ATTRIBUTE
public static final ModificationOperation REPLACE_ATTRIBUTE
public static final ModificationOperation INCREMENT_ATTRIBUTE
public static ModificationOperation[] values()
for (ModificationOperation c : ModificationOperation.values()) System.out.println(c);
public static ModificationOperation 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 ModificationOperation getOperation(int value)
value - the ModificationOperation int valuepublic String toString()
toString in class Enum<ModificationOperation>Object.toString()Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.