Package org.hibernate.models.spi
Enum Class TypeDetails.Kind
- All Implemented Interfaces:
Serializable,Comparable<TypeDetails.Kind>,Constable
- Enclosing interface:
TypeDetails
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Java arrayA Java class, interface, or annotation.A generic parameterized typeA Java primitive (boolean, byte, short, char, int, long, float, double)A resolved generic type parameter or type argumentA reference to a resolved type variable occurring in the bound of a recursive type parameterUsed to designate a Java method that returns nothingA generic wildcard type -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDetails.KindReturns the enum constant of this class with the specified name.static TypeDetails.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASS
A Java class, interface, or annotation.- See Also:
-
ARRAY
A Java array- See Also:
-
PRIMITIVE
A Java primitive (boolean, byte, short, char, int, long, float, double)- See Also:
-
VOID
Used to designate a Java method that returns nothing- See Also:
-
TYPE_VARIABLE
A resolved generic type parameter or type argument- See Also:
-
WILDCARD_TYPE
A generic wildcard type- See Also:
-
PARAMETERIZED_TYPE
A generic parameterized type- See Also:
-
TYPE_VARIABLE_REFERENCE
A reference to a resolved type variable occurring in the bound of a recursive type parameter- See Also:
-
-
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
-