public static final class Factory extends AbstractFactory<TestOperationResult> {
@Override
public TestOperationResult restore(Persistor p) {
OperationId opId = (OperationId) restoreEntityId(p, OP_ID, EntityType.Operation);
TransformationId transId = (TransformationId) restoreEntityId(p, TRANS_ID, EntityType.Transformation);
long timestamp = restoreTimestamp(p);
Outcome outcome = restoreOutcome(p);
String details = restoreDetails(p);
return new TestOperationResult(opId, transId, timestamp, outcome, details);