}
}
} else if (type.equals(SelectionCriteria.GREATER_THAN)) {
if (property instanceof Comparable) {
Comparable p = (Comparable) property;
if (p.compareTo(value) > 0) {
result.add(entity);
}
}
} else if (type.equals(SelectionCriteria.GREATER_EQUAL)) {
if (property instanceof Comparable) {