Record Class SingleCellSubSetsCreatedPayload
java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.SingleCellSubSetsCreatedPayload
- All Implemented Interfaces:
AuditEventPayload
public record SingleCellSubSetsCreatedPayload(List<String> cellTypes, String cellTypeFactor, String cellTypeToFactorValueMapping, List<String> subsets)
extends Record
implements AuditEventPayload
Structured payload for
SingleCellSubSetsCreatedEvent writes.
Captures the same structured fields the legacy free-form DETAIL
string encoded:
cellTypes— pretty-printed cell-type characteristics ([label] (URI)or bare label).cellTypeFactor— display string of the experimental factor.cellTypeToFactorValueMapping— pretty-printed mapping (one line per characteristic → factor-value).subsets— display strings of the createdExpressionExperimentSubSets.
Phase C bucket 2f — see AUDIT_PHASE_C_RECCE.md §4d.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AuditEventPayload
AuditEventPayload.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecellTypeFactorrecord component.Returns the value of thecellTypesrecord component.Returns the value of thecellTypeToFactorValueMappingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.subsets()Returns the value of thesubsetsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SingleCellSubSetsCreatedPayload
public SingleCellSubSetsCreatedPayload(List<String> cellTypes, String cellTypeFactor, String cellTypeToFactorValueMapping, List<String> subsets) Creates an instance of aSingleCellSubSetsCreatedPayloadrecord class.- Parameters:
cellTypes- the value for thecellTypesrecord componentcellTypeFactor- the value for thecellTypeFactorrecord componentcellTypeToFactorValueMapping- the value for thecellTypeToFactorValueMappingrecord componentsubsets- the value for thesubsetsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
cellTypes
-
cellTypeFactor
Returns the value of thecellTypeFactorrecord component.- Returns:
- the value of the
cellTypeFactorrecord component
-
cellTypeToFactorValueMapping
Returns the value of thecellTypeToFactorValueMappingrecord component.- Returns:
- the value of the
cellTypeToFactorValueMappingrecord component
-
subsets
-