Class QueryModel.Contains

All Implemented Interfaces:
QueryModel.Criterion
Enclosing interface:
QueryModel

public static class QueryModel.Contains extends QueryModel.PropertyCriterion
Criterion used to restrict the results based on a result containing the given value.
  • Constructor Details

    • Contains

      public Contains(String name, Object expression)
      Default constructor.
      Parameters:
      name - The property name
      expression - The parameter