public enum PatchOpType extends java.lang.Enum<PatchOpType>
| Enum Constant and Description |
|---|
ADD
Type that represents an "add attribute value(s)" operation.
|
DELETE
Type that represents either a "delete attribute" or a "delete attribute value(s)" operation.
|
REPLACE
Type that represents a "replace attribute value(s)" operation.
|
| Modifier and Type | Method and Description |
|---|---|
static PatchOpType |
getPatchOpTypeFromString(java.lang.String value)
Returns an instance of PatchOpType corresponding to the specified String value.
|
java.lang.String |
getStringValue()
Returns the lower case string value for current operation type.
|
java.lang.String |
toString()
Returns a String representation of this operation type.
|
static PatchOpType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatchOpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchOpType ADD
public static final PatchOpType REPLACE
public static final PatchOpType DELETE
public static PatchOpType[] values()
for (PatchOpType c : PatchOpType.values()) System.out.println(c);
public static PatchOpType 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 static PatchOpType getPatchOpTypeFromString(java.lang.String value)
value - A string value representing the PatchOpType. Should be one of: add, replace, delete.public java.lang.String getStringValue()
public java.lang.String toString()
toString in class java.lang.Enum<PatchOpType>