Top Fields Constructors Methods
org.hibernate.annotations.common.reflection.java

public abstract Class JavaXMember

extends JavaXAnnotatedElement
implements XMember
Class Inheritance
All Implemented Interfaces
org.hibernate.annotations.common.reflection.XMember, org.hibernate.annotations.common.reflection.XAnnotatedElement
Known Direct Subclasses
org.hibernate.annotations.common.reflection.java.JavaXMethod, org.hibernate.annotations.common.reflection.java.JavaXProperty
Imports
java.lang.reflect.AccessibleObject, .AnnotatedElement, .Field, .Member, .Method, .Type, java.util.Collection, org.hibernate.annotations.common.reflection.XClass, .XMember, org.hibernate.annotations.common.reflection.java.generics.TypeEnvironment

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final TypeEnvironment
private final Type
private final JavaXType

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public XClass
getClassOrElementClass()

Implements org.hibernate.annotations.common.reflection.XMember.getClassOrElementClass.

The type of this property's elements for arrays, the type of the property itself for everything else.
public Class<? extends Collection<E>>
getCollectionClass()

Implements org.hibernate.annotations.common.reflection.XMember.getCollectionClass.

The collection class for collections, null for others.
public XClass
getElementClass()

Implements org.hibernate.annotations.common.reflection.XMember.getElementClass.

This property's type for simple properties, the type of its elements for arrays and collections.
protected Type
public XClass
getMapKey()

Implements org.hibernate.annotations.common.reflection.XMember.getMapKey.

The type of this map's key, or null for anything that is not a map.
protected Member
public int
getModifiers()

Implements org.hibernate.annotations.common.reflection.XMember.getModifiers.

Same modifiers as java.lang.Member#getModifiers()
public abstract String
public XClass
protected TypeEnvironment
public boolean
public boolean
public final boolean
public void
protected static Type
Inherited from org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElement:
equalsgetAnnotationgetAnnotationsgetFactoryhashCodeisAnnotationPresenttoAnnotatedElementtoString

Field Detail

envback to summary
private final TypeEnvironment env
typeback to summary
private final Type type
xTypeback to summary
private final JavaXType xType

Constructor Detail

JavaXMemberback to summary
protected JavaXMember(Member member, Type type, TypeEnvironment env, JavaReflectionManager factory, JavaXType xType)

Method Detail

getClassOrElementClassback to summary
public XClass getClassOrElementClass()

Implements org.hibernate.annotations.common.reflection.XMember.getClassOrElementClass.

Doc from org.hibernate.annotations.common.reflection.XMember.getClassOrElementClass.

The type of this property's elements for arrays, the type of the property itself for everything else.

getCollectionClassback to summary
public Class<? extends Collection<E>> getCollectionClass()

Implements org.hibernate.annotations.common.reflection.XMember.getCollectionClass.

Doc from org.hibernate.annotations.common.reflection.XMember.getCollectionClass.

The collection class for collections, null for others.

getElementClassback to summary
public XClass getElementClass()

Implements org.hibernate.annotations.common.reflection.XMember.getElementClass.

Doc from org.hibernate.annotations.common.reflection.XMember.getElementClass.

This property's type for simple properties, the type of its elements for arrays and collections.

getJavaTypeback to summary
protected Type getJavaType()
getMapKeyback to summary
public XClass getMapKey()

Implements org.hibernate.annotations.common.reflection.XMember.getMapKey.

Doc from org.hibernate.annotations.common.reflection.XMember.getMapKey.

The type of this map's key, or null for anything that is not a map.

getMemberback to summary
protected Member getMember()
getModifiersback to summary
public int getModifiers()

Implements org.hibernate.annotations.common.reflection.XMember.getModifiers.

Doc from org.hibernate.annotations.common.reflection.XMember.getModifiers.

Same modifiers as java.lang.Member#getModifiers()

getNameback to summary
public abstract String getName()

Redeclares org.hibernate.annotations.common.reflection.XMember.getName.

getTypeback to summary
public XClass getType()

Implements org.hibernate.annotations.common.reflection.XMember.getType.

Doc from org.hibernate.annotations.common.reflection.XMember.getType.

This property's XClass.

getTypeEnvironmentback to summary
protected TypeEnvironment getTypeEnvironment()
isArrayback to summary
public boolean isArray()

Implements org.hibernate.annotations.common.reflection.XMember.isArray.

isCollectionback to summary
public boolean isCollection()

Implements org.hibernate.annotations.common.reflection.XMember.isCollection.

isTypeResolvedback to summary
public final boolean isTypeResolved()

Implements org.hibernate.annotations.common.reflection.XMember.isTypeResolved.

setAccessibleback to summary
public void setAccessible(boolean accessible)

Implements org.hibernate.annotations.common.reflection.XMember.setAccessible.

typeOfback to summary
protected static Type typeOf(Member member, TypeEnvironment env)