Enum Class AccessOptions.SetOptions.Propagation

java.lang.Object
java.lang.Enum<AccessOptions.SetOptions.Propagation>
org.springframework.data.mapping.AccessOptions.SetOptions.Propagation
All Implemented Interfaces:
Serializable, Comparable<AccessOptions.SetOptions.Propagation>, Constable
Enclosing class:
AccessOptions.SetOptions

public static enum AccessOptions.SetOptions.Propagation extends Enum<AccessOptions.SetOptions.Propagation>
How to propagate setting values that cross collection and map properties.
Author:
Oliver Drotbohm
  • Enum Constant Details

    • SKIP

      public static final AccessOptions.SetOptions.Propagation SKIP
      Skip the setting of values when encountering a collection or map value within the path to traverse.
    • PROPAGATE

      public static final AccessOptions.SetOptions.Propagation PROPAGATE
      Propagate the setting of values when encountering a collection or map value and set it on all collection or map members.
  • Method Details

    • values

      public static AccessOptions.SetOptions.Propagation[] 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 AccessOptions.SetOptions.Propagation 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