org.hibernate.metamodel.source.annotations
Class EntityHierarchyImpl
java.lang.Object
org.hibernate.metamodel.source.annotations.EntityHierarchyImpl
- All Implemented Interfaces:
- EntityHierarchy
public class EntityHierarchyImpl
- extends Object
- implements EntityHierarchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityHierarchyImpl
public EntityHierarchyImpl(RootEntitySource source,
InheritanceType inheritanceType)
getHierarchyInheritanceType
public InheritanceType getHierarchyInheritanceType()
- Description copied from interface:
EntityHierarchy
- The inheritance type/strategy for the hierarchy.
NOTE : The entire hierarchy must comply with the same inheritance strategy.
- Specified by:
getHierarchyInheritanceType
in interface EntityHierarchy
- Returns:
- The inheritance type.
getRootEntitySource
public RootEntitySource getRootEntitySource()
- Description copied from interface:
EntityHierarchy
- Obtain the hierarchy's root entity.
- Specified by:
getRootEntitySource
in interface EntityHierarchy
- Returns:
- THe root entity.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.