private static DiscoveryURLs MapDiscoveryURLs(org.uddi.api_v3.DiscoveryURLs discoveryURLs) {
if (discoveryURLs == null) {
return null;
}
DiscoveryURLs r = new DiscoveryURLs();
for (int i = 0; i < discoveryURLs.getDiscoveryURL().size(); i++) {
DiscoveryURL d = new DiscoveryURL();
d.setUseType(discoveryURLs.getDiscoveryURL().get(i).getUseType());
d.setValue(discoveryURLs.getDiscoveryURL().get(i).getValue());
r.getDiscoveryURL().add(d);
}
return r;
}