Top Description Constructors Methods
org.hibernate.cfg

public final Class PropertyHolderBuilder

extends Object
Class Inheritance
Imports
java.util.Map, org.hibernate.annotations.common.reflection.XClass, .XProperty, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.cfg.annotations.EntityBinder, org.hibernate.mapping.Collection, .Component, .Join, .PersistentClass

This factory is here to build a PropertyHolder and prevent .mapping interface adding
Author
Emmanuel Bernard

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PropertyHolder
buildPropertyHolder(XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)

public static PropertyHolder

Returns:

PropertyHolder
buildPropertyHolder
(Component
component to wrap
component
,
String
component path
path
,
PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)

build a component property holder

public static CollectionPropertyHolder
buildPropertyHolder(Collection collection, String path, XClass clazzToProcess, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)

build a property holder on top of a collection

public static PropertyHolder
buildPropertyHolder(PersistentClass persistentClass, Map<String, Join> joins, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)

must only be used on second level phases (<join> has to be settled already)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PropertyHolderBuilderback to summary
private PropertyHolderBuilder()

Method Detail

buildPropertyHolderback to summary
public static PropertyHolder buildPropertyHolder(XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)
buildPropertyHolderback to summary
public static PropertyHolder buildPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)

build a component property holder

Parameters
component:Component

component to wrap

path:String

component path

Returns:PropertyHolder

PropertyHolder

buildPropertyHolderback to summary
public static CollectionPropertyHolder buildPropertyHolder(Collection collection, String path, XClass clazzToProcess, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)

build a property holder on top of a collection

buildPropertyHolderback to summary
public static PropertyHolder buildPropertyHolder(PersistentClass persistentClass, Map<String, Join> joins, MetadataBuildingContext context, Map<XClass, InheritanceState> inheritanceStatePerClass)

must only be used on second level phases ( has to be settled already)