Class TicketEvent
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.auditAndSecurity.curation.TicketEvent
- All Implemented Interfaces:
Identifiable
An append-only entry in a
Ticket's workflow event log. Mirrors the
Jackson payload shape used by
AuditEvent.getPayload() so
a single AuditEventPayload record can populate either stream.
Phase B-1 is append-only (Decision 4 of
AUDIT_AS_WORKFLOW_RECCE.md); edits aren't supported yet.
- Author:
- paul
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.getActor()getType()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidvoidsetOccurredAt(Date occurredAt) voidsetPayload(String payload) voidvoidsetType(TicketEventType type) Methods inherited from class AbstractIdentifiable
getId, setId, toString
-
Constructor Details
-
TicketEvent
public TicketEvent()
-
-
Method Details
-
getTicket
-
setTicket
-
getActor
-
setActor
-
getOccurredAt
-
setOccurredAt
-
getType
-
setType
-
getPayload
-
setPayload
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiableImportant note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equalsin classAbstractIdentifiable
-