Class TicketEventValueObject
java.lang.Object
ubic.gemma.model.common.auditAndSecurity.curation.TicketEventValueObject
- All Implemented Interfaces:
Serializable
Value object projection of
TicketEvent for the REST surface
(Phase B-2 of AUDIT_AS_WORKFLOW_RECCE.md).
The actorId / actorName pair is the minimum we surface
about the Contact so we
don't accidentally leak the full Contact payload.
- Author:
- paul
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic TicketEventValueObjectfrom(TicketEvent e) getId()getType()inthashCode()voidsetActorId(Long actorId) voidsetActorName(String actorName) voidvoidsetOccurredAt(Date occurredAt) voidsetPayload(String payload) voidsetType(TicketEventType type) toString()
-
Constructor Details
-
TicketEventValueObject
public TicketEventValueObject()
-
-
Method Details
-
from
-
getId
-
getType
-
getOccurredAt
-
getActorId
-
getActorName
-
getPayload
-
setId
-
setType
-
setOccurredAt
-
setActorId
-
setActorName
-
setPayload
-
equals
-
canEqual
-
hashCode
-
toString
-