/* 505 */ JDBCFieldBridge[] pkFields = this.relatedEntity.getPrimaryKeyFields();
/* 506 */ List fkList = new ArrayList(pkFields.length);
/* 507 */ List relatedPKList = new ArrayList(pkFields.length);
/* 508 */ for (int i = 0; i < pkFields.length; i++)
/* */ {
/* 510 */ JDBCFieldBridge relatedPKField = pkFields[i];
/* 511 */ JDBCFieldBridge fkField = (JDBCCMPFieldBridge2)fkFieldsByRelatedPKFields.remove(relatedPKField);
/* 512 */ fkList.add(fkField);
/* 513 */ relatedPKList.add(relatedPKField);
/* */ }
/* 515 */ this.foreignKeyFields = ((JDBCCMPFieldBridge2[])(JDBCCMPFieldBridge2[])fkList.toArray(new JDBCCMPFieldBridge2[fkList.size()]));
/* 516 */ this.relatedPKFields = ((JDBCCMPFieldBridge2[])(JDBCCMPFieldBridge2[])relatedPKList.toArray(new JDBCCMPFieldBridge2[relatedPKList.size()]));