/** * @since 4.0 */ @Override public void appendAsEJBQL(List<Object> parameterAccumulator, Appendable out, String rootId) throws IOException { if (parent != null) { out.append("("); } if ((children != null) && (children.length > 0)) { appendChildrenAsEJBQL(parameterAccumulator, out, rootId); } if (parent != null) { out.append(')'); } }