Record Class ProcessedVectorComputationPayload

java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.ProcessedVectorComputationPayload
All Implemented Interfaces:
AuditEventPayload

public record ProcessedVectorComputationPayload(String rawQuantitationType, String processedQuantitationType, int numberOfMaskedMissingValues, int numberOfMaskedOutliers, boolean quantileNormalized, String comment) extends Record implements AuditEventPayload
Structured payload for ProcessedVectorComputationEvent writes. Captures the same fields the legacy free-form DETAIL string encoded:
  • rawQuantitationType — display string of the raw QT used as input.
  • processedQuantitationType — display string of the freshly-created processed QT.
  • numberOfMaskedMissingValues — count of cells masked due to missing-value detection (0 = omitted in legacy detail).
  • numberOfMaskedOutliers — count of cells masked due to outlier flagging (0 = omitted in legacy detail).
  • quantileNormalized — true if the processed vectors were quantile-normalized.
  • comment — optional free-form comment from the creation summary.

Phase C bucket 2f — see AUDIT_PHASE_C_RECCE.md §4d.

  • Constructor Details

    • ProcessedVectorComputationPayload

      public ProcessedVectorComputationPayload(@Nullable String rawQuantitationType, @Nullable String processedQuantitationType, int numberOfMaskedMissingValues, int numberOfMaskedOutliers, boolean quantileNormalized, @Nullable String comment)
      Creates an instance of a ProcessedVectorComputationPayload record class.
      Parameters:
      rawQuantitationType - the value for the rawQuantitationType record component
      processedQuantitationType - the value for the processedQuantitationType record component
      numberOfMaskedMissingValues - the value for the numberOfMaskedMissingValues record component
      numberOfMaskedOutliers - the value for the numberOfMaskedOutliers record component
      quantileNormalized - the value for the quantileNormalized record component
      comment - the value for the comment 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • rawQuantitationType

      @Nullable public String rawQuantitationType()
      Returns the value of the rawQuantitationType record component.
      Returns:
      the value of the rawQuantitationType record component
    • processedQuantitationType

      @Nullable public String processedQuantitationType()
      Returns the value of the processedQuantitationType record component.
      Returns:
      the value of the processedQuantitationType record component
    • numberOfMaskedMissingValues

      public int numberOfMaskedMissingValues()
      Returns the value of the numberOfMaskedMissingValues record component.
      Returns:
      the value of the numberOfMaskedMissingValues record component
    • numberOfMaskedOutliers

      public int numberOfMaskedOutliers()
      Returns the value of the numberOfMaskedOutliers record component.
      Returns:
      the value of the numberOfMaskedOutliers record component
    • quantileNormalized

      public boolean quantileNormalized()
      Returns the value of the quantileNormalized record component.
      Returns:
      the value of the quantileNormalized record component
    • comment

      @Nullable public String comment()
      Returns the value of the comment record component.
      Returns:
      the value of the comment record component