Top Methods
org.hibernate.annotations.common.reflection

public Interface XMember

extends XAnnotatedElement
Known Direct Subinterfaces
org.hibernate.annotations.common.reflection.XMethod, org.hibernate.annotations.common.reflection.XProperty
Known Direct Implementers
org.hibernate.annotations.common.reflection.java.JavaXMember
Imports
java.util.Collection

Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public XClass
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()

The collection class for collections, null for others.

public XClass

Returns:

The XClass representing the declaring class of the underlying member
getDeclaringClass
()

Retrieve the XClass reference for the class which declares this member.

public XClass
getElementClass()

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

public XClass
getMapKey()

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

public int
getModifiers()

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

public String
public XClass
getType()

This property's XClass.

public Object
invoke(Object target, Object... parameters)

public Object
invoke(Object target)

Invoke the method with no parameters.

public boolean
public boolean
public boolean
public void
setAccessible(boolean accessible)

Inherited from org.hibernate.annotations.common.reflection.XAnnotatedElement:
equalsgetAnnotationgetAnnotationsisAnnotationPresent

Method Detail

getClassOrElementClassback to summary
public XClass 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()

The collection class for collections, null for others.

getDeclaringClassback to summary
public XClass getDeclaringClass()

Retrieve the XClass reference for the class which declares this member.

Returns:XClass

The XClass representing the declaring class of the underlying member

getElementClassback to summary
public XClass getElementClass()

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

getMapKeyback to summary
public XClass getMapKey()

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

getModifiersback to summary
public int getModifiers()

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

getNameback to summary
public String getName()
getTypeback to summary
public XClass getType()

This property's XClass.

invokeback to summary
public Object invoke(Object target, Object... parameters)
invokeback to summary
public Object invoke(Object target)

Invoke the method with no parameters. Same as invoke(Object, Object...).

isArrayback to summary
public boolean isArray()
isCollectionback to summary
public boolean isCollection()
isTypeResolvedback to summary
public boolean isTypeResolved()
setAccessibleback to summary
public void setAccessible(boolean accessible)