/* */
/* */ public void cascadeDelete(EntityEnterpriseContext ctx) throws RemoveException
/* */ {
/* 715 */ if (JDBCCMRFieldBridge2.this.manager.registerCascadeDelete(ctx.getId(), ctx.getId()))
/* */ {
/* 717 */ EJBLocalObject value = (EJBLocalObject)getValue(ctx);
/* 718 */ if (value != null)
/* */ {
/* 720 */ changeValue(null);
/* */
/* 722 */ Object relatedId = value.getPrimaryKey();
/* 723 */ JDBCStoreManager2 relatedManager = (JDBCStoreManager2)JDBCCMRFieldBridge2.this.relatedEntity.getManager();
/* */
/* 725 */ if (!relatedManager.isCascadeDeleted(relatedId))
/* */ {
/* 727 */ value.remove();
/* */ }
/* */ }
/* */
/* 731 */ JDBCCMRFieldBridge2.this.manager.unregisterCascadeDelete(ctx.getId());
/* */ }