if (_elementModels == null)
return;
for (Iterator i = _elementModels.iterator(); i.hasNext();)
{
ElementModel em = (ElementModel) i.next();
String key = em.getKeyAttribute();
if (key == null)
continue;
AttributeModel keyAm = em.getAttributeModel(key);
if (keyAm == null)
throw new ApplicationRuntimeException("Key attribute \'" + key + "\' of element \'"
+ em.getElementName() + "\' never declared.", em.getLocation(), null);
}
}