Class PreboardedExperiment
- All Implemented Interfaces:
Securable, Auditable, Securable, Describable, Identifiable
Investigation representing a proposed-but-not-yet-loaded
dataset.
Created by POST /preboarded when the curation-agents runner targets
a GEO (or other) accession that has not yet been imported into Gemma. The
preboarded carries enough identifying metadata to triage / re-run the agent
against it, and accumulates one or more AnnotationSet rows over
time. When the data lands as an ExpressionExperiment, the preboarded
is promoted via POST /preboarded/{id}/promote — the
implementation rebinds the AnnotationSet FKs to the new EE row
(new-row + FK rebind approach; see HANDOFF_PROPOSED_EXPERIMENT_WORKFLOW.md
§"Open questions" item 1 and STATUS file for rationale).
Single-table inheritance under INVESTIGATION with discriminator
value PreboardedExperiment; sibling of ExpressionExperiment
and ExpressionExperimentSubSet.
Defaults its WorkflowState to WorkflowState.Preboarded on
construction (collapsing handoff states 1+2; see STATUS file). Promotion
advances the resulting EE to WorkflowState.Loaded.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: The name should be compared in a case-insensitive manner.inthashCode()The default hash code for a describable is based on its name, ignoring case.voidsetAccession(String accession) voidsetMatchedCriteria(String matchedCriteria) voidMethods inherited from class Investigation
getCharacteristics, getOtherRelevantPublications, getOwner, getPrimaryPublication, getSourceMetadata, getSourceMetadataSchemaVersion, getWorkflowState, getWorkflowStateEnteredAt, setCharacteristics, setOtherRelevantPublications, setOwner, setPrimaryPublication, setSourceMetadata, setSourceMetadataSchemaVersion, setWorkflowState, setWorkflowStateEnteredAtMethods inherited from class AbstractAuditable
getAuditTrail, setAuditTrailMethods inherited from class AbstractDescribable
getDescription, getName, setDescription, setName, toStringMethods inherited from class AbstractIdentifiable
getId, setIdMethods inherited from interface Identifiable
getId
-
Constructor Details
-
PreboardedExperiment
public PreboardedExperiment()
-
-
Method Details
-
getAccession
- Returns:
- the upstream accession this preboarded targets (e.g. GSE12345). Required; the create endpoint enforces it.
-
setAccession
-
getSource
- Returns:
- the upstream source this accession belongs to. Defaults to
"GEO"; future values may include"ArrayExpress","manual".
-
setSource
-
getMatchedCriteria
- Returns:
- JSON-as-string listing matcher names from the GEO scrape pipeline
that flagged this preboarded, or
nullif not produced by the scrape pipeline.
-
setMatchedCriteria
-
hashCode
public int hashCode()Description copied from class:AbstractDescribableThe default hash code for a describable is based on its name, ignoring case.Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.
- Overrides:
hashCodein classAbstractDescribable
-
equals
Description copied from class:AbstractDescribableImportant note: The name should be compared in a case-insensitive manner. You can useDescribableUtils.equalsByName(Describable, Describable)to get the correct behavior.Important 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 classAbstractDescribable
-