@Override public Updater<Update, Tenant> update() { return new Updater<>((u) -> new Tenant(u.getName(), getPath(), getContentHash(), u.getProperties())); }
@Override protected EntityAndPendingNotifications<BE, Tenant> wireUpNewEntity(BE entity, Tenant.Blueprint blueprint, CanonicalPath parentPath, BE parent, Transaction<BE> tx) { return new EntityAndPendingNotifications<>(entity, new Tenant(blueprint.getName(), CanonicalPath.of() .tenant(tx.extractId(entity)).get(), null, blueprint.getProperties()), emptyList()); }
break; case tenant: e = new Tenant(extractCanonicalPath(v), extractContentHash(v)); break; case structuredData: