((XMLType)logical).setElementName(element);
type = ((XMLType)logical).getTypeName();
}
if (param != null) {
ParameterMode mode = getParameterMode(param.mode());
operation.getParameterModes().set(i, mode);
}
ParameterMode mode = operation.getParameterModes().get(i);
if (mode.equals(ParameterMode.INOUT)) {
inputElements.add(new ElementInfo(element, new TypeInfo(type, false, null)));
outputElements.add(new ElementInfo(element, new TypeInfo(type, false, null)));
} else if (mode.equals(ParameterMode.OUT)) {
outputElements.add(new ElementInfo(element, new TypeInfo(type, false, null)));
} else {
inputElements.add(new ElementInfo(element, new TypeInfo(type, false, null)));
}
}