Class BioAssay

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

@Indexed public class BioAssay extends AbstractDescribable implements SecuredChild
Represents the bringing together of a biomaterial with an assay of some sort (typically an expression assay). We don't distinguish between "physical" and "computational" BioAssays, so this is a concrete class. This has several slots that are used specifically to support sequence-based data, but is intended to be generic.
  • Field Details

  • Constructor Details

    • BioAssay

      public BioAssay()
  • Method Details

    • hashCode

      public int hashCode()
      Description copied from class: AbstractIdentifiable
      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: AbstractIdentifiable
      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 AbstractIdentifiable
    • getId

      @DocumentId public Long getId()
      Specified by:
      getId in interface Identifiable
      Specified by:
      getId in interface gemma.gsec.model.Securable
      Overrides:
      getId in class AbstractIdentifiable
    • getShortName

      @Nullable @Field public String getShortName()
    • setShortName

      public void setShortName(@Nullable String shortName)
    • getName

      @Field public String getName()
      Description copied from interface: Describable
      Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.
      Specified by:
      getName in interface Describable
      Overrides:
      getName in class AbstractDescribable
    • getDescription

      @Field(store=YES) public String getDescription()
      Description copied from interface: Describable
      Obtain a human-readable description of the object
      Specified by:
      getDescription in interface Describable
      Overrides:
      getDescription in class AbstractDescribable
    • getAccession

      @Nullable @IndexedEmbedded public DatabaseEntry getAccession()
    • setAccession

      public void setAccession(@Nullable DatabaseEntry accession)
    • getArrayDesignUsed

      public ArrayDesign getArrayDesignUsed()
    • setArrayDesignUsed

      public void setArrayDesignUsed(ArrayDesign arrayDesignUsed)
    • getIsOutlier

      public boolean getIsOutlier()
    • setIsOutlier

      public void setIsOutlier(boolean isOutlier)
    • getProcessingDate

      @Nullable public Date getProcessingDate()
    • setProcessingDate

      public void setProcessingDate(@Nullable Date processingDate)
    • getSampleUsed

      @IndexedEmbedded public BioMaterial getSampleUsed()
    • setSampleUsed

      public void setSampleUsed(BioMaterial sampleUsed)
    • getSecurityOwner

      public Securable getSecurityOwner()
      Specified by:
      getSecurityOwner in interface gemma.gsec.model.SecuredChild
      Specified by:
      getSecurityOwner in interface SecuredChild
    • getSequencePairedReads

      @Nullable public Boolean getSequencePairedReads()
    • setSequencePairedReads

      public void setSequencePairedReads(@Nullable Boolean sequencePairedReads)
    • getSequenceReadCount

      @Nullable public Long getSequenceReadCount()
    • setSequenceReadCount

      public void setSequenceReadCount(@Nullable Long sequenceReadCount)
    • getSequenceReadLength

      @Nullable public Integer getSequenceReadLength()
    • setSequenceReadLength

      public void setSequenceReadLength(@Nullable Integer sequenceReadLength)
    • getMetadata

      @Nullable public String getMetadata()
    • setMetadata

      public void setMetadata(@Nullable String metadata)
    • getOriginalPlatform

      @Nullable public ArrayDesign getOriginalPlatform()
    • setOriginalPlatform

      public void setOriginalPlatform(@Nullable ArrayDesign originalPlatform)
    • getFastqHeaders

      @Nullable public String getFastqHeaders()
    • setFastqHeaders

      public void setFastqHeaders(@Nullable String fastqHeaders)
    • getNumberOfCells

      @Nullable public Integer getNumberOfCells()
    • setNumberOfCells

      public void setNumberOfCells(@Nullable Integer numberOfCells)
    • getNumberOfDesignElements

      @Nullable public Integer getNumberOfDesignElements()
    • setNumberOfDesignElements

      public void setNumberOfDesignElements(@Nullable Integer numberOfDesignElements)
    • getNumberOfCellsByDesignElements

      @Nullable public Integer getNumberOfCellsByDesignElements()
    • setNumberOfCellsByDesignElements

      public void setNumberOfCellsByDesignElements(@Nullable Integer numberOfCellsByDesignElements)