if (to.getObjectId().isTemporary()
&& !to.getObjectId().isReplacementIdAttached()) {
// defer UUID resolving till commit
from.writeProperty(property, new UuidPropagatedValueFactory(
referenceableHandler,
to));
}
else {
String uuid = referenceableHandler.getUuid(to);