Class AssignableObjectValueTypeConverter
- java.lang.Object
-
- com.broadleafcommerce.common.extension.mapping.AssignableObjectValueTypeConverter
-
- All Implemented Interfaces:
org.modelmapper.Converter<Object,Object>,org.modelmapper.spi.ConditionalConverter<Object,Object>
public class AssignableObjectValueTypeConverter extends Object implements org.modelmapper.spi.ConditionalConverter<Object,Object>
Converts destination objects that are assignable from the source objects. This converter is required if the deep copy is enabled for theModelMapperand the mapped object has the fields with theObjecttype.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
ModelMapperConfigurationHelper.createDeepCopyCapable()
-
-
Constructor Summary
Constructors Constructor Description AssignableObjectValueTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconvert(org.modelmapper.spi.MappingContext<Object,Object> context)org.modelmapper.spi.ConditionalConverter.MatchResultmatch(Class<?> sourceType, Class<?> destinationType)
-