Enum EntityViewAttributeMapping.ElementCollectionBehavior
java.lang.Object
java.lang.Enum<EntityViewAttributeMapping.ElementCollectionBehavior>
com.blazebit.persistence.view.spi.EntityViewAttributeMapping.ElementCollectionBehavior
- All Implemented Interfaces:
Serializable
,Comparable<EntityViewAttributeMapping.ElementCollectionBehavior>
,java.lang.constant.Constable
- Enclosing interface:
- EntityViewAttributeMapping
public static enum EntityViewAttributeMapping.ElementCollectionBehavior extends Enum<EntityViewAttributeMapping.ElementCollectionBehavior>
The behavior of a plural attribute element collections.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
The default behavior doesn't mandate a deterministic ordering.ORDERED
Specifies that the container's iteration order must match the element insertion order.SORTED
Specifies that the container's iteration order must match the sort order as defined by a comparator or a comparable element type. -
Method Summary
Modifier and Type Method Description static EntityViewAttributeMapping.ElementCollectionBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntityViewAttributeMapping.ElementCollectionBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The default behavior doesn't mandate a deterministic ordering. -
ORDERED
Specifies that the container's iteration order must match the element insertion order. -
SORTED
Specifies that the container's iteration order must match the sort order as defined by a comparator or a comparable element type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-