|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.reflection.java.JavaXMember
public abstract class JavaXMember
| Constructor Summary | |
|---|---|
protected |
JavaXMember(Member member,
Type type,
TypeEnvironment env,
JavaXFactory factory,
org.hibernate.reflection.java.JavaXType xType)
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Returns true if the underlying artefact is the same |
|
|
getAnnotation(Class<T> annotationType)
|
|
java.lang.annotation.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. |
|
protected JavaXFactory |
getFactory()
|
|
protected Type |
getJavaType()
|
|
XClass |
getMapKey()
The type of this map's key, or null for anything that is not a map. |
|
protected Member |
getMember()
|
|
int |
getModifiers()
Same modifiers as java.lang.Member#getModifiers() |
|
abstract String |
getName()
|
|
XClass |
getType()
This property's XClass. |
|
protected TypeEnvironment |
getTypeEnvironment()
|
|
int |
hashCode()
|
|
|
isAnnotationPresent(Class<T> annotationType)
|
|
boolean |
isArray()
|
|
boolean |
isCollection()
|
|
boolean |
isTypeResolved()
|
|
void |
setAccessible(boolean accessible)
|
|
String |
toString()
|
|
protected static Type |
typeOf(Member member,
TypeEnvironment env)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.hibernate.reflection.XMember |
|---|
invoke |
| Methods inherited from interface org.hibernate.reflection.XAnnotatedElement |
|---|
equals, getAnnotation, getAnnotations, isAnnotationPresent |
| Constructor Detail |
|---|
protected JavaXMember(Member member,
Type type,
TypeEnvironment env,
JavaXFactory factory,
org.hibernate.reflection.java.JavaXType xType)
| Method Detail |
|---|
protected static Type typeOf(Member member,
TypeEnvironment env)
public XClass getType()
XMember
getType in interface XMemberpublic abstract String getName()
getName in interface XMemberprotected Type getJavaType()
protected TypeEnvironment getTypeEnvironment()
protected Member getMember()
public 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 XMemberprotected JavaXFactory getFactory()
public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation in interface XAnnotatedElementpublic <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent in interface XAnnotatedElementpublic java.lang.annotation.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 | |||||||||