use of org.talend.designer.webservice.ws.wsdlinfo.ParameterInfo in project tdi-studio-se by Talend.
the class ParameterInfoUtil method getAllMostParameterInfo.
public List<ParameterInfo> getAllMostParameterInfo(ParameterInfo para, String mark, Object obj) {
ParameterInfo parentPara = para.getParent();
ParameterInfo paraToCom = null;
if (mark.equals("IN")) {
paraToCom = ((InputMappingData) obj).getParameter();
} else if (mark.equals("OUT")) {
paraToCom = (ParameterInfo) obj;
}
List<ParameterInfo> list = new ArrayList<ParameterInfo>();
if (parentPara != paraToCom) {
list.add(para);
List<ParameterInfo> pali = getAllMostParameterInfo(parentPara, mark, obj);
list.addAll(pali);
} else {
list.add(para);
}
return list;
}
Aggregations