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 Map<String,javax.persistence.Column[]> buildColumnOverride(AnnotatedElement element, String path)
           
static PropertyHolder buildPropertyHolder(org.hibernate.mapping.Collection collection, String path)
          buid a property holder on top of a collection
static PropertyHolder buildPropertyHolder(org.hibernate.mapping.Component component, String path, Map<String,javax.persistence.Column[]> columnOverride)
          build a component property holder
static PropertyHolder buildPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass, Map<String,javax.persistence.Column[]> columnOverride, Map<String,org.hibernate.mapping.Join> joins)
           
static PropertyHolder buildPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass, Map<String,org.hibernate.mapping.Join> joins)
           
 
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.mapping.PersistentClass persistentClass,
                                                 Map<String,javax.persistence.Column[]> columnOverride,
                                                 Map<String,org.hibernate.mapping.Join> joins)

buildPropertyHolder

public static PropertyHolder buildPropertyHolder(org.hibernate.mapping.Component component,
                                                 String path,
                                                 Map<String,javax.persistence.Column[]> columnOverride)
build a component property holder

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

buildPropertyHolder

public static PropertyHolder buildPropertyHolder(org.hibernate.mapping.Collection collection,
                                                 String path)
buid a property holder on top of a collection


buildPropertyHolder

public static PropertyHolder buildPropertyHolder(org.hibernate.mapping.PersistentClass persistentClass,
                                                 Map<String,org.hibernate.mapping.Join> joins)

buildColumnOverride

public static Map<String,javax.persistence.Column[]> buildColumnOverride(AnnotatedElement element,
                                                                         String path)