Enum EntityViewAttributeMapping.ContainerBehavior
java.lang.Object
java.lang.Enum<EntityViewAttributeMapping.ContainerBehavior>
com.blazebit.persistence.view.spi.EntityViewAttributeMapping.ContainerBehavior
- All Implemented Interfaces:
Serializable
,Comparable<EntityViewAttributeMapping.ContainerBehavior>
,java.lang.constant.Constable
- Enclosing interface:
- EntityViewAttributeMapping
public static enum EntityViewAttributeMapping.ContainerBehavior extends Enum<EntityViewAttributeMapping.ContainerBehavior>
The behavior of a plural attribute container.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
The default behavior doesn't mandate a deterministic ordering.INDEXED
Specifies that the elements of the container are indexed upon which the iteration order is based on.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.ContainerBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntityViewAttributeMapping.ContainerBehavior[]
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. -
INDEXED
Specifies that the elements of the container are indexed upon which the iteration order is based on. -
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
-