boolean foundReference = false;
for (Iterator<?> iter = property.getValues(); iter.hasNext();) {
Object value = iter.next();
PropertyType type = PropertyType.discoverType(value);
if (type == PropertyType.REFERENCE) {
UUID oldReferencedUuid = uuidFactory.create(value);
UUID newReferencedUuid = oldToNewUuids.get(oldReferencedUuid);
if (newReferencedUuid != null) {
newValues.add(referenceFactory.create(newReferencedUuid));
foundReference = true;
}