Class ArrayDesignReferenceValueObject

java.lang.Object
ubic.gemma.model.expression.arrayDesign.ArrayDesignReferenceValueObject
All Implemented Interfaces:
Serializable

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

Exists so ArrayDesignValueObject can point at another platform (its merge target, or the platforms merged into it) without nesting a full platform VO, which would recurse and carry curation details, taxon, external references and event triples that a cross-reference never renders.

Author:
paul
See Also:
  • Constructor Details

    • ArrayDesignReferenceValueObject

      public ArrayDesignReferenceValueObject(Long id, @Nullable String shortName)
      The identity-only form, for the callers that select two columns.
    • ArrayDesignReferenceValueObject

      public ArrayDesignReferenceValueObject(Long id, @Nullable String shortName, @Nullable String name)
      Identity plus name, for the callers that have no technology type in hand.
    • ArrayDesignReferenceValueObject

      public ArrayDesignReferenceValueObject()
    • ArrayDesignReferenceValueObject

      public ArrayDesignReferenceValueObject(Long id, @Nullable String shortName, @Nullable String name, @Nullable String technologyType)
      Creates a new ArrayDesignReferenceValueObject instance.
      Parameters:
      id - Gemma-internal platform id, suitable for GET /platforms/{id}.
      shortName - Short name, e.g. GPL96. This is what a page displays.
      name - Full name, e.g. Affymetrix GeneChip Human Genome U133A 2.0 Array.

      The short name is an accession and the full name is the only part a curator reads as a description of the hardware, so a reference that carries only the accession cannot in fact name the platform it points at.

      technologyType - What kind of platform it is — ONECOLOR, TWOCOLOR, SEQUENCING, GENELIST, OTHER. Rendered as the enum's name.

      Here because a client that has to say whether a dataset is a microarray or a sequencing run was otherwise reduced to matching the platform's NAME against a pattern — which reads correctly for Affymetrix GeneChip … by luck and returns nothing for a sequencing platform that does not say so in its name (uib, 2026-08-28).

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

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

      @Nullable public String getShortName()
      Short name, e.g. GPL96. This is what a page displays.
    • getName

      @Nullable public String getName()
      Full name, e.g. Affymetrix GeneChip Human Genome U133A 2.0 Array.

      The short name is an accession and the full name is the only part a curator reads as a description of the hardware, so a reference that carries only the accession cannot in fact name the platform it points at.

    • getTechnologyType

      @Nullable public String getTechnologyType()
      What kind of platform it is — ONECOLOR, TWOCOLOR, SEQUENCING, GENELIST, OTHER. Rendered as the enum's name.

      Here because a client that has to say whether a dataset is a microarray or a sequencing run was otherwise reduced to matching the platform's NAME against a pattern — which reads correctly for Affymetrix GeneChip … by luck and returns nothing for a sequencing platform that does not say so in its name (uib, 2026-08-28).

    • setId

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

      public void setShortName(@Nullable String shortName)
      Short name, e.g. GPL96. This is what a page displays.
    • setName

      public void setName(@Nullable String name)
      Full name, e.g. Affymetrix GeneChip Human Genome U133A 2.0 Array.

      The short name is an accession and the full name is the only part a curator reads as a description of the hardware, so a reference that carries only the accession cannot in fact name the platform it points at.

    • setTechnologyType

      public void setTechnologyType(@Nullable String technologyType)
      What kind of platform it is — ONECOLOR, TWOCOLOR, SEQUENCING, GENELIST, OTHER. Rendered as the enum's name.

      Here because a client that has to say whether a dataset is a microarray or a sequencing run was otherwise reduced to matching the platform's NAME against a pattern — which reads correctly for Affymetrix GeneChip … by luck and returns nothing for a sequencing platform that does not say so in its name (uib, 2026-08-28).

    • 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