}
return results;
}
else if(criteria instanceof OrCriteria){
Set<Object> results = new HashSet<Object>();
OrCriteria orCriteria = (OrCriteria)criteria;
for (Criteria innerCriteria : orCriteria.getCriterias()) {
List<Object> result = execute(innerCriteria);
results.addAll(result);
}
return new ArrayList<Object>(results);
}