@Override
protected EntityAndPendingNotifications<BE, ResourceType>
wireUpNewEntity(BE entity, ResourceType.Blueprint blueprint, CanonicalPath parentPath, BE parent,
Transaction<BE> tx) {
tx.update(entity, ResourceType.Update.builder().build());
ResourceType resourceType = new ResourceType(blueprint.getName(),
parentPath.extend(ResourceType.SEGMENT_TYPE, tx.extractId(entity)).get(), null, null, null,
blueprint.getProperties());
return new EntityAndPendingNotifications<>(entity, resourceType, emptyList());
}