public ListRequest select(SelectTerm... terms) { if (terms == null || terms.length == 0) { queryObject.setSelectClause(null); return this; } List<SelectTerm> lst = new ArrayList<SelectTerm>(); for (int i = 0; i < terms.length; i++) lst.add(terms[i]); return select(lst); }
private ListRequest select(List<SelectTerm> lst) { queryObject.setSelectClause(lst); return this; }