Class TreatmentBucketsConfig.Bucket

java.lang.Object
ubic.gemma.core.analysis.report.TreatmentBucketsConfig.Bucket
Enclosing class:
TreatmentBucketsConfig

public static class TreatmentBucketsConfig.Bucket extends Object
  • Constructor Details

    • Bucket

      public Bucket()
  • Method Details

    • getKey

      public String getKey()
      Stable lowercase-snake-case identifier the frontend matches in code.
    • getLabel

      public String getLabel()
      Visitor-facing label (canonical phrasing).
    • getGroup

      public String getGroup()
      Coarse UI grouping. Lets the frontend cluster bars (and dim or visually separate the "control-like" buckets — control + vehicle — which are accurate annotations but not pharmacology of interest). Free string, recommended values: control, pharmacology, biological, unclassified. Null = ungrouped.
    • getParentSubtreeUris

      public List<String> getParentSubtreeUris()
      Ontology parent URIs; expanded via OntologyService.getChildren into a full subClassOf descendant set. Empty / null if no subtree matching is desired.
    • getUriPrefixes

      public List<String> getUriPrefixes()
      valueUri.startsWith(prefix) matchers. Empty / null if no prefix matching.
    • getUriExactMatches

      public List<String> getUriExactMatches()
      Full-URI equality matchers. Empty / null if no exact matching.
    • getSubBuckets

      public List<TreatmentBucketsConfig.Bucket> getSubBuckets()
      Optional nested partition. When this bucket matches a term, the term is ALSO matched against the sub-buckets (first-match-wins among them) and attributed to exactly one sub-bucket — or to an implicit <key>_other sub-bucket if none match. Parent count = sum of sub-bucket counts.
    • setKey

      public void setKey(String key)
      Stable lowercase-snake-case identifier the frontend matches in code.
    • setLabel

      public void setLabel(String label)
      Visitor-facing label (canonical phrasing).
    • setGroup

      public void setGroup(String group)
      Coarse UI grouping. Lets the frontend cluster bars (and dim or visually separate the "control-like" buckets — control + vehicle — which are accurate annotations but not pharmacology of interest). Free string, recommended values: control, pharmacology, biological, unclassified. Null = ungrouped.
    • setParentSubtreeUris

      public void setParentSubtreeUris(List<String> parentSubtreeUris)
      Ontology parent URIs; expanded via OntologyService.getChildren into a full subClassOf descendant set. Empty / null if no subtree matching is desired.
    • setUriPrefixes

      public void setUriPrefixes(List<String> uriPrefixes)
      valueUri.startsWith(prefix) matchers. Empty / null if no prefix matching.
    • setUriExactMatches

      public void setUriExactMatches(List<String> uriExactMatches)
      Full-URI equality matchers. Empty / null if no exact matching.
    • setSubBuckets

      public void setSubBuckets(List<TreatmentBucketsConfig.Bucket> subBuckets)
      Optional nested partition. When this bucket matches a term, the term is ALSO matched against the sub-buckets (first-match-wins among them) and attributed to exactly one sub-bucket — or to an implicit <key>_other sub-bucket if none match. Parent count = sum of sub-bucket counts.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object