public static Results fromIdList(List<UUID> l, String type) { if (type == null) { return fromIdList(l); } List<EntityRef> refs = new ArrayList<EntityRef>(); for (UUID u : l) { refs.add(ref(type, u)); } Results r = new Results(); r.setRefs(refs); return r; }
public Results withRefs(List<EntityRef> resultsRefs) { setRefs(resultsRefs); return this; }
public static Results fromRefList(List<EntityRef> l) { Results r = new Results(); r.setRefs(l); return r; }