Enum Class CollectionTransition
- All Implemented Interfaces:
Serializable, Comparable<CollectionTransition>, Constable
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate the collection rows associated with the current endpoint.No loaded-to-current collection transition was detected.Remove the collection rows associated with the loaded endpoint.Remove rows from the loaded endpoint and create rows at the current endpoint.Update the collection at its existing loaded/current endpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic CollectionTransitionReturns the enum constant of this class with the specified name.static CollectionTransition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No loaded-to-current collection transition was detected.
This value is used when the input contains only queued operations for an uninitialized collection.
-
CREATE
Create the collection rows associated with the current endpoint.
There is no corresponding remove from a loaded endpoint.
-
REMOVE
Remove the collection rows associated with the loaded endpoint.
There is no corresponding create at a current endpoint.
-
UPDATE
Update the collection at its existing loaded/current endpoint.
The role and key are unchanged; the collection's contents or ordering may nevertheless require row deletion, insertion, or update.
-
REMOVE_AND_CREATE
Remove rows from the loaded endpoint and create rows at the current endpoint.
This represents a collection role or owner-key change. The remove side must precede the create side, and each side retains its own semantic lifecycle.
-
-
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
-