}
final UUID oldUuid = uuid;
final OSBTreeCollectionManager sbTreeCollectionManager = ODatabaseRecordThreadLocal.INSTANCE.get().getSbTreeCollectionManager();
if (sbTreeCollectionManager != null)
uuid = sbTreeCollectionManager.listenForChanges(this);
else
uuid = null;
boolean hasUuid = uuid != null;