@Override public Updater<Update, OperationType> update() { return new Updater<>((u) -> new OperationType(u.getName(), getPath(), getIdentityHash(), getContentHash(), getSyncHash(), u.getProperties())); }
@Override protected EntityAndPendingNotifications<BE, OperationType> wireUpNewEntity(BE entity, OperationType.Blueprint blueprint, CanonicalPath parentPath, BE parent, Transaction<BE> tx) { return new EntityAndPendingNotifications<>(entity, new OperationType(blueprint.getName(), parentPath.extend(OperationType.SEGMENT_TYPE, tx.extractId(entity)).get(), null, null, null, blueprint.getProperties()), emptyList()); }
default OperationTypes.Single inspect(OperationType operationType) throws EntityNotFoundException { return inspect(operationType.getPath(), OperationTypes.Single.class); }
break; case operationType: e = new OperationType(extractCanonicalPath(v), extractIdentityHash(v), extractContentHash(v), extractSyncHash(v)); break;