}
if (descriptor.getInputs() != null) {
for (ProcessingElementInputDescriptor input: descriptor.getInputs()) {
InputConnection inCon =
ParametersFactory.eINSTANCE.createInputConnection();
inCon.setName(input.getName());
DType dt = input.getDType();
if (dt instanceof SimpleDType) {
SimpleDType sd = (SimpleDType) dt;
DomainTypeReference dtyperef =
ReferencesFactory.eINSTANCE.createDomainTypeReference();
DomainTypeDefinition def = TypesFactory.eINSTANCE.createDomainTypeDefinition();
def.setName(sd.toString().toString());
dtyperef.setTarget(def);
inCon.setDomainType(dtyperef);
}
if (dt != null) {