org.hibernate.annotations.common.reflection
public interface XMember extends XAnnotatedElement
Modifier and Type | Method and Description |
---|---|
XClass |
getClassOrElementClass()
The type of this property's elements for arrays, the type of the property itself for everything else.
|
java.lang.Class<? extends java.util.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()
|
java.lang.String |
getName() |
XClass |
getType()
This property's XClass.
|
java.lang.Object |
invoke(java.lang.Object target,
java.lang.Object... parameters) |
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isTypeResolved() |
void |
setAccessible(boolean accessible) |
equals, getAnnotation, getAnnotations, isAnnotationPresent
java.lang.String getName()
boolean isCollection()
boolean isArray()
java.lang.Class<? extends java.util.Collection> getCollectionClass()
XClass getType()
XClass getElementClass()
XClass getClassOrElementClass()
XClass getMapKey()
int getModifiers()
void setAccessible(boolean accessible)
java.lang.Object invoke(java.lang.Object target, java.lang.Object... parameters)
boolean isTypeResolved()