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