Class ProductCodeExistsPredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<java.lang.String>

    public class ProductCodeExistsPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.String>
    Predicate to test if the product code exists.

    Returns TRUE if the given product code exists; FALSE otherwise.

    • Constructor Detail

      • ProductCodeExistsPredicate

        public ProductCodeExistsPredicate()
    • Method Detail

      • test

        public boolean test​(java.lang.String productCode)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>
      • setProductService

        public void setProductService​(ProductService productService)