public abstract class MetadataAccessibleObject
extends java.lang.Object
Constructor and Description |
---|
MetadataAccessibleObject(java.lang.reflect.AnnotatedElement annotatedElement)
INTERNAL:
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement()
INTERNAL:
Return the actual field or method.
|
java.lang.String |
getAttributeName()
INTERNAL:
Set the relation type of this accessible object.
|
java.lang.Class |
getMapKeyClass()
INTERNAL:
This should only be called for accessor's of type Map.
|
java.lang.String |
getName()
INTERNAL:
Set the relation type of this accessible object.
|
java.lang.Class |
getRawClass()
INTERNAL:
Return the raw class for this accessible object.
|
java.lang.Class |
getReferenceClassFromGeneric()
INTERNAL:
Return the reference class from the generic specification on this
accessible object.
|
java.lang.reflect.Type |
getRelationType()
INTERNAL:
Return the relation type of this accessible object.
|
void |
setAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement)
INTERNAL:
Set the annotated element for this accessible object.
|
protected void |
setAttributeName(java.lang.String attributeName)
INTERNAL:
Set the relation type of this accessible object.
|
protected void |
setName(java.lang.String name)
INTERNAL:
Set the relation type of this accessible object.
|
protected void |
setRelationType(java.lang.reflect.Type relationType)
INTERNAL:
Set the relation type of this accessible object.
|
public MetadataAccessibleObject(java.lang.reflect.AnnotatedElement annotatedElement)
public java.lang.reflect.AnnotatedElement getAnnotatedElement()
public java.lang.String getAttributeName()
public java.lang.Class getMapKeyClass()
public java.lang.String getName()
public java.lang.Class getRawClass()
public java.lang.Class getReferenceClassFromGeneric()
public java.lang.reflect.Type getRelationType()
public void setAnnotatedElement(java.lang.reflect.AnnotatedElement annotatedElement)
protected void setAttributeName(java.lang.String attributeName)
protected void setName(java.lang.String name)
protected void setRelationType(java.lang.reflect.Type relationType)