public class ReferenceMappingStrategy extends Object implements PropertyMappingStrategy
public static final String NAME
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.