Enum SaveOperationEnumeration
- java.lang.Object
-
- java.lang.Enum<SaveOperationEnumeration>
-
- com.iknowbase.api.contentservices.v2.model.SaveOperationEnumeration
-
- All Implemented Interfaces:
Serializable
,Comparable<SaveOperationEnumeration>
public enum SaveOperationEnumeration extends Enum<SaveOperationEnumeration>
Java class for saveOperationEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="saveOperationEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="REPLACE"/> <enumeration value="REPLACEALL"/> <enumeration value="INSERT"/> <enumeration value="MERGE"/> <enumeration value="DELETE"/> <enumeration value="DELETE_VALUE"/> <enumeration value="NONE"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE
Delete the provided entries.DELETE_VALUE
Delete the provided entry values.INSERT
Insert new entries.MERGE
Update existing entries or insert new ones.NONE
REPLACE
Replace all existing entries.REPLACEALL
Replace all existing entries.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaveOperationEnumeration
fromValue(String v)
String
value()
static SaveOperationEnumeration
valueOf(String name)
Returns the enum constant of this type with the specified name.static SaveOperationEnumeration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final SaveOperationEnumeration REPLACE
Replace all existing entries. Used with an empty set, it will delete all entries.
-
REPLACEALL
public static final SaveOperationEnumeration REPLACEALL
Replace all existing entries. Used with an empty set, it will delete all entries.
-
INSERT
public static final SaveOperationEnumeration INSERT
Insert new entries. Entries that already exist are not changed.
-
MERGE
public static final SaveOperationEnumeration MERGE
Update existing entries or insert new ones.
-
DELETE
public static final SaveOperationEnumeration DELETE
Delete the provided entries.
-
DELETE_VALUE
public static final SaveOperationEnumeration DELETE_VALUE
Delete the provided entry values.
-
NONE
public static final SaveOperationEnumeration NONE
-
-
Method Detail
-
values
public static SaveOperationEnumeration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SaveOperationEnumeration c : SaveOperationEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaveOperationEnumeration valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static SaveOperationEnumeration fromValue(String v)
-
-