Package org.hibernate.metamodel.internal
Enum JpaMetaModelPopulationSetting
- java.lang.Object
-
- java.lang.Enum<JpaMetaModelPopulationSetting>
-
- org.hibernate.metamodel.internal.JpaMetaModelPopulationSetting
-
- All Implemented Interfaces:
Serializable
,Comparable<JpaMetaModelPopulationSetting>
public enum JpaMetaModelPopulationSetting extends Enum<JpaMetaModelPopulationSetting>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
ENABLED
IGNORE_UNSUPPORTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JpaMetaModelPopulationSetting
determineJpaMetaModelPopulationSetting(Map configurationValues)
static JpaMetaModelPopulationSetting
parse(String setting)
static JpaMetaModelPopulationSetting
valueOf(String name)
Returns the enum constant of this type with the specified name.static JpaMetaModelPopulationSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final JpaMetaModelPopulationSetting ENABLED
-
DISABLED
public static final JpaMetaModelPopulationSetting DISABLED
-
IGNORE_UNSUPPORTED
public static final JpaMetaModelPopulationSetting IGNORE_UNSUPPORTED
-
-
Method Detail
-
values
public static JpaMetaModelPopulationSetting[] 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 (JpaMetaModelPopulationSetting c : JpaMetaModelPopulationSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JpaMetaModelPopulationSetting 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
-
parse
public static JpaMetaModelPopulationSetting parse(String setting)
-
determineJpaMetaModelPopulationSetting
public static JpaMetaModelPopulationSetting determineJpaMetaModelPopulationSetting(Map configurationValues)
-
-