Class CategoryCodeExistsPredicate

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

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

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

    • Constructor Detail

      • CategoryCodeExistsPredicate

        public CategoryCodeExistsPredicate()
    • Method Detail

      • test

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

        public void setCategoryService​(CategoryService categoryService)