Package io.ebeaninternal.server.core
Enum PersistRequestUpdateSql.SqlType
- java.lang.Object
-
- java.lang.Enum<PersistRequestUpdateSql.SqlType>
-
- io.ebeaninternal.server.core.PersistRequestUpdateSql.SqlType
-
- All Implemented Interfaces:
Serializable
,Comparable<PersistRequestUpdateSql.SqlType>
- Enclosing class:
- PersistRequestUpdateSql
public static enum PersistRequestUpdateSql.SqlType extends Enum<PersistRequestUpdateSql.SqlType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SQL_DELETE
SQL_INSERT
SQL_UNKNOWN
SQL_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PersistRequestUpdateSql.SqlType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PersistRequestUpdateSql.SqlType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SQL_UPDATE
public static final PersistRequestUpdateSql.SqlType SQL_UPDATE
-
SQL_DELETE
public static final PersistRequestUpdateSql.SqlType SQL_DELETE
-
SQL_INSERT
public static final PersistRequestUpdateSql.SqlType SQL_INSERT
-
SQL_UNKNOWN
public static final PersistRequestUpdateSql.SqlType SQL_UNKNOWN
-
-
Method Detail
-
values
public static PersistRequestUpdateSql.SqlType[] 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 (PersistRequestUpdateSql.SqlType c : PersistRequestUpdateSql.SqlType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersistRequestUpdateSql.SqlType 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
-
-