Enum DowncastLocation
- java.lang.Object
-
- java.lang.Enum<DowncastLocation>
-
- org.hibernate.query.sqm.tree.from.DowncastLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<DowncastLocation>
public enum DowncastLocation extends Enum<DowncastLocation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DowncastLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DowncastLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FROM
public static final DowncastLocation FROM
-
SELECT
public static final DowncastLocation SELECT
-
WHERE
public static final DowncastLocation WHERE
-
OTHER
public static final DowncastLocation OTHER
-
-
Method Detail
-
values
public static DowncastLocation[] 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 (DowncastLocation c : DowncastLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DowncastLocation 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
-
-