/** * Test to see if we are including this node into the query. * <p> * Return true if this node is FULLY included resulting in table join. If * the node is not included but its parent has been included then a "bean * proxy" is added and false is returned. * </p> */ private boolean isIncludeBean(String prefix, BeanPropertyAssocOne<?> prop) { if (queryDetail.includes(prefix)) { // explicitly included summary.append(", ").append(prefix); String[] splitNames = SplitName.split(prefix); queryDetail.includeBeanJoin(splitNames[0], splitNames[1]); return true; } return false; }
/** * Test to see if we are including this node into the query. * <p> * Return true if this node is FULLY included resulting in table join. If the * node is not included but its parent has been included then a "bean proxy" * is added and false is returned. * </p> */ private boolean isIncludeBean(String prefix) { if (queryDetail.includesPath(prefix)) { // explicitly included summary.append(", ").append(prefix); String[] splitNames = SplitName.split(prefix); queryDetail.includeBeanJoin(splitNames[0], splitNames[1]); return true; } return false; }
/** * Test to see if we are including this node into the query. * <p> * Return true if this node is FULLY included resulting in table join. If * the node is not included but its parent has been included then a "bean * proxy" is added and false is returned. * </p> */ private boolean isIncludeBean(String prefix, BeanPropertyAssocOne<?> prop) { if (queryDetail.includes(prefix)) { // explicitly included summary.append(", ").append(prefix); String[] splitNames = SplitName.split(prefix); queryDetail.includeBeanJoin(splitNames[0], splitNames[1]); return true; } return false; }