Interface AttributePresetHandler<T>

All Superinterfaces:
BiPredicate<ItemModel,String>, Supplier<T>
All Known Implementing Classes:
ComponentForCatalogVersionAttributePresetHandler, ComponentForParentsAttributePresetHandler, ComponentForUidAttributePresetHandler, MediaContainerForCatalogVersionAttributePresetHandler, MediaContainerForQualifierAttributePresetHandler, MediaForCatalogVersionAttributePresetHandler, MediaForCodeAttributePresetHandler

public interface AttributePresetHandler<T> extends BiPredicate<ItemModel,String>, Supplier<T>
Uses the BiPredicate to determine if a preset value should be used during the deep cloning process or not.

  • If yes, the provided Supplier function returns the preset value to be used for deep cloning.
  • Otherwise, do nothing.
    • Method Summary

      Modifier and Type
      Method
      Description
      default T
      get(Object originalValue)
       

      Methods inherited from interface java.util.function.BiPredicate

      and, negate, or, test

      Methods inherited from interface java.util.function.Supplier

      get
    • Method Details

      • get

        default T get(Object originalValue)