public enum ModificationOperation extends java.lang.Enum<ModificationOperation>
| Enum Constant and Description |
|---|
ADD_ATTRIBUTE |
REMOVE_ATTRIBUTE |
REPLACE_ATTRIBUTE |
| 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() |
java.lang.String |
toString() |
static ModificationOperation |
valueOf(java.lang.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 ModificationOperation[] values()
for (ModificationOperation c : ModificationOperation.values()) System.out.println(c);
public static ModificationOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ModificationOperation getOperation(int value)
value - the ModificationOperation int valuepublic java.lang.String toString()
toString in class java.lang.Enum<ModificationOperation>Object.toString()