Enum BasicValueBinder.Kind
- java.lang.Object
-
- java.lang.Enum<BasicValueBinder.Kind>
-
- org.hibernate.boot.model.internal.BasicValueBinder.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<BasicValueBinder.Kind>
- Enclosing class:
- BasicValueBinder
public static enum BasicValueBinder.Kind extends Enum<BasicValueBinder.Kind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY_DISCRIMINATOR
ANY_KEY
ATTRIBUTE
COLLECTION_ELEMENT
COLLECTION_ID
LIST_INDEX
MAP_KEY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicValueBinder.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static BasicValueBinder.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTRIBUTE
public static final BasicValueBinder.Kind ATTRIBUTE
-
ANY_DISCRIMINATOR
public static final BasicValueBinder.Kind ANY_DISCRIMINATOR
-
ANY_KEY
public static final BasicValueBinder.Kind ANY_KEY
-
MAP_KEY
public static final BasicValueBinder.Kind MAP_KEY
-
COLLECTION_ELEMENT
public static final BasicValueBinder.Kind COLLECTION_ELEMENT
-
COLLECTION_ID
public static final BasicValueBinder.Kind COLLECTION_ID
-
LIST_INDEX
public static final BasicValueBinder.Kind LIST_INDEX
-
-
Method Detail
-
values
public static BasicValueBinder.Kind[] 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 (BasicValueBinder.Kind c : BasicValueBinder.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicValueBinder.Kind 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
-
-