public void setRequiredOwnerTenant(ICFSecurityTenantObj value) {
   if (buff == null) {
     getAttachmentDataBuff();
   }
   requiredOwnerTenant = null;
   requiredContainerAttachment = null;
   if (value != null) {
     getPKey().setRequiredTenantId(value.getRequiredId());
     getAttachmentDataBuff().setRequiredTenantId(value.getRequiredId());
   }
   requiredOwnerTenant = value;
 }
  public void setRequiredOwnerCTenant(ICFSecurityTenantObj value) {
    if (buff == null) {
      getSchemaDefBuff();
    }
    requiredContainerParentDomain = null;
    requiredOwnerCTenant = null;
    if (value != null) {
      getPKey().setRequiredTenantId(value.getRequiredId());
      getSchemaDefBuff().setRequiredTenantId(value.getRequiredId());
    }
    requiredOwnerCTenant = value;

    super.setRequiredOwnerTenant(value);
  }
 public Object getValueAt(int row, int column) {
   final String S_ProcName = "getValueAt";
   if ((row < 0) || (column < -1)) {
     return (null);
   }
   if (arrayOfTenant == null) {
     return (null);
   }
   int len = arrayOfTenant.length;
   if (row >= len) {
     return (null);
   }
   ICFSecurityTenantObj obj = arrayOfTenant[row];
   if (obj == null) {
     return (null);
   }
   Object retval;
   switch (column) {
     case COLID_ROW_HEADER:
       retval = obj;
       break;
     case COLID_OBJQUALIFIEDNAME:
       retval = obj.getObjQualifiedName();
       break;
     case COLID_ID:
       retval = new Long(obj.getRequiredId());
       break;
     case COLID_TENANTNAME:
       retval = obj.getRequiredTenantName();
       if (retval == null) {
         retval = "";
       }
       break;
     default:
       retval = null;
       break;
   }
   return (retval);
 }
  public void forgetTenant(ICFSecurityTenantObj Obj, boolean forgetSubObjects) {
    ICFSecurityTenantObj obj = Obj;
    CFSecurityTenantPKey pkey = obj.getPKey();
    if (members.containsKey(pkey)) {
      ICFSecurityTenantObj keepObj = members.get(pkey);
      // Detach object from alternate, duplicate, all and PKey indexes

      if (indexByClusterIdx != null) {
        CFSecurityTenantByClusterIdxKey keyClusterIdx =
            ((ICFSecuritySchema) schema.getBackingStore()).getFactoryTenant().newClusterIdxKey();
        keyClusterIdx.setRequiredClusterId(keepObj.getRequiredClusterId());
        Map<CFSecurityTenantPKey, ICFSecurityTenantObj> mapClusterIdx =
            indexByClusterIdx.get(keyClusterIdx);
        if (mapClusterIdx != null) {
          mapClusterIdx.remove(keepObj.getPKey());
        }
      }

      if (indexByUNameIdx != null) {
        CFSecurityTenantByUNameIdxKey keyUNameIdx =
            ((ICFSecuritySchema) schema.getBackingStore()).getFactoryTenant().newUNameIdxKey();
        keyUNameIdx.setRequiredClusterId(keepObj.getRequiredClusterId());
        keyUNameIdx.setRequiredTenantName(keepObj.getRequiredTenantName());
        indexByUNameIdx.remove(keyUNameIdx);
      }

      if (allTenant != null) {
        allTenant.remove(keepObj.getPKey());
      }
      members.remove(pkey);
      if (forgetSubObjects) {
        ((ICFSecuritySchemaObj) schema)
            .getTSecGroupTableObj()
            .forgetTSecGroupByTenantIdx(keepObj.getRequiredId());
      }
    }
  }