Enum DeleteOperationEnumeration
- java.lang.Object
-
- java.lang.Enum<DeleteOperationEnumeration>
-
- com.iknowbase.api.contentservices.v2.model.DeleteOperationEnumeration
-
- All Implemented Interfaces:
Serializable
,Comparable<DeleteOperationEnumeration>
public enum DeleteOperationEnumeration extends Enum<DeleteOperationEnumeration>
Java class for deleteOperationEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="deleteOperationEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="SOFTDELETE"/> <enumeration value="HARDDELETE"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HARDDELETE
The document will be removed from det database.SOFTDELETE
The status of the document will be set to deleted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteOperationEnumeration
fromValue(String v)
String
value()
static DeleteOperationEnumeration
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeleteOperationEnumeration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOFTDELETE
public static final DeleteOperationEnumeration SOFTDELETE
The status of the document will be set to deleted. Note! The child operation is ignored.
-
HARDDELETE
public static final DeleteOperationEnumeration HARDDELETE
The document will be removed from det database. The child operation parameter determines how subdocuments will be handled.
-
-
Method Detail
-
values
public static DeleteOperationEnumeration[] 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 (DeleteOperationEnumeration c : DeleteOperationEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeleteOperationEnumeration 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 DeleteOperationEnumeration fromValue(String v)
-
-