Enum Class Fetch.Style

java.lang.Object
java.lang.Enum<Fetch.Style>
org.hibernate.engine.profile.Fetch.Style
All Implemented Interfaces:
Serializable, Comparable<Fetch.Style>, Constable
Enclosing class:
Fetch

@Deprecated(forRemoval=true) public static enum Fetch.Style extends Enum<Fetch.Style>
Deprecated, for removal: This API element is subject to removal in a future version.
The type or style of fetch.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Fetch via a join
    Deprecated, for removal: This API element is subject to removal in a future version.
    Fetch via a subsequent select
    Deprecated, for removal: This API element is subject to removal in a future version.
    Fetch via a subsequent subselect
  • Method Summary

    Modifier and Type
    Method
    Description
    forMethod(FetchMode fetchMode)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    parse(String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Parses a style given an externalized string representation
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static Fetch.Style[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • JOIN

      public static final Fetch.Style JOIN
      Deprecated, for removal: This API element is subject to removal in a future version.
      Fetch via a join
    • SELECT

      public static final Fetch.Style SELECT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Fetch via a subsequent select
    • SUBSELECT

      public static final Fetch.Style SUBSELECT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Fetch via a subsequent subselect
  • Method Details

    • values

      public static Fetch.Style[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 Fetch.Style valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • toFetchStyle

      public FetchStyle toFetchStyle()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Enum<Fetch.Style>
    • parse

      public static Fetch.Style parse(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parses a style given an externalized string representation
      Parameters:
      name - The externalized representation
      Returns:
      The style; JOIN is returned if not recognized
    • forMethod

      public static Fetch.Style forMethod(FetchMode fetchMode)
      Deprecated, for removal: This API element is subject to removal in a future version.