Enum Class MetadataSourceType

java.lang.Object
java.lang.Enum<MetadataSourceType>
org.hibernate.cfg.MetadataSourceType
All Implemented Interfaces:
Serializable, Comparable<MetadataSourceType>, Constable

@Deprecated(since="6", forRemoval=true) public enum MetadataSourceType extends Enum<MetadataSourceType>
Deprecated, for removal: This API element is subject to removal in a future version.
hbm.xml mappings are no longer supported, making this attribute irrelevant
Enumeration of the types of sources of mapping metadata
Author:
Hardy Ferentschik, Steve Ebersole
  • 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.
    Indicates metadata coming from either annotations, orx.xml or a combination of the two.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates metadata coming from hbm.xml files
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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

    • HBM

      public static final MetadataSourceType HBM
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates metadata coming from hbm.xml files
    • CLASS

      public static final MetadataSourceType CLASS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates metadata coming from either annotations, orx.xml or a combination of the two.
  • Method Details

    • values

      public static MetadataSourceType[] 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 MetadataSourceType 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
    • toString

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

      public static MetadataSourceType parsePrecedence(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.