Class ConverterMappingContext
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.ConverterMappingContext
Provide hints to interested system components regarding mapping related behavior and
configuration. Primarily used in
MappingUtils.map(Supplier, Consumer, Supplier[]) and
MappingUtils.map(Supplier, Consumer, Function, Supplier[]).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic voidclear()booleanstatic ConverterMappingContextget()inthashCode()booleanHints whether null values should be allowed to map to the destination during the mapping process.static voidset(ConverterMappingContext context) toString()
-
Constructor Details
-
ConverterMappingContext
public ConverterMappingContext(boolean allowNull)
-
-
Method Details
-
get
-
set
-
clear
public static void clear() -
isAllowNull
public boolean isAllowNull()Hints whether null values should be allowed to map to the destination during the mapping process. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-