<p>
A "Key": "Value" tag combination for the compliance item.
</p>

@param details
A "Key": "Value" tag combination for the compliance item.
@return Returns a reference to this object so that method calls can be chained together.
517994
public ComplianceItem withDetails(java.util.Map<String, String> details) {
        setDetails(details);
        return this;
    }
256955
public void setConstraintDetails(java.util.Collection<ConstraintDetail> constraintDetails) {
        if (constraintDetails == null) {
            this.constraintDetails = null;
            return;
        }

        this.constraintDetails = new java.util.ArrayList<ConstraintDetail>(constraintDetails);
    }
759634
public Object getDetail(String name) {
        return name == null ? null : details.get(name);
    }
5603
private void fillDetailResourceTypes(CmsListItem item, String detailId) {

        CmsSearchManager searchManager = OpenCms.getSearchManager();
        StringBuffer html = new StringBuffer();

        String doctypeName = (String)item.get(LIST_COLUMN_NAME);
        CmsSearchDocumentType docType = searchManager.getDocumentTypeConfig(doctypeName);

        // output of resource types
        Iterator<String> itResourcetypes = docType.getResourceTypes().iterator();
        html.append("<ul>\n");
        while (itResourcetypes.hasNext()) {
            html.append("  <li>\n").append("  ").append(itResourcetypes.next()).append("\n");
            html.append("  </li>");
        }

        html.append("</ul>\n");
        item.set(detailId, html.toString());
    }
1065802
public ChannelSummary withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
439867
@Override
    public Map<String, Object> detail() {
        final Map<String, Object> detail = super.detail();
        detail.put("title", title);
        detail.put("url", url);
        detail.put("description", description);
        return detail;
    }
454829
@Override
    protected String getDetail(String data) {
        data = piece(data, U);
        return data.isEmpty() ? null
                : fromList(getBroker().callRPCList(detailRPC, null, patient.getIdElement().getIdPart(), data, data));
    }
325656
public JobExecutionStatusDetails withDetailsMap(java.util.Map<String, String> detailsMap) {
        setDetailsMap(detailsMap);
        return this;
    }
941973
private void fillDetailField(CmsListItem item, String detailId) {

        StringBuffer html = new StringBuffer();
        // search for the corresponding A_CmsSearchIndex:
        String idxFieldName = (String)item.get(LIST_COLUMN_NAME);

        List<CmsSearchField> fields = OpenCms.getSearchManager().getFieldConfiguration(
            m_paramFieldconfiguration).getFields();
        Iterator<CmsSearchField> itFields = fields.iterator();
        CmsLuceneField idxField = null;
        while (itFields.hasNext()) {
            CmsLuceneField curField = (CmsLuceneField)itFields.next();
            if (curField.getName().equals(idxFieldName)) {
                idxField = curField;
            }
        }

        if (idxField != null) {
            html.append("<ul>\n");
            Iterator<I_CmsSearchFieldMapping> itMappings = idxField.getMappings().iterator();
            while (itMappings.hasNext()) {
                CmsSearchFieldMapping mapping = (CmsSearchFieldMapping)itMappings.next();
                html.append("  <li>\n").append("    ");
                html.append(mapping.getType().toString());
                if (CmsStringUtil.isNotEmpty(mapping.getParam())) {
                    html.append("=").append(mapping.getParam()).append("\n");
                }
                html.append("  </li>");
            }
            html.append("</ul>\n");
        }
        item.set(detailId, html.toString());
    }
1100020
public void addPathDetails(Map<String, List<PathDetail>> details) {
        if (!this.pathDetails.isEmpty() && !details.isEmpty() && this.pathDetails.size() != details.size()) {
            throw new IllegalStateException("Details have to be the same size");
        }
        for (Map.Entry<String, List<PathDetail>> detailEntry : details.entrySet()) {
            if (this.pathDetails.containsKey(detailEntry.getKey())) {
                List<PathDetail> pd = this.pathDetails.get(detailEntry.getKey());
                merge(pd, detailEntry.getValue());
            } else {
                this.pathDetails.put(detailEntry.getKey(), detailEntry.getValue());
            }
        }
    }
120137
public com.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadataOrBuilder
      getTextEntityExtractionDetailsOrBuilder() {
    if (detailsCase_ == 13) {
      return (com.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata)
          details_;
    }
    return com.google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata
        .getDefaultInstance();
  }
139729
public ServiceActionDetail withDefinition(java.util.Map<String, String> definition) {
        setDefinition(definition);
        return this;
    }
773810
public static String stringify(final ResponseStatus status, final ResponseStatusDetails details) {
        String result = status.toString();
        if (details != null) {
            result = result + " (Context: " + details.context() + ", Reference: " + details.reference() + ")";
        }
        return result;
    }
349400
public ESigItemIssue addIssue(ESigItemIssueSeverity severity, String description) {
        ESigItemIssue issue = new ESigItemIssue(severity, description);
        
        if (issues == null) {
            issues = new ArrayList<ESigItemIssue>();
            sortIssues = false;
        } else {
            int i = issues.indexOf(issue);
            
            if (i >= 0) {
                return issues.get(i);
            }
            
            sortIssues = true;
        }
        
        issues.add(issue);
        return issue;
    }
1312690
public static Map<IssueCategoryModel, List<ProblemSummary>> getProblemSummaries(GraphContext graphContext, Set<ProjectModel> projectModels, Set<String> includeTags,
                                                                                    Set<String> excludeTags,
                                                                                    boolean strictComparison,
                                                                                    boolean strictExclude)
    {
        // The key is the severity as a String
        Map<IssueCategoryModel, List<ProblemSummary>> results = new TreeMap<>(new IssueCategoryModel.IssueSummaryPriorityComparator());
        Map<RuleSummaryKey, ProblemSummary> ruleToSummary = new HashMap<>();

        InlineHintService hintService = new InlineHintService(graphContext);
        final Iterable<InlineHintModel> hints = projectModels == null ? hintService.findAll() : hintService.getHintsForProjects(new ArrayList<>(projectModels));
        for (InlineHintModel hint : hints)
        {
            if (hint.getIssueDisplayMode() == IssueDisplayMode.DETAIL_ONLY)
                continue;

            Set<String> tags = hint.getTags();

            boolean hasTagMatch;

            if (strictComparison)
            {
                hasTagMatch = TagUtil.strictCheckMatchingTags(tags, includeTags, excludeTags);
            }
            else
            {
                hasTagMatch = TagUtil.checkMatchingTags(tags, includeTags, excludeTags, strictExclude);
            }

            if (!hasTagMatch)
            {
                continue;
            }

            RuleSummaryKey key = new RuleSummaryKey(hint.getEffort(), hint.getRuleID(), hint.getTitle());

            ProblemSummary summary = ruleToSummary.get(key);
            if (summary == null)
            {
                summary = new ProblemSummary(UUID.randomUUID().toString(), hint.getIssueCategory(), hint.getRuleID(), hint.getTitle(), 1, hint.getEffort());
                for (LinkModel link : hint.getLinks())
                {
                    summary.addLink(link.getDescription(), link.getLink());
                }
                ruleToSummary.put(key, summary);
                addToResults(results, summary);
            }
            else
            {
                summary.setNumberFound(summary.getNumberFound() + 1);
            }
            summary.addFile(hint.getHint(), hint.getFile());
        }

        ClassificationService classificationService = new ClassificationService(graphContext);
        for (ClassificationModel classification : classificationService.findAll())
        {
            if (classification.getIssueDisplayMode() == IssueDisplayMode.DETAIL_ONLY)
                continue;

            Set<String> tags = classification.getTags();
            if (!TagUtil.checkMatchingTags(tags, includeTags, excludeTags, false))
                continue;

            List<FileModel> newFileModels = new ArrayList<>();
            for (FileModel file : classification.getFileModels())
            {
                if (projectModels != null)
                {
                    // make sure this one is in the project
                    if (!projectModels.contains(file.getProjectModel()))
                        continue;
                }
                newFileModels.add(file);
            }

            if (newFileModels.isEmpty())
                continue;

            RuleSummaryKey key = new RuleSummaryKey(classification.getEffort(), classification.getRuleID(), classification.getClassification());
            ProblemSummary summary = ruleToSummary.get(key);
            if (summary == null)
            {
                summary = new ProblemSummary(UUID.randomUUID().toString(), classification.getIssueCategory(), classification.getRuleID(),
                            classification.getClassification(),
                            0, classification.getEffort());
                for (LinkModel link : classification.getLinks())
                {
                    summary.addLink(link.getDescription(), link.getLink());
                }
                ruleToSummary.put(key, summary);
                addToResults(results, summary);
            }

            for (FileModel file : newFileModels)
                summary.addFile(classification.getDescription(), file);

            summary.setNumberFound(summary.getNumberFound() + newFileModels.size());
        }

        return results;
    }
86086
public ActivityCodeValue addValue(Integer uniqueID, String name, String description)
   {
      ActivityCodeValue value = new ActivityCodeValue(this, uniqueID, name, description);
      m_values.add(value);
      return value;
   }
16777
public void setDetails(com.google.api.ads.adwords.axis.v201809.cm.TargetingSettingDetail[] details) {
        this.details = details;
    }