public final class AnnotationBinder extends Object
org.hibernate.mapping package)| Modifier and Type | Method and Description | 
|---|---|
static void | 
bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
         Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
         Mappings mappings)
Bind a class having JSR175 annotations. 
 | 
static void | 
bindDefaults(Mappings mappings)  | 
static void | 
bindPackage(String packageName,
           Mappings mappings)  | 
static Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> | 
buildInheritanceStates(List<org.hibernate.annotations.common.reflection.XClass> orderedClasses,
                      Mappings mappings)
For the mapped entities build some temporary data-structure containing information about the
 inheritance status of a class. 
 | 
static Component | 
createComponent(PropertyHolder propertyHolder,
               PropertyData inferredData,
               boolean isComponentEmbedded,
               boolean isIdentifierMapper,
               Mappings mappings)  | 
protected static void | 
defineFetchingStrategy(ToOne toOne,
                      org.hibernate.annotations.common.reflection.XProperty property)  | 
static Component | 
fillComponent(PropertyHolder propertyHolder,
             PropertyData inferredData,
             AccessType propertyAccessor,
             boolean isNullable,
             EntityBinder entityBinder,
             boolean isComponentEmbedded,
             boolean isIdentifierMapper,
             boolean inSecondPass,
             Mappings mappings,
             Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)  | 
static Component | 
fillComponent(PropertyHolder propertyHolder,
             PropertyData inferredData,
             PropertyData baseInferredData,
             AccessType propertyAccessor,
             boolean isNullable,
             EntityBinder entityBinder,
             boolean isComponentEmbedded,
             boolean isIdentifierMapper,
             boolean inSecondPass,
             Mappings mappings,
             Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)  | 
static FetchMode | 
getFetchMode(FetchType fetch)  | 
static boolean | 
isDefault(org.hibernate.annotations.common.reflection.XClass clazz,
         Mappings mappings)  | 
public static void bindDefaults(Mappings mappings)
public static void bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
             Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
             Mappings mappings)
                      throws MappingException
clazzToProcess - entity to bind as XClass instanceinheritanceStatePerClass - Meta data about the inheritance relationships for all mapped classesmappings - Mapping meta dataMappingException - in case there is an configuration errorpublic static Component fillComponent(PropertyHolder propertyHolder, PropertyData inferredData, AccessType propertyAccessor, boolean isNullable, EntityBinder entityBinder, boolean isComponentEmbedded, boolean isIdentifierMapper, boolean inSecondPass, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
public static Component fillComponent(PropertyHolder propertyHolder, PropertyData inferredData, PropertyData baseInferredData, AccessType propertyAccessor, boolean isNullable, EntityBinder entityBinder, boolean isComponentEmbedded, boolean isIdentifierMapper, boolean inSecondPass, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
public static Component createComponent(PropertyHolder propertyHolder, PropertyData inferredData, boolean isComponentEmbedded, boolean isIdentifierMapper, Mappings mappings)
protected static void defineFetchingStrategy(ToOne toOne, org.hibernate.annotations.common.reflection.XProperty property)
public static boolean isDefault(org.hibernate.annotations.common.reflection.XClass clazz,
                Mappings mappings)
public static Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> buildInheritanceStates(List<org.hibernate.annotations.common.reflection.XClass> orderedClasses, Mappings mappings)
orderedClasses - Order list of all annotated entities and their mapped superclassesInheritanceStates keyed against their XClass.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.