Class Like

  • All Implemented Interfaces:
    Filter, PropertyFilter

    public class Like
    extends AbstractFilter
    implements PropertyFilter
    A filter for checking if a string value contains a certain pattern. Use percent signs ("%") to denote wildcards
    Author:
    bas.rutten
    • Constructor Detail

      • Like

        public Like​(String propertyId,
                    String value)
        Constructor
        Parameters:
        propertyId -
        value -
      • Like

        public Like​(String propertyId,
                    String value,
                    boolean caseSensitive)
        Construct a new Like with given case sensitivity
        Parameters:
        propertyId - The property name
        value - The value to match, may contain '%' to denote pre- and postfix matches.
        caseSensitive - When true, do a case sensitive match.