return r;
}
private static BusinessInfos MapBusinessInfos(org.uddi.api_v3.BusinessInfos businessInfos) {
BusinessInfos r = new BusinessInfos();
if (businessInfos == null || businessInfos.getBusinessInfo().isEmpty()) {
return r;
}
for (int i = 0; i < businessInfos.getBusinessInfo().size(); i++) {
BusinessInfo x = new BusinessInfo();
x.setBusinessKey(businessInfos.getBusinessInfo().get(i).getBusinessKey());
x.setServiceInfos(MapServiceInfos(businessInfos.getBusinessInfo().get(i).getServiceInfos()));
x.getDescription().addAll(MapDescription(businessInfos.getBusinessInfo().get(i).getDescription()));
x.getName().addAll(MapName(businessInfos.getBusinessInfo().get(i).getName()));
r.getBusinessInfo().add(x);
}
return r;
}