first = false;
}
RHQLAdvancedTerm advancedTerm = null;
if (nextTerm instanceof RHQLSimpleTerm) {
RHQLSimpleTerm simpleTerm = (RHQLSimpleTerm) nextTerm;
advancedTerm = new RHQLAdvancedTerm(null, assistant.getPrimarySimpleContext(), null,
RHQLComparisonOperator.EQUALS, simpleTerm.getValue());
} else {
advancedTerm = (RHQLAdvancedTerm) nextTerm;
}
SearchFragment searchFragment = translator.getSearchFragment(alias, advancedTerm);