public void deleteISOCountryByIdIdx(short Id) {
   CFSecurityISOCountryPKey pkey =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountry().newPKey();
   pkey.setRequiredId(Id);
   ICFSecurityISOCountryObj obj = readISOCountry(pkey);
   if (obj != null) {
     ICFSecurityISOCountryEditObj editObj = (ICFSecurityISOCountryEditObj) obj.getEdit();
     boolean editStarted;
     if (editObj == null) {
       editObj = (ICFSecurityISOCountryEditObj) obj.beginEdit();
       if (editObj != null) {
         editStarted = true;
       } else {
         editStarted = false;
       }
     } else {
       editStarted = false;
     }
     if (editObj != null) {
       editObj.delete();
       if (editStarted) {
         editObj.endEdit();
       }
     }
     obj.forget(true);
   }
 }
 public void deleteISOCountry(ICFSecurityISOCountryObj Obj) {
   ICFSecurityISOCountryObj obj = Obj;
   ((ICFInternetSchema) schema.getBackingStore())
       .getTableISOCountry()
       .deleteISOCountry(schema.getAuthorization(), obj.getISOCountryBuff());
   obj.forget(true);
 }
 public void forgetISOCountryByIdIdx(short Id) {
   if (members == null) {
     return;
   }
   CFSecurityISOCountryPKey key =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountry().newPKey();
   key.setRequiredId(Id);
   if (members.containsKey(key)) {
     ICFSecurityISOCountryObj probed = members.get(key);
     if (probed != null) {
       probed.forget(true);
     }
   }
 }
  public void forgetISOCountryByNameIdx(String Name) {
    if (indexByNameIdx == null) {
      return;
    }
    CFSecurityISOCountryByNameIdxKey key =
        ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountry().newNameIdxKey();
    key.setRequiredName(Name);
    if (indexByNameIdx.containsKey(key)) {
      ICFSecurityISOCountryObj probed = indexByNameIdx.get(key);
      if (probed != null) {
        probed.forget(true);
      }

      indexByNameIdx.remove(key);
    }
  }
 public void minimizeMemory() {
   allISOCountry = null;
   indexByISOCodeIdx = null;
   indexByNameIdx = null;
   List<ICFSecurityISOCountryObj> toForget = new LinkedList<ICFSecurityISOCountryObj>();
   ICFSecurityISOCountryObj cur = null;
   Iterator<ICFSecurityISOCountryObj> iter = members.values().iterator();
   while (iter.hasNext()) {
     cur = iter.next();
     if (cur.getEdit() == null) {
       toForget.add(cur);
     }
   }
   iter = toForget.iterator();
   while (iter.hasNext()) {
     cur = iter.next();
     cur.forget();
   }
 }
 public void deleteISOCountryByNameIdx(String Name) {
   if (indexByNameIdx == null) {
     indexByNameIdx = new HashMap<CFSecurityISOCountryByNameIdxKey, ICFSecurityISOCountryObj>();
   }
   CFSecurityISOCountryByNameIdxKey key =
       ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountry().newNameIdxKey();
   key.setRequiredName(Name);
   ICFSecurityISOCountryObj obj = null;
   if (indexByNameIdx.containsKey(key)) {
     obj = indexByNameIdx.get(key);
     ((ICFInternetSchema) schema.getBackingStore())
         .getTableISOCountry()
         .deleteISOCountryByNameIdx(schema.getAuthorization(), Name);
     obj.forget(true);
   } else {
     ((ICFInternetSchema) schema.getBackingStore())
         .getTableISOCountry()
         .deleteISOCountryByNameIdx(schema.getAuthorization(), Name);
   }
 }