} else if (type.equals(SelectionCriteria.BEGIN)) {
if ((property instanceof String)
&& (value instanceof String)) {
String p = (String) property;
String s = (String) value;
if (p.startsWith(s)) {
result.add(entity);
}
}
} else if (type.equals(SelectionCriteria.NOT_BEGIN)) {
if ((property instanceof String)