Enum Class PluralAttributeElementNature
java.lang.Object
java.lang.Enum<PluralAttributeElementNature>
org.hibernate.boot.model.source.spi.PluralAttributeElementNature
- All Implemented Interfaces:
Serializable
,Comparable<PluralAttributeElementNature>
,java.lang.constant.Constable
Describes the nature of plural attribute elements in terms of relational implications.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe collection elements are compositions.The collection elements are basic, simple values.The collection elements represent entity's in a multi-valued ANY mapping.The collection elements represent entity's in a many-to-many association.The collection elements represent entity's in a one-to-many association. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static PluralAttributeElementNature
Returns the enum constant of this class with the specified name.static PluralAttributeElementNature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASIC
The collection elements are basic, simple values. -
AGGREGATE
The collection elements are compositions. -
ONE_TO_MANY
The collection elements represent entity's in a one-to-many association. -
MANY_TO_MANY
The collection elements represent entity's in a many-to-many association. -
MANY_TO_ANY
The collection elements represent entity's in a multi-valued ANY mapping.
-
-
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
-
isAssociation
public boolean isAssociation() -
isCascadeable
public boolean isCascadeable()
-