Package org.neo4j.cdc.client.model
Enum EntityOperation
- java.lang.Object
-
- java.lang.Enum<EntityOperation>
-
- org.neo4j.cdc.client.model.EntityOperation
-
- All Implemented Interfaces:
Serializable,Comparable<EntityOperation>
public enum EntityOperation extends Enum<EntityOperation>
Type of operation performed on an entity.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntityOperationfromShorthand(String shorthand)static EntityOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final EntityOperation CREATE
Entity is created.
-
UPDATE
public static final EntityOperation UPDATE
Entity is updated.
-
DELETE
public static final EntityOperation DELETE
Entity is deleted.
-
-
Field Detail
-
shorthand
public final String shorthand
-
-
Method Detail
-
values
public static EntityOperation[] 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 (EntityOperation c : EntityOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityOperation 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
-
fromShorthand
public static EntityOperation fromShorthand(String shorthand)
-
-