Class PreboardedExperiment

All Implemented Interfaces:
gemma.gsec.model.Securable, Auditable, Securable, Describable, Identifiable

public class PreboardedExperiment extends Investigation
Subclass of Investigation representing a proposed-but-not-yet-loaded dataset.

This is a read-side compatibility port from phase2-acl-migrate: just enough Hibernate metadata to MAP an INVESTIGATION row whose discriminator is PreboardedExperiment without throwing a WrongClassException on a hotfix-1.32.7 instance that points at a database where the phase2 schema has been applied. The full workflow (creation endpoint, AgentProposal, promotion, WorkflowState lifecycle) lands with the phase2 ship.

Single-table inheritance under INVESTIGATION with discriminator value PreboardedExperiment; sibling of ExpressionExperiment and ExpressionExperimentSubSet.

  • Constructor Details

    • PreboardedExperiment

      public PreboardedExperiment()
  • Method Details

    • getAccession

      public String getAccession()
      Returns:
      the upstream accession this preboarded targets (e.g. GSE12345).
    • setAccession

      public void setAccession(String accession)
    • getSource

      public String getSource()
      Returns:
      the upstream source this accession belongs to (e.g. "GEO", "ArrayExpress", "manual").
    • setSource

      public void setSource(String source)
    • getIdentifyingMetadata

      public String getIdentifyingMetadata()
      Returns:
      the identifying metadata blob (title, summary, submitter, pubmed id, etc.) as a JSON string, or null if the agent did not harvest it.
    • setIdentifyingMetadata

      public void setIdentifyingMetadata(String identifyingMetadata)
    • hashCode

      public int hashCode()
      Description copied from class: AbstractDescribable
      The 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:
      hashCode in class AbstractDescribable
    • equals

      public boolean equals(Object object)
      Description copied from class: AbstractDescribable
      Important note: The name should be compared in a case-insensitive manner. You can use DescribableUtils.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:
      equals in class AbstractDescribable