Class MediaContainerForMediaAttributePartOfPredicate

  • All Implemented Interfaces:
    java.util.function.BiPredicate<ItemModel,​java.lang.String>

    public class MediaContainerForMediaAttributePartOfPredicate
    extends java.lang.Object
    implements java.util.function.BiPredicate<ItemModel,​java.lang.String>
    Predicate to test if the MEDIAS qualifier of the MediaContainerModel component should be treated as partOf during the deep cloning process.

    When the expression evaluates to TRUE, the qualifier of the component will be treated as partOf and the qualifier's object will be deep copied; otherwise copy by reference.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(ItemModel component, java.lang.String qualifier)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiPredicate

        and, negate, or
    • Constructor Detail

      • MediaContainerForMediaAttributePartOfPredicate

        public MediaContainerForMediaAttributePartOfPredicate()
    • Method Detail

      • test

        public boolean test​(ItemModel component,
                            java.lang.String qualifier)
        Specified by:
        test in interface java.util.function.BiPredicate<ItemModel,​java.lang.String>