Class ContainsStringQuery

  • All Implemented Interfaces:
    DocumentQuery

    public class ContainsStringQuery
    extends java.lang.Object
    implements DocumentQuery
    Implementation of DocumentQuery
    Version:
    $Id: $Id
    Author:
    another
    • Constructor Summary

      Constructors 
      Constructor Description
      ContainsStringQuery​(java.lang.String aCriteria)
      ContainsStringQuery constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<QueryResultEntry> match​(DataObject obj)
      Returns a list of possible results for an object.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ANY_STRING_EXPRESSION

        public static final java.lang.String ANY_STRING_EXPRESSION
        Any string constant
        See Also:
        Constant Field Values
      • ANY_STRING_REG_EXPRESSION

        public static final java.lang.String ANY_STRING_REG_EXPRESSION
        Any string regular expression for replace()
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContainsStringQuery

        public ContainsStringQuery​(java.lang.String aCriteria)
        ContainsStringQuery constructor.
        Parameters:
        aCriteria - is expression, that supports chars.
    • Method Detail

      • match

        public java.util.List<QueryResultEntry> match​(DataObject obj)
        Returns a list of possible results for an object. Match method with simple expressions processing support.
        Specified by:
        match in interface DocumentQuery
        Parameters:
        obj - a DataObject object.
        Returns:
        a List object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object