X.connectives[0] = new ConnectiveConstraint();
X.connectives[0].setConstraintValueType( ConnectiveConstraint.TYPE_LITERAL );
X.connectives[0].setFieldType( SuggestionCompletionEngine.TYPE_STRING );
X.connectives[0].setOperator( "|| ==" );
X.connectives[0].setValue( "bar" );
comp.addConstraint( X );
final SingleFieldConstraint Y = new SingleFieldConstraint();
Y.setFieldName( "goo2" );
Y.setFieldType( SuggestionCompletionEngine.TYPE_STRING );
Y.setConstraintValueType( SingleFieldConstraint.TYPE_LITERAL );