Enum Class PropertySelectionKind

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

@Internal public enum PropertySelectionKind extends Enum<PropertySelectionKind>
Describes how an entity's mapped properties are selected for one cascade route.
  • Enum Constant Details

    • NONE

      public static final PropertySelectionKind NONE
      No mapped property needs to be considered.
    • ALL

      public static final PropertySelectionKind ALL
      Every mapped property is considered in its ordinary metadata order.
    • SELECTED

      public static final PropertySelectionKind SELECTED
      An ordered subset of mapped property indexes is considered.
  • Method Details

    • values

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