org.hibernate.annotations.common.reflection
Interface XAnnotatedElement

All Known Subinterfaces:
XClass, XMember, XMethod, XPackage, XProperty
All Known Implementing Classes:
JavaXMember, JavaXMethod

public interface XAnnotatedElement

Author:
Paolo Perrotta, Davide Marchignoli

Method Summary
 boolean equals(java.lang.Object x)
          Returns true if the underlying artefact is the same
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationType)
           
 java.lang.annotation.Annotation[] getAnnotations()
           
<T extends java.lang.annotation.Annotation>
boolean
isAnnotationPresent(java.lang.Class<T> annotationType)
           
 

Method Detail

getAnnotation

<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)

isAnnotationPresent

<T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(java.lang.Class<T> annotationType)

getAnnotations

java.lang.annotation.Annotation[] getAnnotations()

equals

boolean equals(java.lang.Object x)
Returns true if the underlying artefact is the same

Overrides:
equals in class java.lang.Object


Copyright © 2005-2010 Hibernate.org. All Rights Reserved.