Package org.hibernate.cfg
Class PropertyHolderBuilder
- java.lang.Object
-
- org.hibernate.cfg.PropertyHolderBuilder
-
public final class PropertyHolderBuilder extends java.lang.Object
This factory is here ot 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, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
static CollectionPropertyHolder
buildPropertyHolder(Collection collection, java.lang.String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
buid a property holder on top of a collectionstatic PropertyHolder
buildPropertyHolder(Component component, java.lang.String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)
build a component property holderstatic PropertyHolder
buildPropertyHolder(PersistentClass persistentClass, java.util.Map<java.lang.String,Join> joins, MetadataBuildingContext context, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
must only be used on second level phases (has to be settled already)
-
-
-
Method Detail
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(Component component, java.lang.String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context)
build a component property holder- Parameters:
component
- component to wrappath
- component pathcontext
-- Returns:
- PropertyHolder
-
buildPropertyHolder
public static CollectionPropertyHolder buildPropertyHolder(Collection collection, java.lang.String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
buid a property holder on top of a collection
-
buildPropertyHolder
public static PropertyHolder buildPropertyHolder(PersistentClass persistentClass, java.util.Map<java.lang.String,Join> joins, MetadataBuildingContext context, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
must only be used on second level phases (has to be settled already)
-
-