org.hibernate.cfg
Class PropertyHolderBuilder

java.lang.Object
  extended by org.hibernate.cfg.PropertyHolderBuilder

public final class PropertyHolderBuilder
extends Object

This factory is here ot build a PropertyHolder and prevent .mapping interface adding

Author:
Emmanuel Bernard

Method Summary
static PropertyHolder buildPropertyHolder(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, ExtendedMappings mappings)
          buid a property holder on top of a collection
static PropertyHolder buildPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, ExtendedMappings mappings)
          build a component property holder
static PropertyHolder buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, ExtendedMappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
          must only be used on second level phases ( has to be settled already)
static PropertyHolder buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, ExtendedMappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

buildPropertyHolder

public static PropertyHolder buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
                                                 PersistentClass persistentClass,
                                                 EntityBinder entityBinder,
                                                 ExtendedMappings mappings,
                                                 Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)

buildPropertyHolder

public static PropertyHolder buildPropertyHolder(Component component,
                                                 String path,
                                                 PropertyData inferredData,
                                                 PropertyHolder parent,
                                                 ExtendedMappings mappings)
build a component property holder

Parameters:
component - component to wrap
path - component path
mappings -
Returns:
PropertyHolder

buildPropertyHolder

public static PropertyHolder buildPropertyHolder(Collection collection,
                                                 String path,
                                                 org.hibernate.annotations.common.reflection.XClass clazzToProcess,
                                                 org.hibernate.annotations.common.reflection.XProperty property,
                                                 PropertyHolder parentPropertyHolder,
                                                 ExtendedMappings mappings)
buid a property holder on top of a collection


buildPropertyHolder

public static PropertyHolder buildPropertyHolder(PersistentClass persistentClass,
                                                 Map<String,Join> joins,
                                                 ExtendedMappings mappings,
                                                 Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
must only be used on second level phases ( has to be settled already)



Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.