Record Class SingleCellAggregationPayload.AggregatedAssay

java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.SingleCellAggregationPayload.AggregatedAssay
Enclosing class:
SingleCellAggregationPayload

public static record SingleCellAggregationPayload.AggregatedAssay(String bioAssay, Integer numberOfCells, Integer numberOfDesignElements, Integer numberOfCellsByDesignElements, Integer maskedCells, Integer totalCells, Double librarySize, Double unadjustedLibrarySize) extends Record
Per-assay metrics for an aggregated pseudo-bulk assay. All optional fields mirror the conditional branches in the legacy StringBuilder detail — they are null / 0 when the corresponding branch did not fire.
  • Constructor Details

    • AggregatedAssay

      public AggregatedAssay(String bioAssay, @Nullable Integer numberOfCells, @Nullable Integer numberOfDesignElements, @Nullable Integer numberOfCellsByDesignElements, @Nullable Integer maskedCells, @Nullable Integer totalCells, @Nullable Double librarySize, @Nullable Double unadjustedLibrarySize)
      Creates an instance of a AggregatedAssay record class.
      Parameters:
      bioAssay - the value for the bioAssay record component
      numberOfCells - the value for the numberOfCells record component
      numberOfDesignElements - the value for the numberOfDesignElements record component
      numberOfCellsByDesignElements - the value for the numberOfCellsByDesignElements record component
      maskedCells - the value for the maskedCells record component
      totalCells - the value for the totalCells record component
      librarySize - the value for the librarySize record component
      unadjustedLibrarySize - the value for the unadjustedLibrarySize record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • bioAssay

      public String bioAssay()
      Returns the value of the bioAssay record component.
      Returns:
      the value of the bioAssay record component
    • numberOfCells

      @Nullable public Integer numberOfCells()
      Returns the value of the numberOfCells record component.
      Returns:
      the value of the numberOfCells record component
    • numberOfDesignElements

      @Nullable public Integer numberOfDesignElements()
      Returns the value of the numberOfDesignElements record component.
      Returns:
      the value of the numberOfDesignElements record component
    • numberOfCellsByDesignElements

      @Nullable public Integer numberOfCellsByDesignElements()
      Returns the value of the numberOfCellsByDesignElements record component.
      Returns:
      the value of the numberOfCellsByDesignElements record component
    • maskedCells

      @Nullable public Integer maskedCells()
      Returns the value of the maskedCells record component.
      Returns:
      the value of the maskedCells record component
    • totalCells

      @Nullable public Integer totalCells()
      Returns the value of the totalCells record component.
      Returns:
      the value of the totalCells record component
    • librarySize

      @Nullable public Double librarySize()
      Returns the value of the librarySize record component.
      Returns:
      the value of the librarySize record component
    • unadjustedLibrarySize

      @Nullable public Double unadjustedLibrarySize()
      Returns the value of the unadjustedLibrarySize record component.
      Returns:
      the value of the unadjustedLibrarySize record component