Enum PluralAttributeMapKeySource.Nature
- java.lang.Object
-
- java.lang.Enum<PluralAttributeMapKeySource.Nature>
-
- org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource.Nature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PluralAttributeMapKeySource.Nature>
- Enclosing interface:
- PluralAttributeMapKeySource
public static enum PluralAttributeMapKeySource.Nature extends java.lang.Enum<PluralAttributeMapKeySource.Nature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
BASIC
EMBEDDED
MANY_TO_MANY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluralAttributeMapKeySource.Nature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PluralAttributeMapKeySource.Nature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final PluralAttributeMapKeySource.Nature BASIC
-
EMBEDDED
public static final PluralAttributeMapKeySource.Nature EMBEDDED
-
MANY_TO_MANY
public static final PluralAttributeMapKeySource.Nature MANY_TO_MANY
-
ANY
public static final PluralAttributeMapKeySource.Nature ANY
-
-
Method Detail
-
values
public static PluralAttributeMapKeySource.Nature[] 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 (PluralAttributeMapKeySource.Nature c : PluralAttributeMapKeySource.Nature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluralAttributeMapKeySource.Nature valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-