public ICFSecurityISOCountryCurrencyObj realizeISOCountryCurrency(
      ICFSecurityISOCountryCurrencyObj Obj) {
    ICFSecurityISOCountryCurrencyObj obj = Obj;
    CFSecurityISOCountryCurrencyPKey pkey = obj.getPKey();
    ICFSecurityISOCountryCurrencyObj keepObj = null;
    if (members.containsKey(pkey) && (null != members.get(pkey))) {
      ICFSecurityISOCountryCurrencyObj existingObj = members.get(pkey);
      keepObj = existingObj;

      /*
       *	We always rebind the data because if we're being called, some index has
       *	been updated and is refreshing it's data, which may or may not have changed
       */

      // Detach object from alternate and duplicate indexes, leave PKey alone

      if (indexByCountryIdx != null) {
        CFSecurityISOCountryCurrencyByCountryIdxKey keyCountryIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCountryIdxKey();
        keyCountryIdx.setRequiredISOCountryId(keepObj.getRequiredISOCountryId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCountryIdx =
            indexByCountryIdx.get(keyCountryIdx);
        if (mapCountryIdx != null) {
          mapCountryIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByCurrencyIdx != null) {
        CFSecurityISOCountryCurrencyByCurrencyIdxKey keyCurrencyIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCurrencyIdxKey();
        keyCurrencyIdx.setRequiredISOCurrencyId(keepObj.getRequiredISOCurrencyId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCurrencyIdx =
            indexByCurrencyIdx.get(keyCurrencyIdx);
        if (mapCurrencyIdx != null) {
          mapCurrencyIdx.remove(keepObj.getPKey());
        }
      }

      keepObj.setBuff(Obj.getBuff());
      // Attach new object to alternate and duplicate indexes -- PKey stay stable

      if (indexByCountryIdx != null) {
        CFSecurityISOCountryCurrencyByCountryIdxKey keyCountryIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCountryIdxKey();
        keyCountryIdx.setRequiredISOCountryId(keepObj.getRequiredISOCountryId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCountryIdx =
            indexByCountryIdx.get(keyCountryIdx);
        if (mapCountryIdx != null) {
          mapCountryIdx.put(keepObj.getPKey(), keepObj);
        }
      }

      if (indexByCurrencyIdx != null) {
        CFSecurityISOCountryCurrencyByCurrencyIdxKey keyCurrencyIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCurrencyIdxKey();
        keyCurrencyIdx.setRequiredISOCurrencyId(keepObj.getRequiredISOCurrencyId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCurrencyIdx =
            indexByCurrencyIdx.get(keyCurrencyIdx);
        if (mapCurrencyIdx != null) {
          mapCurrencyIdx.put(keepObj.getPKey(), keepObj);
        }
      }
      if (allISOCountryCurrency != null) {
        allISOCountryCurrency.put(keepObj.getPKey(), keepObj);
      }
    } else {
      keepObj = obj;
      keepObj.setIsNew(false);
      // Attach new object to PKey, all, alternate, and duplicate indexes
      members.put(keepObj.getPKey(), keepObj);
      if (allISOCountryCurrency != null) {
        allISOCountryCurrency.put(keepObj.getPKey(), keepObj);
      }

      if (indexByCountryIdx != null) {
        CFSecurityISOCountryCurrencyByCountryIdxKey keyCountryIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCountryIdxKey();
        keyCountryIdx.setRequiredISOCountryId(keepObj.getRequiredISOCountryId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCountryIdx =
            indexByCountryIdx.get(keyCountryIdx);
        if (mapCountryIdx != null) {
          mapCountryIdx.put(keepObj.getPKey(), keepObj);
        }
      }

      if (indexByCurrencyIdx != null) {
        CFSecurityISOCountryCurrencyByCurrencyIdxKey keyCurrencyIdx =
            ((ICFInternetSchema) schema.getBackingStore())
                .getFactoryISOCountryCurrency()
                .newCurrencyIdxKey();
        keyCurrencyIdx.setRequiredISOCurrencyId(keepObj.getRequiredISOCurrencyId());
        Map<CFSecurityISOCountryCurrencyPKey, ICFSecurityISOCountryCurrencyObj> mapCurrencyIdx =
            indexByCurrencyIdx.get(keyCurrencyIdx);
        if (mapCurrencyIdx != null) {
          mapCurrencyIdx.put(keepObj.getPKey(), keepObj);
        }
      }
    }
    return (keepObj);
  }