private SelectorBuilderImpl singleValuePredicate(String field, String propertyValue,
      PredicateOperator operator) {
    Predicate predicate = new Predicate();
    predicate.setField(field);
    predicate.setOperator(operator);

    String[] values = new String[1];
    values[0] = propertyValue;
    predicate.setValues(values);

    this.predicates.add(predicate);

    return this;
  }
private SelectorBuilderImpl singleValuePredicate ( String field , String propertyValue , PredicateOperator operator ) { Predicate predicate = new Predicate ( ) ; predicate . setField ( field ) ; predicate . setOperator ( operator ) ; String [ ] values = new String [ 1 ] ; values [ 0 ] = propertyValue ; predicate . setValues ( values ) ; this . predicates . add ( predicate ) ; return this ; }
Adds a predicate for the specified field, property value, and operator.