public void deleteTaxByIdIdx(long TaxId) {
   CFAccTaxPKey pkey = ((ICFAccSchema) schema.getBackingStore()).getFactoryTax().newPKey();
   pkey.setRequiredTaxId(TaxId);
   ICFAccTaxObj obj = readTax(pkey);
   if (obj != null) {
     ICFAccTaxEditObj editObj = (ICFAccTaxEditObj) obj.getEdit();
     boolean editStarted;
     if (editObj == null) {
       editObj = (ICFAccTaxEditObj) 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 forgetTaxByIdIdx(long TaxId) {
   if (members == null) {
     return;
   }
   CFAccTaxPKey key = ((ICFAccSchema) schema.getBackingStore()).getFactoryTax().newPKey();
   key.setRequiredTaxId(TaxId);
   if (members.containsKey(key)) {
     ICFAccTaxObj probed = members.get(key);
     if (probed != null) {
       probed.forget(true);
     }
   }
 }
 public ICFAccTaxObj readTax(CFAccTaxPKey pkey, boolean forceRead) {
   ICFAccTaxObj obj = null;
   if ((!forceRead) && members.containsKey(pkey)) {
     obj = members.get(pkey);
   } else {
     CFAccTaxBuff readBuff =
         ((ICFAccSchema) schema.getBackingStore())
             .getTableTax()
             .readDerivedByIdIdx(schema.getAuthorization(), pkey.getRequiredTaxId());
     if (readBuff != null) {
       obj = schema.getTaxTableObj().newInstance();
       obj.setPKey(((ICFAccSchema) schema.getBackingStore()).getFactoryTax().newPKey());
       obj.setBuff(readBuff);
       obj = (ICFAccTaxObj) obj.realize();
     } else if (schema.getCacheMisses()) {
       members.put(pkey, null);
     }
   }
   return (obj);
 }
 public ICFAccTaxObj readTaxByIdIdx(long TaxId, boolean forceRead) {
   CFAccTaxPKey pkey = ((ICFAccSchema) schema.getBackingStore()).getFactoryTax().newPKey();
   pkey.setRequiredTaxId(TaxId);
   ICFAccTaxObj obj = readTax(pkey, forceRead);
   return (obj);
 }
 public void deleteTaxByIdIdx(CFSecurityAuthorization Authorization, CFAccTaxPKey argKey) {
   deleteTaxByIdIdx(Authorization, argKey.getRequiredTaxId());
 }