Class PreboardedExperiment
- All Implemented Interfaces:
gemma.gsec.model.Securable,Auditable,Securable,Describable,Identifiable
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.
-
Nested Class Summary
Nested Classes -
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) voidsetIdentifyingMetadata(String identifyingMetadata) voidMethods inherited from class ubic.gemma.model.analysis.Investigation
getCharacteristics, getOtherRelevantPublications, getOwner, getPrimaryPublication, setCharacteristics, setOtherRelevantPublications, setOwner, setPrimaryPublicationMethods inherited from class ubic.gemma.model.common.auditAndSecurity.AbstractAuditable
getAuditTrail, setAuditTrailMethods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, getName, setDescription, setName, toStringMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ubic.gemma.model.common.Identifiable
getIdMethods inherited from interface gemma.gsec.model.Securable
getId
-
Constructor Details
-
PreboardedExperiment
public PreboardedExperiment()
-
-
Method Details
-
getAccession
- Returns:
- the upstream accession this preboarded targets (e.g. GSE12345).
-
setAccession
-
getSource
- Returns:
- the upstream source this accession belongs to (e.g.
"GEO","ArrayExpress","manual").
-
setSource
-
getIdentifyingMetadata
- Returns:
- the identifying metadata blob (title, summary, submitter,
pubmed id, etc.) as a JSON string, or
nullif the agent did not harvest it.
-
setIdentifyingMetadata
-
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
-