Class PropertyHolderBuilder
- java.lang.Object
-
- org.hibernate.boot.model.internal.PropertyHolderBuilder
-
public final class PropertyHolderBuilder extends Object
This factory is here to build a PropertyHolder and prevent .mapping interface adding
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyHolder
buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
static CollectionPropertyHolder
buildPropertyHolder(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
build a property holder on top of a collectionstatic PropertyHolder
buildPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)
build a component property holderstatic PropertyHolder
buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
May only be called during the second pass phase.
-
-
-
Method Detail
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)
build a component property holder- Parameters:
component
- component to wrappath
- component path- Returns:
- PropertyHolder
-
buildPropertyHolder
public static CollectionPropertyHolder buildPropertyHolder(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
build a property holder on top of a collection
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
May only be called during the second pass phase. (The join must have already been set.)
-
-