if (durls != null)
{
DiscoveryURL[] darr = durls.getDiscoveryURLArray();
for (int j = 0; darr != null && j < darr.length; j++)
{
DiscoveryURL durl = (DiscoveryURL)darr[j];
ExternalLink link = new ExternalLinkImpl(lcm);
link.setExternalURI(durl.getStringValue());
org.addExternalLink(link);
}
}
org.addExternalIdentifiers(getExternalIdentifiers(entity.getIdentifierBag(), lcm));