Class GoTermsWebService.GoTermGeneCountValueObject

java.lang.Object
ubic.gemma.rest.GoTermsWebService.GoTermGeneCountValueObject
Enclosing class:
GoTermsWebService

public static final class GoTermsWebService.GoTermGeneCountValueObject extends Object
Wire payload for GET /goTerms/{termUri}/genes/count. Fields:
  • termUri — the URI whose count is reported.
  • geneCount — number of distinct genes annotated, including the descendants traversed during expansion when propagate=true.
  • termsScanned — how many GO URIs the count covers (root + descendants that were walked under the maxTerms cap).
  • propagate / maxTerms — echoed back from the request so callers can detect "I asked for unbounded but got bounded" or vice versa.
  • Constructor Details

    • GoTermGeneCountValueObject

      public GoTermGeneCountValueObject(String termUri, long geneCount, int termsScanned, boolean propagate, int maxTerms)
  • Method Details

    • getTermUri

      public String getTermUri()
    • getGeneCount

      public long getGeneCount()
    • getTermsScanned

      public int getTermsScanned()
    • isPropagate

      public boolean isPropagate()
    • getMaxTerms

      public int getMaxTerms()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object