public class PropagateAnnotationReader extends Object implements org.hibernate.annotations.common.reflection.AnnotationReader
| Constructor and Description |
|---|
PropagateAnnotationReader(org.hibernate.annotations.common.reflection.AnnotationReader delegate,
org.hibernate.annotations.common.reflection.MetadataProvider metadataProvider,
AnnotatedElement annotatedElement) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType)
Returns an annotation of the specified type for an element, taking into account inheritance
|
Annotation[] |
getAnnotations()
returns an array of all element annotations taking into account inheritance
|
<T extends Annotation> |
isAnnotationPresent(Class<T> annotationType)
returns whether an annotation of the specified type is specified for the element being annotated, considering inheritance
|
public PropagateAnnotationReader(org.hibernate.annotations.common.reflection.AnnotationReader delegate,
org.hibernate.annotations.common.reflection.MetadataProvider metadataProvider,
AnnotatedElement annotatedElement)
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation in interface org.hibernate.annotations.common.reflection.AnnotationReaderannotationType - annotation typepublic <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent in interface org.hibernate.annotations.common.reflection.AnnotationReaderannotationType - annotation typepublic Annotation[] getAnnotations()
getAnnotations in interface org.hibernate.annotations.common.reflection.AnnotationReaderCopyright © 2018–2021 Tesler. All rights reserved.