org.hibernate.metamodel.source.annotations
Class EntityHierarchyBuilder
java.lang.Object
org.hibernate.metamodel.source.annotations.EntityHierarchyBuilder
public class EntityHierarchyBuilder
- extends Object
Given a (jandex) annotation index build processes all classes with JPA relevant annotations and pre-orders
JPA entities respectively their inheritance hierarchy.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityHierarchyBuilder
public EntityHierarchyBuilder()
createEntityHierarchies
public static Set<EntityHierarchy> createEntityHierarchies(AnnotationBindingContext bindingContext)
- Pre-processes the annotated entities from the index and create a set of entity hierarchies which can be bound
to the metamodel.
- Parameters:
bindingContext
- The binding context, giving access to needed services and information
- Returns:
- a set of
EntityHierarchy
instances.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.