Class 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 Detail

      • JPAOverriddenAnnotationReader

        public JPAOverriddenAnnotationReader​(java.lang.reflect.AnnotatedElement el,
                                             XMLContext xmlContext,
                                             ClassLoaderAccess classLoaderAccess)
        Deprecated.
        Use JPAMetadataProvider(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 interface org.hibernate.annotations.common.reflection.AnnotationReader
      • isAnnotationPresent

        public <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent​(java.lang.Class<T> annotationType)
        Specified by:
        isAnnotationPresent in interface org.hibernate.annotations.common.reflection.AnnotationReader
      • getAnnotations

        public java.lang.annotation.Annotation[] getAnnotations()
        Specified by:
        getAnnotations in interface org.hibernate.annotations.common.reflection.AnnotationReader
      • buildNamedQueries

        public static java.util.List buildNamedQueries​(org.dom4j.Element element,
                                                       boolean isNative,
                                                       XMLContext.Default defaults,
                                                       ClassLoaderAccess classLoaderAccess)
      • buildSequenceGeneratorAnnotation

        public static SequenceGenerator buildSequenceGeneratorAnnotation​(org.dom4j.Element element)