| 程序包 | 说明 |
|---|---|
| cn.crane4j.core.parser | |
| cn.crane4j.core.parser.handler | |
| cn.crane4j.core.parser.handler.strategy | |
| cn.crane4j.core.parser.operation | |
| cn.crane4j.core.util |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SimplePropertyMapping
Simple implementation of
PropertyMapping. |
| 限定符和类型 | 方法和说明 |
|---|---|
static PropertyMapping |
SimplePropertyMapping.of(String mapping)
Resolve the property mapping from string.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Set<PropertyMapping> |
SimplePropertyMapping.from(String propertyMappings)
Resolve the property mappings from string.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
OverwriteMappingStrategy.doMapping(Object target,
Object source,
@Nullable Object sourceValue,
PropertyMapping propertyMapping,
Consumer<Object> mapping)
Map
sourceValue to reference fields in target. |
void |
OverwriteNotNullMappingStrategy.doMapping(Object target,
Object source,
@Nullable Object sourceValue,
PropertyMapping propertyMapping,
Consumer<Object> mapping)
Map
sourceValue to reference fields in target. |
void |
PropertyMappingStrategy.doMapping(Object target,
Object source,
@Nullable Object sourceValue,
PropertyMapping propertyMapping,
Consumer<Object> mapping)
Map
sourceValue to reference fields in target. |
void |
ReferenceMappingStrategy.doMapping(Object target,
Object source,
@Nullable Object sourceValue,
PropertyMapping propertyMapping,
Consumer<Object> mapping)
Map
sourceValue to reference fields in target. |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<PropertyMapping> |
AssembleOperation.getPropertyMappings()
Get property mapping.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static PropertyMapping |
ConfigurationUtil.createPropertyMapping(Mapping annotation) |
static PropertyMapping |
ConfigurationUtil.createPropertyMapping(Mapping annotation,
String defaultReference) |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<PropertyMapping> |
ConfigurationUtil.parsePropTemplate(MappingTemplate annotation) |
static List<PropertyMapping> |
ConfigurationUtil.parsePropTemplateClasses(Class<?>[] annotatedTypes,
AnnotationFinder annotationFinder) |
Copyright © 2024. All rights reserved.