use of uk.gov.gchq.gaffer.rest.example.ExampleDomainObject in project Gaffer by gchq.
the class AbstractExamplesFactory method generateObjects.
public GenerateObjects generateObjects() {
final GenerateObjects<ExampleDomainObject> op = new GenerateObjects<>(new ExampleDomainObjectGenerator());
final List<Element> elements = new ArrayList<>();
if (hasEntities()) {
elements.add(getEntity(1));
elements.add(getEntity(2));
}
if (hasEdges()) {
elements.add(getEdge(1, 2));
}
op.setInput(elements);
populateOperation(op);
return op;
}
Aggregations