Class ConverterMappingContext

java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.ConverterMappingContext

public class ConverterMappingContext extends Object
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 Details

    • ConverterMappingContext

      public ConverterMappingContext(boolean allowNull)
  • Method Details

    • get

      public static ConverterMappingContext get()
    • set

      public static void set(ConverterMappingContext context)
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object