Enum HibernateStatementAssertionResult.StatementType
- java.lang.Object
-
- java.lang.Enum<HibernateStatementAssertionResult.StatementType>
-
- com.mickaelb.integration.spring.assertions.sql.HibernateStatementAssertionResult.StatementType
-
- All Implemented Interfaces:
Serializable,Comparable<HibernateStatementAssertionResult.StatementType>
- Enclosing class:
- HibernateStatementAssertionResult
public static enum HibernateStatementAssertionResult.StatementType extends Enum<HibernateStatementAssertionResult.StatementType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HibernateStatementAssertionResult.StatementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HibernateStatementAssertionResult.StatementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final HibernateStatementAssertionResult.StatementType SELECT
-
INSERT
public static final HibernateStatementAssertionResult.StatementType INSERT
-
UPDATE
public static final HibernateStatementAssertionResult.StatementType UPDATE
-
DELETE
public static final HibernateStatementAssertionResult.StatementType DELETE
-
-
Method Detail
-
values
public static HibernateStatementAssertionResult.StatementType[] 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 (HibernateStatementAssertionResult.StatementType c : HibernateStatementAssertionResult.StatementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HibernateStatementAssertionResult.StatementType 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
-
-