public QueryBuilder addParentIds(final Collection<Integer> ids) {
        if (ids != null) {
            parentIds.addAll(ids);
        }
        return this;
    }
public QueryBuilder addParentIds ( final Collection < Integer > ids ) { if ( ids != null ) { parentIds . addAll ( ids ) ; } return this ; }
Add the provided parent IDs to the set of query constraints.
@param ids the parent IDs to add
@return this