|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.annotations.common.reflection.java.JavaXMember
public abstract class JavaXMember
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Returns true if the underlying artefact is the same |
|
|
getAnnotation(Class<T> annotationType)
|
|
Annotation[] |
getAnnotations()
|
|
XClass |
getClassOrElementClass()
The type of this property's elements for arrays, the type of the property itself for everything else. |
|
Class<? extends Collection> |
getCollectionClass()
The collection class for collections, null for others. |
|
XClass |
getElementClass()
This property's type for simple properties, the type of its elements for arrays and collections. |
|
XClass |
getMapKey()
The type of this map's key, or null for anything that is not a map. |
|
int |
getModifiers()
Same modifiers as java.lang.Member#getModifiers() |
|
abstract String |
getName()
|
|
XClass |
getType()
This property's XClass. |
|
int |
hashCode()
|
|
|
isAnnotationPresent(Class<T> annotationType)
|
|
boolean |
isArray()
|
|
boolean |
isCollection()
|
|
boolean |
isTypeResolved()
|
|
void |
setAccessible(boolean accessible)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.hibernate.annotations.common.reflection.XMember |
|---|
invoke |
| Methods inherited from interface org.hibernate.annotations.common.reflection.XAnnotatedElement |
|---|
equals, getAnnotation, getAnnotations, isAnnotationPresent |
| Method Detail |
|---|
public XClass getType()
XMember
getType in interface XMemberpublic abstract String getName()
getName in interface XMemberpublic Class<? extends Collection> getCollectionClass()
XMember
getCollectionClass in interface XMemberpublic XClass getClassOrElementClass()
XMember
getClassOrElementClass in interface XMemberpublic XClass getElementClass()
XMember
getElementClass in interface XMemberpublic XClass getMapKey()
XMember
getMapKey in interface XMemberpublic boolean isArray()
isArray in interface XMemberpublic boolean isCollection()
isCollection in interface XMemberpublic int getModifiers()
XMember
getModifiers in interface XMemberpublic final boolean isTypeResolved()
isTypeResolved in interface XMemberpublic void setAccessible(boolean accessible)
setAccessible in interface XMemberpublic <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation in interface XAnnotatedElementpublic <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent in interface XAnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface XAnnotatedElementpublic boolean equals(Object obj)
XAnnotatedElement
equals in interface XAnnotatedElementequals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||