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