elementClassDef.getName()+" which is used as foreignkey in collection "+
collDef.getName()+" in "+collDef.getOwner().getName());
}
// copy the found fields into the element class
ensureFields(elementClassDef, fkFields.values());
}
/**
* Gathers the pk fields from the hierarchy of the given class, and copies them into the class.
*