Class TicketTargetValueObject
java.lang.Object
ubic.gemma.model.common.auditAndSecurity.curation.TicketTargetValueObject
- All Implemented Interfaces:
Serializable
Value object projection of
TicketTarget for the REST surface
(Phase B-2 of AUDIT_AS_WORKFLOW_RECCE.md).
The displayLabel and displayName fields are optional
server-resolved hints — populated by the resource layer via a side-join
to the targeted entity (e.g. ExpressionExperiment.shortName +
.name for TicketTargetType.EXPRESSION_EXPERIMENT). They
let the dashboard render a meaningful card without a follow-up fetch.
Producers that don't have a cheap join leave them null; the UI
falls back to the bare targetId.
- Author:
- paul
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic TicketTargetValueObjectfrom(TicketTarget t) Short display label for the target (e.g.Human-readable name for the target (e.g.getId()This target's own task — what put THIS experiment on the ticket and what is being asked of the curator.Which schemapayloadfollows, or null when the writer declared none.inthashCode()voidsetDisplayLabel(String displayLabel) Short display label for the target (e.g.voidsetDisplayName(String displayName) Human-readable name for the target (e.g.voidvoidsetPayload(String payload) This target's own task — what put THIS experiment on the ticket and what is being asked of the curator.voidsetPayloadSchemaVersion(Integer payloadSchemaVersion) Which schemapayloadfollows, or null when the writer declared none.voidsetScreeningResult(ScreeningResult screeningResult) voidsetScreeningResultReason(String screeningResultReason) voidsetStatus(TicketTargetStatus status) voidsetTargetId(Long targetId) voidsetTargetType(TicketTargetType targetType) toString()
-
Constructor Details
-
TicketTargetValueObject
public TicketTargetValueObject()
-
-
Method Details
-
from
-
getScreeningResult
-
setScreeningResult
-
getScreeningResultReason
-
setScreeningResultReason
-
getId
-
getTargetType
-
getTargetId
-
getStatus
-
getPayload
This target's own task — what put THIS experiment on the ticket and what is being asked of the curator. Opaque JSON text, served verbatim; seeTicketTarget.getPayload(). -
getPayloadSchemaVersion
Which schemapayloadfollows, or null when the writer declared none. -
getDisplayLabel
Short display label for the target (e.g. an EE'sshortNamelikeGSE12345).nullwhen no cheap join is available. -
getDisplayName
Human-readable name for the target (e.g. an EE's fullname).nullwhen no cheap join is available. -
setId
-
setTargetType
-
setTargetId
-
setStatus
-
setPayload
This target's own task — what put THIS experiment on the ticket and what is being asked of the curator. Opaque JSON text, served verbatim; seeTicketTarget.getPayload(). -
setPayloadSchemaVersion
Which schemapayloadfollows, or null when the writer declared none. -
setDisplayLabel
Short display label for the target (e.g. an EE'sshortNamelikeGSE12345).nullwhen no cheap join is available. -
setDisplayName
Human-readable name for the target (e.g. an EE's fullname).nullwhen no cheap join is available. -
equals
-
canEqual
-
hashCode
-
toString
-