private static List<PublisherAssertion> MapPublisherAssertion(List<org.uddi.api_v3.PublisherAssertion> publisherAssertion) {
List<PublisherAssertion> r = new ArrayList<PublisherAssertion>();
for (int i = 0; i < publisherAssertion.size(); i++) {
PublisherAssertion x = new PublisherAssertion();
x.setFromKey(publisherAssertion.get(i).getFromKey());
x.setToKey(publisherAssertion.get(i).getToKey());
if (publisherAssertion.get(i).getKeyedReference() != null) {
x.setKeyedReference(new KeyedReference(publisherAssertion.get(i).getKeyedReference().getTModelKey(),
publisherAssertion.get(i).getKeyedReference().getKeyName(),
publisherAssertion.get(i).getKeyedReference().getKeyValue()));
}
r.add(x);
}