Class ExperimentalFactor

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

@Indexed public class ExperimentalFactor extends AbstractDescribable implements SecuredChild
ExperimentFactors are the dependent variables of an experiment (e.g., genotype, time, glucose concentration).
Author:
Paul
  • Field Details

  • Constructor Details

    • ExperimentalFactor

      public ExperimentalFactor()
      No-arg constructor added to satisfy javabean contract
  • Method Details

    • 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
    • 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
    • getSecurityOwner

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

      public void setSecurityOwner(ExpressionExperiment securityOwner)
    • getType

      public FactorType getType()
      Returns:
      Categorical vs. continuous. Continuous factors must have a 'measurement' associated with the factorvalues, Categorical ones must not.
    • setType

      public void setType(FactorType type)
    • getCategory

      @Nullable @IndexedEmbedded public Characteristic getCategory()
      Obtain the category of this experimental factor.
      Returns:
      the category or null if annotated automatically from GEO or used as a dummy.
    • setCategory

      public void setCategory(@Nullable Characteristic category)
    • getExperimentalDesign

      public ExperimentalDesign getExperimentalDesign()
    • setExperimentalDesign

      public void setExperimentalDesign(ExperimentalDesign experimentalDesign)
    • getFactorValues

      @IndexedEmbedded public Set<FactorValue> getFactorValues()
      Returns:
      The pairing of BioAssay FactorValues with the ExperimentDesign ExperimentFactor.
    • setFactorValues

      public void setFactorValues(Set<FactorValue> factorValues)
    • getAnnotations

      @Deprecated public Set<Characteristic> getAnnotations()
      Deprecated.
    • setAnnotations

      @Deprecated public void setAnnotations(Set<Characteristic> annotations)
      Deprecated.
    • equals

      public boolean equals(Object obj)
      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
    • toString

      public String toString()
      Overrides:
      toString in class AbstractDescribable