Top Inners Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class Helper

extends Object
Class Inheritance
Imports
java.util.Collections, .HashMap, .List, .Map, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCacheType, .JaxbHbmConfigParameterType, .JaxbHbmCustomSqlDmlType, .JaxbHbmDiscriminatorSubclassEntityType, .JaxbHbmEntityBaseDefinition, .JaxbHbmJoinedSubclassEntityType, .JaxbHbmNaturalIdCacheType, .JaxbHbmToolingHintType, .JaxbHbmUnionSubclassEntityType, .TableInformationContainer, .ToolingHintContainer, org.hibernate.boot.model.Caching, .CustomSql, .TruthValue, org.hibernate.boot.model.source.spi.InheritanceType, .SizeSource, .TableSpecificationSource, .ToolingHint, .ToolingHintContext, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle, org.hibernate.internal.util.ReflectHelper, .StringHelper

Authors
Steve Ebersole, Gail Badner

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CustomSql

Returns:

The CustomSql representation
buildCustomSql
(JaxbHbmCustomSqlDmlType
User-specified description of how to perform custom SQL
customSqlElement
)

Given a user-specified description of how to perform custom SQL, build the CustomSql representation.

pack-priv static ToolingHintContext
private static ToolingHintContext
collectToolingHints(ToolingHintContext baseline, ToolingHintContainer toolingHintContainer, boolean onlyInheritable)

public static Caching
createCaching(JaxbHbmCacheType cacheElement)

Deprecated as a consequence of Caching being deprecated.
public static Caching
createNaturalIdCaching(JaxbHbmNaturalIdCacheType cacheElement)

Deprecated as a consequence of Caching being deprecated.
public static TableSpecificationSource
createTableSource(MappingDocument mappingDocument, TableInformationContainer entityElement, Helper.InLineViewNameInferrer inLineViewNameInferrer)

public static TableSpecificationSource
createTableSource(MappingDocument mappingDocument, TableInformationContainer tableInformationContainer, Helper.InLineViewNameInferrer inLineViewNameInferrer, String rowId, String comment, String checkConstraint)

public static Map<String, String>
public static String
getPropertyAccessorName(String access, boolean isEmbedded, String defaultAccess)

public static <T> T
getValue(T value, T defaultValue)

public static InheritanceType
public static SizeSource
interpretSizeSource(Integer length, Integer scale, Integer precision)

public static SizeSource
interpretSizeSource(Integer length, String scale, String precision)

public static Class<T>
reflectedPropertyClass(MetadataBuildingContext buildingContext, String attributeOwnerClassName, String attributeName)

public static Class<T>
reflectedPropertyClass(MetadataBuildingContext buildingContext, Class<T> attributeOwnerClass, final String attributeName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Helperback to summary
public Helper()

Method Detail

buildCustomSqlback to summary
public static CustomSql buildCustomSql(JaxbHbmCustomSqlDmlType customSqlElement)

Given a user-specified description of how to perform custom SQL, build the CustomSql representation.

Parameters
customSqlElement:JaxbHbmCustomSqlDmlType

User-specified description of how to perform custom SQL

Returns:CustomSql

The CustomSql representation

collectToolingHintsback to summary
pack-priv static ToolingHintContext collectToolingHints(ToolingHintContext baseline, ToolingHintContainer toolingHintContainer)
collectToolingHintsback to summary
private static ToolingHintContext collectToolingHints(ToolingHintContext baseline, ToolingHintContainer toolingHintContainer, boolean onlyInheritable)
createCachingback to summary
public static Caching createCaching(JaxbHbmCacheType cacheElement)

Deprecated

as a consequence of Caching being deprecated. See corresponding docs for further information.

createNaturalIdCachingback to summary
public static Caching createNaturalIdCaching(JaxbHbmNaturalIdCacheType cacheElement)

Deprecated

as a consequence of Caching being deprecated. See corresponding docs for further information.

createTableSourceback to summary
public static TableSpecificationSource createTableSource(MappingDocument mappingDocument, TableInformationContainer entityElement, Helper.InLineViewNameInferrer inLineViewNameInferrer)
createTableSourceback to summary
public static TableSpecificationSource createTableSource(MappingDocument mappingDocument, TableInformationContainer tableInformationContainer, Helper.InLineViewNameInferrer inLineViewNameInferrer, String rowId, String comment, String checkConstraint)
extractParametersback to summary
public static Map<String, String> extractParameters(List<JaxbHbmConfigParameterType> xmlParamElements)
getPropertyAccessorNameback to summary
public static String getPropertyAccessorName(String access, boolean isEmbedded, String defaultAccess)
getValueback to summary
public static <T> T getValue(T value, T defaultValue)
interpretInheritanceTypeback to summary
public static InheritanceType interpretInheritanceType(JaxbHbmEntityBaseDefinition entityElement)
interpretSizeSourceback to summary
public static SizeSource interpretSizeSource(Integer length, Integer scale, Integer precision)
interpretSizeSourceback to summary
public static SizeSource interpretSizeSource(Integer length, String scale, String precision)
reflectedPropertyClassback to summary
public static Class<T> reflectedPropertyClass(MetadataBuildingContext buildingContext, String attributeOwnerClassName, String attributeName)
reflectedPropertyClassback to summary
public static Class<T> reflectedPropertyClass(MetadataBuildingContext buildingContext, Class<T> attributeOwnerClass, final String attributeName)
org.hibernate.boot.model.source.internal.hbm back to summary

public Interface Helper.InLineViewNameInferrer

Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.AbstractEntitySourceImpl, org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl

Method Summary

Modifier and TypeMethod and Description
public String

Method Detail

inferInLineViewNameback to summary
public String inferInLineViewName()