Record Class SampleMetadataPayload
java.lang.Object
java.lang.Record
ubic.gemma.core.security.audit.payload.SampleMetadataPayload
- Record Components:
field- theBioAssayproperty that was set —libraryStrategy,librarySelectionorextractedMoleculenewValue- the value it was set to, ornullwhen the field was clearedbioAssays- the samples that changed, as labels; samples already holdingnewValueare not included, so an empty list means the request was a no-op
- All Implemented Interfaces:
AuditEventPayload
public record SampleMetadataPayload(String field, String newValue, List<String> bioAssays)
extends Record
implements AuditEventPayload
What a
SampleMetadataChangedEvent changed.-
Nested Class Summary
Nested classes/interfaces inherited from interface AuditEventPayload
AuditEventPayload.None -
Constructor Summary
ConstructorsConstructorDescriptionSampleMetadataPayload(String field, String newValue, List<String> bioAssays) Creates an instance of aSampleMetadataPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebioAssaysrecord component.final booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.newValue()Returns the value of thenewValuerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
field
-
newValue
-
bioAssays
-