public interface AutoOperateAnnotatedElement
An object that holds the AutoOperate annotation and the annotated element,
used complete the operation of data from the annotated element
for BeanOperations by BeanOperationExecutor.
AutoOperateAnnotatedElementResolver,
AutoOperate| 限定符和类型 | 字段和说明 |
|---|---|
static AutoOperateAnnotatedElement |
EMPTY |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(Object data)
Execute the operation of data from the annotated element.
|
AutoOperate |
getAnnotation()
get the
AutoOperate annotation. |
@Nullable BeanOperations |
getBeanOperations()
Get the
BeanOperations for the annotated element. |
AnnotatedElement |
getElement()
Get the annotated element.
|
static final AutoOperateAnnotatedElement EMPTY
AutoOperate getAnnotation()
AutoOperate annotation.AnnotatedElement getElement()
@Nullable BeanOperations getBeanOperations()
Get the BeanOperations for the annotated element.
If the resolver cannot determine the BeanOperations for the annotated element exactly,
it can return null, in this case, the BeanOperations will be resolved in the runtime.
void execute(Object data)
data - dataCopyright © 2024. All rights reserved.