String str = "";
String type = filterExp.getType();
if("NODE_OP".equalsIgnoreCase( type )) {
for(int i = 0; i < filterExp.getChildNodes().size(); i++) {
ExpressionNode child = (ExpressionNode)filterExp.getChildNodes().get(i);
String childStr = buildUserProvidedWhereClause(child, query, entityAliasesMaps);
if("NODE_OP".equalsIgnoreCase( child.getType() )) {
childStr = "(" + childStr + ")";
}
str += (i==0?"": " " + filterExp.getValue());
str += " " + childStr;
}