Class ArrayDesignReferenceValueObject
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProject a fullArrayDesignValueObjectdown to this shape at serialization time. -
Constructor Summary
ConstructorsConstructorDescriptionArrayDesignReferenceValueObject(Long id, String shortName) The identity-only form, for the callers that select two columns.ArrayDesignReferenceValueObject(Long id, String shortName, String name) Identity plus name, for the callers that have no technology type in hand.ArrayDesignReferenceValueObject(Long id, String shortName, String name, String technologyType) Creates a newArrayDesignReferenceValueObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Gemma-internal platform id, suitable forGET /platforms/{id}.getName()Full name, e.g.Short name, e.g.What kind of platform it is —ONECOLOR,TWOCOLOR,SEQUENCING,GENELIST,OTHER.inthashCode()voidGemma-internal platform id, suitable forGET /platforms/{id}.voidFull name, e.g.voidsetShortName(String shortName) Short name, e.g.voidsetTechnologyType(String technologyType) What kind of platform it is —ONECOLOR,TWOCOLOR,SEQUENCING,GENELIST,OTHER.toString()
-
Constructor Details
-
ArrayDesignReferenceValueObject
-
ArrayDesignReferenceValueObject
-
ArrayDesignReferenceValueObject
public ArrayDesignReferenceValueObject() -
ArrayDesignReferenceValueObject
public ArrayDesignReferenceValueObject(Long id, @Nullable String shortName, @Nullable String name, @Nullable String technologyType) Creates a newArrayDesignReferenceValueObjectinstance.- Parameters:
id- Gemma-internal platform id, suitable forGET /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
-
getId
Gemma-internal platform id, suitable forGET /platforms/{id}. -
getShortName
Short name, e.g.GPL96. This is what a page displays. -
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
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
Gemma-internal platform id, suitable forGET /platforms/{id}. -
setShortName
Short name, e.g.GPL96. This is what a page displays. -
setName
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
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
-
canEqual
-
hashCode
-