Class DatasetsWebService.CategoryWithUsageStatisticsValueObject

java.lang.Object
ubic.gemma.rest.DatasetsWebService.CategoryWithUsageStatisticsValueObject
All Implemented Interfaces:
DatasetsWebService.UsageStatistics
Enclosing class:
DatasetsWebService

public static final class DatasetsWebService.CategoryWithUsageStatisticsValueObject extends Object implements DatasetsWebService.UsageStatistics
Author:
tesarst
  • Constructor Details

    • CategoryWithUsageStatisticsValueObject

      public CategoryWithUsageStatisticsValueObject(String categoryUri, String category, Long numberOfExpressionExperiments)
      Creates a new CategoryWithUsageStatisticsValueObject instance.
      Parameters:
      categoryUri - Named to match Characteristic and the curation write side, which both say category / categoryUri. This route said className / classUri for the same thing, so a caller reading categories here and filtering datasets by them was using two vocabularies for one concept.
      category -
      numberOfExpressionExperiments -
  • Method Details

    • getCategoryUri

      public String getCategoryUri()
      Named to match Characteristic and the curation write side, which both say category / categoryUri. This route said className / classUri for the same thing, so a caller reading categories here and filtering datasets by them was using two vocabularies for one concept.
    • getCategory

      public String getCategory()
    • getNumberOfExpressionExperiments

      public Long getNumberOfExpressionExperiments()
      Specified by:
      getNumberOfExpressionExperiments in interface DatasetsWebService.UsageStatistics
    • 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