Enum Class DeltaCoverage

java.lang.Object
java.lang.Enum<DeltaCoverage>
org.hibernate.collection.spi.DeltaCoverage
All Implemented Interfaces:
Serializable, Comparable<DeltaCoverage>, Constable

@Incubating(since="8.0", group="collection-delta") public enum DeltaCoverage extends Enum<DeltaCoverage>
Describes how completely a CollectionDelta covers its reference state.
Since:
8.0
  • Enum Constant Details

    • COMPLETE

      public static final DeltaCoverage COMPLETE
      The changes completely describe the difference from the baseline.
    • EXPLICIT_CHANGES_ONLY

      public static final DeltaCoverage EXPLICIT_CHANGES_ONLY
      Only explicitly requested changes are known, as with queued operations on an uninitialized collection.
  • Method Details

    • values

      public static DeltaCoverage[] 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

      public static DeltaCoverage valueOf(String name)
      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 name
      NullPointerException - if the argument is null