return PatchRequest.createFromPatchDocument(patch.getDataMap());
}
public static <T extends RecordTemplate> PatchRequest<T> diffEmpty(T revised)
{
PatchTree patch = PatchCreator.diff(_emptyDataMap, revised.data());
return PatchRequest.createFromPatchDocument(patch.getDataMap());
}