if (property.isMultiple()) {
@SuppressWarnings({"unchecked"})
List<Object> results = (List<Object>) PropertyContainer.unwrapValue(map.get(name));
if (results == null) {
results = new ArrayList<Object>();
map.put(name, indexed ? results : new UnindexedValue(results));
}
results.add(value);
} else {
map.put(name, indexed ? value : new UnindexedValue(value));
}
}