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()inthashCode()voidsetDisplayLabel(String displayLabel) Short display label for the target (e.g.voidsetDisplayName(String displayName) Human-readable name for the target (e.g.voidvoidsetScreeningResult(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
-
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
-
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
-