rec2.setShortName("zwo");
rec2.getData().setData(byteStream.getBytes());
q.getSampleRecordsDefinition().addRecord(rec2);
Alternative alt1 = Alternative.createAlternative();
alt1.setName("PDF/A ToolA");
alt1.setDescription("Convert to PDF/A using this new tool named 'A'");
q.getAlternativesDefinition().addAlternative(alt1);
Alternative alt2 = Alternative.createAlternative();
alt2.setName("PDF/A ToolB");
alt2.setDescription("Convert to PDF/A using the well-tested tool 'B'");
q.getAlternativesDefinition().addAlternative(alt2);
Decision d2 = new Decision();
d2.setDecision(GoDecision.GO);
d2.setActionNeeded("also no actions needed");