* @return true if any identifiers were added, false otherwise
*/
private boolean checkForAndAddForeignIdentifiers()
{
boolean identifiersAdded = false;
final EntityAssociationEnd end = this.getForeignIdentifierEnd();
if (end != null && end.getType() instanceof Entity)
{
final Entity foreignEntity = (Entity)end.getOtherEnd().getType();
final Collection identifiers = EntityMetafacadeUtils.getIdentifiers(
foreignEntity,
true);
for (final Iterator iterator = identifiers.iterator(); iterator.hasNext();)
{