for (Object result : results) {
String name = attributeNameProp.getValue(result).toString();
Object value = attributeValueProp.getValue(result);
if (attributes.containsKey(name)) {
IdentityObjectAttribute attr = attributes.get(name);
attr.addValue(value);
} else {
attributes.put(name, new SimpleAttribute(name, value));
}
}
}