Enum BuiltInPropertyAccessStrategies
- java.lang.Object
-
- java.lang.Enum<BuiltInPropertyAccessStrategies>
-
- org.hibernate.property.access.spi.BuiltInPropertyAccessStrategies
-
- All Implemented Interfaces:
Serializable
,Comparable<BuiltInPropertyAccessStrategies>
public enum BuiltInPropertyAccessStrategies extends Enum<BuiltInPropertyAccessStrategies>
Describes the built-in externally-nameablePropertyAccessStrategy
implementations.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExternalName()
PropertyAccessStrategy
getStrategy()
static BuiltInPropertyAccessStrategies
interpret(String name)
static BuiltInPropertyAccessStrategies
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuiltInPropertyAccessStrategies[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final BuiltInPropertyAccessStrategies BASIC
-
FIELD
public static final BuiltInPropertyAccessStrategies FIELD
-
MIXED
public static final BuiltInPropertyAccessStrategies MIXED
-
MAP
public static final BuiltInPropertyAccessStrategies MAP
-
EMBEDDED
public static final BuiltInPropertyAccessStrategies EMBEDDED
-
NOOP
public static final BuiltInPropertyAccessStrategies NOOP
-
-
Method Detail
-
values
public static BuiltInPropertyAccessStrategies[] 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 (BuiltInPropertyAccessStrategies c : BuiltInPropertyAccessStrategies.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuiltInPropertyAccessStrategies 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
-
getExternalName
public String getExternalName()
-
getStrategy
public PropertyAccessStrategy getStrategy()
-
interpret
public static BuiltInPropertyAccessStrategies interpret(String name)
-
-