Class CatalogCodeExistsPredicate

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

    public class CatalogCodeExistsPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.String>
    Predicate to check existence of catalog code.

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

    • Constructor Detail

      • CatalogCodeExistsPredicate

        public CatalogCodeExistsPredicate()
    • Method Detail

      • test

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

        public void setCatalogService​(CatalogService catalogService)