Enum Class JPQLContextType
- All Implemented Interfaces:
Serializable,Comparable<JPQLContextType>,Constable
Enumerated list of JPQL context Types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionindicates that the JPQL context can be used for building JPQL delete statementsindicates that the JPQL context can be used for building JPA Method context that can be used for invoking custom functionsindicates that the JPQL context can be used for building JPQL join statementindicates that the JPQL context can be used for building JPQL join statement that fetches single recordindicates that the JPQL context can be used for building JPQL join statement that fetches single recordindicates that the JPQL context can be used for building JPQL modify statementsindicates that the JPQL context can be used for building JPQL select statementsindicates that the JPQL context can be used for building JPQL select statement that fetches record countsindicates that the JPQL context can be used for building JPQL select statement that fetches single record -
Method Summary
Modifier and TypeMethodDescriptionstatic JPQLContextTypeReturns the enum constant of this class with the specified name.static JPQLContextType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECT
indicates that the JPQL context can be used for building JPQL select statements -
MODIFY
indicates that the JPQL context can be used for building JPQL modify statements -
DELETE
indicates that the JPQL context can be used for building JPQL delete statements -
SELECT_SINGLE
indicates that the JPQL context can be used for building JPQL select statement that fetches single record -
JOIN
indicates that the JPQL context can be used for building JPQL join statement -
JOIN_SINGLE
indicates that the JPQL context can be used for building JPQL join statement that fetches single record -
SELECT_COUNT
indicates that the JPQL context can be used for building JPQL select statement that fetches record counts -
JOIN_COUNT
indicates that the JPQL context can be used for building JPQL join statement that fetches single record -
FUNCTION
indicates that the JPQL context can be used for building JPA Method context that can be used for invoking custom functions
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-