Class AnnotationSetSummaryValueObject

java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<AnnotationSet>
ubic.gemma.model.common.auditAndSecurity.curation.AnnotationSetSummaryValueObject
All Implemented Interfaces:
Serializable, Identifiable

public class AnnotationSetSummaryValueObject extends IdentifiableValueObject<AnnotationSet>
Thin metadata projection of an AnnotationSet row, served by the REST surface when ?shape=meta is requested. Omits the heavy payloadJson so list-page renders stay sub-KB per row.

payloadSize is CHAR_LENGTH(PAYLOAD_JSON) — the UI uses it as a fetch-heavy-or-skip signal. May be null when the projection's length() call could not be computed on the underlying database.

See Also:
  • Constructor Details

    • AnnotationSetSummaryValueObject

      public AnnotationSetSummaryValueObject()
    • AnnotationSetSummaryValueObject

      public AnnotationSetSummaryValueObject(Long id, AnnotationSetRole role, AnnotationSetSource source, @Nullable AgentCurationKind kind, String runId, @Nullable String createdBy, Date createdAt, Date updatedAt, @Nullable Date finalizedAt, @Nullable String finalizedBy, @Nullable String agentVersion, @Nullable String model, @Nullable String runSha, @Nullable String agentName, @Nullable Date ranAt, Long investigationId, @Nullable Long parentId, @Nullable Long payloadSize, @Nullable String status, @Nullable Integer factorCount, @Nullable Integer tagCount, @Nullable String datasetShortName)
      Projection constructor used by the HQL SELECT NEW ... query in AnnotationSetDaoImpl.
  • Method Details

    • getRole

      public AnnotationSetRole getRole()
    • getSource

      public AnnotationSetSource getSource()
    • getKind

      @Nullable public AgentCurationKind getKind()
    • getRunId

      public String getRunId()
    • getCreatedBy

      @Nullable public String getCreatedBy()
    • getCreatedAt

      public Date getCreatedAt()
    • getUpdatedAt

      public Date getUpdatedAt()
    • getFinalizedAt

      @Nullable public Date getFinalizedAt()
    • getFinalizedBy

      @Nullable public String getFinalizedBy()
    • getAgentVersion

      @Nullable public String getAgentVersion()
    • getModel

      @Nullable public String getModel()
    • getRunSha

      @Nullable public String getRunSha()
    • getAgentName

      @Nullable public String getAgentName()
    • getRanAt

      @Nullable public Date getRanAt()
    • getInvestigationId

      public Long getInvestigationId()
    • getParentId

      @Nullable public Long getParentId()
    • getPayloadSize

      @Nullable public Long getPayloadSize()
      Size of the omitted payloadJson in characters. UI uses this to gate a fetch-full vs skip decision. Null when the database could not compute it (e.g. CLOB length unsupported in some projection paths).
    • getStatus

      @Nullable public String getStatus()
      Where a proposal stands with its reviewer. A free string, not an enum -- see AnnotationSet.getStatus(). Null on roles that are not reviewed.
    • getFactorCount

      @Nullable public Integer getFactorCount()
      Derived hint; null means unknown, never zero. See AnnotationSetPayloadCounts.
    • getTagCount

      @Nullable public Integer getTagCount()
      Derived hint; null means unknown, never zero. See AnnotationSetPayloadCounts.
    • getDatasetShortName

      @Nullable public String getDatasetShortName()
      The dataset's short name (GSE6966), so a list row can name its experiment.

      The inbox groups rows by experiment and labels each group; carrying only investigationId cost a fetch per row to print the label (uib, 2026-09-04). Null when the investigation is not an ExpressionExperiment -- the join that supplies it is a LEFT join for exactly that reason, so a set on some other Investigation subtype still appears in the list rather than vanishing from it.

    • setRole

      public void setRole(AnnotationSetRole role)
    • setSource

      public void setSource(AnnotationSetSource source)
    • setKind

      public void setKind(@Nullable AgentCurationKind kind)
    • setRunId

      public void setRunId(String runId)
    • setCreatedBy

      public void setCreatedBy(@Nullable String createdBy)
    • setCreatedAt

      public void setCreatedAt(Date createdAt)
    • setUpdatedAt

      public void setUpdatedAt(Date updatedAt)
    • setFinalizedAt

      public void setFinalizedAt(@Nullable Date finalizedAt)
    • setFinalizedBy

      public void setFinalizedBy(@Nullable String finalizedBy)
    • setAgentVersion

      public void setAgentVersion(@Nullable String agentVersion)
    • setModel

      public void setModel(@Nullable String model)
    • setRunSha

      public void setRunSha(@Nullable String runSha)
    • setAgentName

      public void setAgentName(@Nullable String agentName)
    • setRanAt

      public void setRanAt(@Nullable Date ranAt)
    • setInvestigationId

      public void setInvestigationId(Long investigationId)
    • setParentId

      public void setParentId(@Nullable Long parentId)
    • setPayloadSize

      public void setPayloadSize(@Nullable Long payloadSize)
      Size of the omitted payloadJson in characters. UI uses this to gate a fetch-full vs skip decision. Null when the database could not compute it (e.g. CLOB length unsupported in some projection paths).
    • setStatus

      public void setStatus(@Nullable String status)
      Where a proposal stands with its reviewer. A free string, not an enum -- see AnnotationSet.getStatus(). Null on roles that are not reviewed.
    • setFactorCount

      public void setFactorCount(@Nullable Integer factorCount)
      Derived hint; null means unknown, never zero. See AnnotationSetPayloadCounts.
    • setTagCount

      public void setTagCount(@Nullable Integer tagCount)
      Derived hint; null means unknown, never zero. See AnnotationSetPayloadCounts.
    • setDatasetShortName

      public void setDatasetShortName(@Nullable String datasetShortName)
      The dataset's short name (GSE6966), so a list row can name its experiment.

      The inbox groups rows by experiment and labels each group; carrying only investigationId cost a fetch per row to print the label (uib, 2026-09-04). Null when the investigation is not an ExpressionExperiment -- the join that supplies it is a LEFT join for exactly that reason, so a set on some other Investigation subtype still appears in the list rather than vanishing from it.