Package org.hibernate.cfg
Enum Class 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.
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 ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Indicates metadata coming from either annotations,orx.xmlor a combination of the two.Deprecated, for removal: This API element is subject to removal in a future version.Indicates metadata coming fromhbm.xmlfiles -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataSourceTypeparsePrecedence(String value) Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.static MetadataSourceTypeDeprecated, 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 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.
-
Enum Constant Details
-
HBM
Deprecated, for removal: This API element is subject to removal in a future version.Indicates metadata coming fromhbm.xmlfiles -
CLASS
Deprecated, for removal: This API element is subject to removal in a future version.Indicates metadata coming from either annotations,orx.xmlor a combination of the two.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toStringin classEnum<MetadataSourceType>
-
parsePrecedence
Deprecated, for removal: This API element is subject to removal in a future version.
-
hbm.xmlmappings are no longer supported, making this attribute irrelevant