Package com.kenshoo.pl.entity
Enum SupportedChangeOperation
- java.lang.Object
-
- java.lang.Enum<SupportedChangeOperation>
-
- com.kenshoo.pl.entity.SupportedChangeOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SupportedChangeOperation>
public enum SupportedChangeOperation extends java.lang.Enum<SupportedChangeOperation>
Created by dimag on 05/11/2015.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATECREATE_AND_UPDATECREATE_UPDATE_AND_DELETEDELETEREAD_ONLYUPDATEUPDATE_AND_DELETE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleansupports(ChangeOperation operation)static SupportedChangeOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SupportedChangeOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_ONLY
public static final SupportedChangeOperation READ_ONLY
-
CREATE
public static final SupportedChangeOperation CREATE
-
UPDATE
public static final SupportedChangeOperation UPDATE
-
DELETE
public static final SupportedChangeOperation DELETE
-
CREATE_AND_UPDATE
public static final SupportedChangeOperation CREATE_AND_UPDATE
-
CREATE_UPDATE_AND_DELETE
public static final SupportedChangeOperation CREATE_UPDATE_AND_DELETE
-
UPDATE_AND_DELETE
public static final SupportedChangeOperation UPDATE_AND_DELETE
-
-
Method Detail
-
values
public static SupportedChangeOperation[] 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 (SupportedChangeOperation c : SupportedChangeOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportedChangeOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
supports
public abstract boolean supports(ChangeOperation operation)
-
-