public class OverwriteNotNullMappingStrategy extends Object implements PropertyMappingStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
static OverwriteNotNullMappingStrategy |
INSTANCE |
static String |
NAME |
| 构造器和说明 |
|---|
OverwriteNotNullMappingStrategy() |
public static final String NAME
public static final OverwriteNotNullMappingStrategy INSTANCE
public String getName()
getName 在接口中 NamedComponentpublic void doMapping(Object target, Object source, @Nullable Object sourceValue, PropertyMapping propertyMapping, Consumer<Object> mapping)
sourceValue to reference fields in target.doMapping 在接口中 PropertyMappingStrategytarget - target objectsource - source objectsourceValue - source valuepropertyMapping - property mappingmapping - mapping actionCopyright © 2024. All rights reserved.