code: public void populateTableByDistributionSet(final DistributionSet distributionSet) {
          removeAllItems();
          if (distributionSet == null) {
              return;
          }
  
          final Container dataSource = getContainerDataSource();
          final List<TargetFilterQuery> filters = distributionSet.getAutoAssignFilters();
          filters.forEach(query -> {
              final Object itemId = dataSource.addItem();
              final Item item = dataSource.getItem(itemId);
              item.getItemProperty(TFQ_NAME).setValue(query.getName());
              item.getItemProperty(TFQ_QUERY).setValue(query.getQuery());
          });
  
      }
docs: Populate software module metadata.
  
  @param distributionSet
  the selected distribution set