String stype = resultset.getString(2);
if (stype != null) {
stype = stype.substring(stype.indexOf('#') + 1, stype
.length());
}
Parameter inputDesc = new SimpleRDFParameter(stype.substring(
stype.indexOf('#') + 1, stype.length()));
inputs.put(val, inputDesc);
}
resultset = results.get(1);
while (resultset.next()) {
String val = resultset.getString(1);
String stype = resultset.getString(2);
if (stype != null) {
stype = stype.substring(stype.indexOf('#') + 1, stype
.length());
}
String dtype = resultset.getString(3);
if (dtype != null) {
dtype = dtype.substring(dtype.indexOf('#') + 1, dtype
.length());
}
ProcessingElementOutputDescriptor outputDesc = new ProcessingElementOutputDescriptor(
val.substring(val.indexOf('#') + 1, val.length()));
outputDesc.setSType(new PrimitiveSType(stype));
outputDesc.setDType(new SimpleDType(dtype));
output = new SimpleRDFParameter(outputDesc);
String location = resultset.getString(4);
if (location != null) {
functionLocation = new URI(location);
}
}