org.hibernate.cfg.annotations.reflection
Class EJB3OverridenAnnotationReader
java.lang.Object
org.hibernate.cfg.annotations.reflection.EJB3OverridenAnnotationReader
- All Implemented Interfaces:
- org.hibernate.annotations.common.reflection.AnnotationReader
public class EJB3OverridenAnnotationReader
- extends Object
- implements org.hibernate.annotations.common.reflection.AnnotationReader
Encapsulates the overriding of Java annotations from an EJB 3.0 descriptor.
- Author:
- Paolo Perrotta, Davide Marchignoli, Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJB3OverridenAnnotationReader
public EJB3OverridenAnnotationReader(AnnotatedElement el,
XMLContext xmlContext)
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interface org.hibernate.annotations.common.reflection.AnnotationReader
isAnnotationPresent
public <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(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
buildSqlResultsetMappings
public static List<javax.persistence.SqlResultSetMapping> buildSqlResultsetMappings(org.dom4j.Element element,
XMLContext.Default defaults)
buildNamedQueries
public static List buildNamedQueries(org.dom4j.Element element,
boolean isNative,
XMLContext.Default defaults)
buildTableGeneratorAnnotation
public static javax.persistence.TableGenerator buildTableGeneratorAnnotation(org.dom4j.Element element,
XMLContext.Default defaults)
buildSequenceGeneratorAnnotation
public static javax.persistence.SequenceGenerator buildSequenceGeneratorAnnotation(org.dom4j.Element element)