tuple.setRest(true);
inputDesc.setSType(tuple);
inputDescriptors.add(inputDesc);
List<ProcessingElementOutputDescriptor> outputDescriptors =
new ArrayList<ProcessingElementOutputDescriptor>();
ProcessingElementOutputDescriptor outputDesc = new ProcessingElementOutputDescriptor("in1");
outputDesc.setSType(new PrimitiveSType("mytype"));
outputDescriptors.add(outputDesc);
outputDesc = new ProcessingElementOutputDescriptor("out1");
ListSType list = new ListSType(new ListSType(new PrimitiveSType("Real")));
outputDesc.setSType(list);
outputDescriptors.add(outputDesc);
ProcessingElementDescriptor desc =
new SimpleProcessingElementDescriptor(inputDescriptors, outputDescriptors, null);
Graph graph = new Graph();