Package io.ebeaninternal.api
Enum SpiUpdate.OrmUpdateType
- java.lang.Object
-
- java.lang.Enum<SpiUpdate.OrmUpdateType>
-
- io.ebeaninternal.api.SpiUpdate.OrmUpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<SpiUpdate.OrmUpdateType>
public static enum SpiUpdate.OrmUpdateType extends Enum<SpiUpdate.OrmUpdateType>
The type of the update request.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpiUpdate.OrmUpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpiUpdate.OrmUpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final SpiUpdate.OrmUpdateType INSERT
-
UPDATE
public static final SpiUpdate.OrmUpdateType UPDATE
-
DELETE
public static final SpiUpdate.OrmUpdateType DELETE
-
UNKNOWN
public static final SpiUpdate.OrmUpdateType UNKNOWN
-
-
Method Detail
-
values
public static SpiUpdate.OrmUpdateType[] 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 (SpiUpdate.OrmUpdateType c : SpiUpdate.OrmUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpiUpdate.OrmUpdateType 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
-
-