@Repeatable(value=AssembleEnum.List.class) @Documented @Target(value={ANNOTATION_TYPE,FIELD,TYPE,METHOD}) @Retention(value=RUNTIME) public @interface AssembleEnum
cn.crane4j.core.parser.TypeHierarchyBeanOperationParser;,
cn.crane4j.core.parser.handler.AssembleEnumAnnotationHandler;| 限定符和类型 | 可选元素和说明 |
|---|---|
String |
enumKey
Enum key field name.
|
String |
enumValue
Enum value field name.
|
String[] |
groups
The group to which the current operation belongs.
|
String |
handler
The name of the handler to be used.
|
Class<?> |
handlerType
The type of the handler to be used.
|
String |
key
Key field name for query, if it is empty, it defaults to the field annotated by
@TableId. |
Mapping[] |
props
Attributes that need to be mapped
between the data source object and the current object.
|
Class<?>[] |
propTemplates
Mapping template classes.
|
String |
ref
a quick set for reference field name, equivalent to
@Mapping(ref = ""). |
int |
sort
Sort values.
|
boolean |
useContainerEnum
If the
type() is annotated with ContainerEnum,
the configuration defined by that annotation will be used first. |
public abstract String enumKey
public abstract String enumValue
public abstract boolean useContainerEnum
type() is annotated with ContainerEnum,
the configuration defined by that annotation will be used first.public abstract String key
@TableId.public abstract int sort
public abstract String handler
cn.crane4j.core.executor.handler.AssembleOperationHandler;public abstract Class<?> handlerType
cn.crane4j.core.executor.handler.AssembleOperationHandler;public abstract Mapping[] props
propTemplates()public abstract Class<?>[] propTemplates
Mapping template classes.
specify a class, if MappingTemplate exists on the class,
it will scan and add Mapping to props()。
public abstract String[] groups
Copyright © 2023. All rights reserved.