@Repeatable(value=AssembleKey.List.class) @Documented @Target(value={ANNOTATION_TYPE,FIELD,TYPE,METHOD}) @Retention(value=RUNTIME) public @interface AssembleKey
cn.crane4j.core.parser.TypeHierarchyBeanOperationParser;,
cn.crane4j.core.parser.handler.AssembleKeyAnnotationHandler;| 限定符和类型 | 字段和说明 |
|---|---|
static String |
IDENTITY_HANDLER_MAPPER
A name of value mapper which does nothing for the key value.
|
| 限定符和类型 | 可选元素和说明 |
|---|---|
String[] |
groups
The group to which the current operation belongs.
|
String |
id
Operation id.
|
String |
key
key field name.
|
String |
mapper
The process strategy of the key value.
|
String |
propertyMappingStrategy
Get the name of property mapping strategy.
|
Mapping[] |
props
Attributes that need to be mapped
between the data source object and the current object.
|
Class<?>[] |
propTemplates
Mapping template classes.
|
String |
ref
The name of property which to reference the handled key value.
|
int |
sort
Sort values.
|
public static final String IDENTITY_HANDLER_MAPPER
public abstract String mapper
public abstract String ref
The name of property which to reference the handled key value.
if annotated on a field and the value is empty, the name of the annotated attribute will be used.
public abstract String id
public abstract String key
key field name.
This field value will be used to obtain the associated
data source object from the data source container later.
When the annotation is on:
public abstract int sort
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
public abstract String propertyMappingStrategy
cn.crane4j.core.parser.handler.strategy.PropertyMappingStrategyCopyright © 2024. All rights reserved.