Class ExpressionExperimentReferenceValueObject

java.lang.Object
ubic.gemma.model.expression.experiment.ExpressionExperimentReferenceValueObject
All Implemented Interfaces:
Serializable

public class ExpressionExperimentReferenceValueObject extends Object implements Serializable
Compact dataset identity — enough to name a dataset and link to it.

Exists so an ExpressionExperimentValueObject can point at another dataset — the other parts of a study Gemma split — without nesting a full dataset VO, which would carry curation details, platforms, taxon and event triples that a cross-reference never renders, and would cost a loadValueObjectsByIds per sibling. Mirrors ArrayDesignReferenceValueObject.

Author:
paul
See Also:
  • Constructor Details

    • ExpressionExperimentReferenceValueObject

      public ExpressionExperimentReferenceValueObject()
    • ExpressionExperimentReferenceValueObject

      public ExpressionExperimentReferenceValueObject(Long id, @Nullable String shortName, @Nullable String name)
      Creates a new ExpressionExperimentReferenceValueObject instance.
      Parameters:
      id - Gemma-internal dataset id, suitable for GET /datasets/{id}.
      shortName - Short name, e.g. GSE1234 or Rexach-2024.3. This is what a page displays.
      name - Full title. A split part's title is of the form Split part 3 of: … [organism part = …], which is the only place the distinguishing factor value appears, so a reference carrying only the short name cannot tell one sibling from another.
  • Method Details

    • getId

      public Long getId()
      Gemma-internal dataset id, suitable for GET /datasets/{id}.
    • getShortName

      @Nullable public String getShortName()
      Short name, e.g. GSE1234 or Rexach-2024.3. This is what a page displays.
    • getName

      @Nullable public String getName()
      Full title. A split part's title is of the form Split part 3 of: … [organism part = …], which is the only place the distinguishing factor value appears, so a reference carrying only the short name cannot tell one sibling from another.
    • setId

      public void setId(Long id)
      Gemma-internal dataset id, suitable for GET /datasets/{id}.
    • setShortName

      public void setShortName(@Nullable String shortName)
      Short name, e.g. GSE1234 or Rexach-2024.3. This is what a page displays.
    • setName

      public void setName(@Nullable String name)
      Full title. A split part's title is of the form Split part 3 of: … [organism part = …], which is the only place the distinguishing factor value appears, so a reference carrying only the short name cannot tell one sibling from another.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object