Class JPAOverriddenAnnotationReader
- java.lang.Object
-
- org.hibernate.cfg.annotations.reflection.JPAOverriddenAnnotationReader
-
- All Implemented Interfaces:
org.hibernate.annotations.common.reflection.AnnotationReader
public class JPAOverriddenAnnotationReader extends java.lang.Object implements org.hibernate.annotations.common.reflection.AnnotationReader
Encapsulates the overriding of Java annotations from an EJB 3.0 descriptor.
-
-
Constructor Summary
Constructors Constructor Description JPAOverriddenAnnotationReader(java.lang.reflect.AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)
JPAOverriddenAnnotationReader(java.lang.reflect.AnnotatedElement el, XMLContext xmlContext, ClassLoaderAccess classLoaderAccess)
Deprecated.UseJPAMetadataProvider(AnnotatedElement, XMLContext, BootstrapContext)
instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<NamedEntityGraph>
buildNamedEntityGraph(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
static java.util.List
buildNamedQueries(org.dom4j.Element element, boolean isNative, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
static java.util.List<NamedStoredProcedureQuery>
buildNamedStoreProcedureQueries(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
static SequenceGenerator
buildSequenceGeneratorAnnotation(org.dom4j.Element element)
static java.util.List<SqlResultSetMapping>
buildSqlResultsetMappings(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
static TableGenerator
buildTableGeneratorAnnotation(org.dom4j.Element element, XMLContext.Default defaults)
<T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationType)
java.lang.annotation.Annotation[]
getAnnotations()
<T extends java.lang.annotation.Annotation>
booleanisAnnotationPresent(java.lang.Class<T> annotationType)
-
-
-
Constructor Detail
-
JPAOverriddenAnnotationReader
public JPAOverriddenAnnotationReader(java.lang.reflect.AnnotatedElement el, XMLContext xmlContext, ClassLoaderAccess classLoaderAccess)
Deprecated.UseJPAMetadataProvider(AnnotatedElement, XMLContext, BootstrapContext)
instead.
-
JPAOverriddenAnnotationReader
public JPAOverriddenAnnotationReader(java.lang.reflect.AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)
-
-
Method Detail
-
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
- Specified by:
getAnnotation
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
isAnnotationPresent
public <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(java.lang.Class<T> annotationType)
- Specified by:
isAnnotationPresent
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
buildNamedEntityGraph
public static java.util.List<NamedEntityGraph> buildNamedEntityGraph(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedStoreProcedureQueries
public static java.util.List<NamedStoredProcedureQuery> buildNamedStoreProcedureQueries(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildSqlResultsetMappings
public static java.util.List<SqlResultSetMapping> buildSqlResultsetMappings(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedQueries
public static java.util.List buildNamedQueries(org.dom4j.Element element, boolean isNative, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildTableGeneratorAnnotation
public static TableGenerator buildTableGeneratorAnnotation(org.dom4j.Element element, XMLContext.Default defaults)
-
buildSequenceGeneratorAnnotation
public static SequenceGenerator buildSequenceGeneratorAnnotation(org.dom4j.Element element)
-
-