Class DatasetsWebService.MeasurementRef

java.lang.Object
ubic.gemma.rest.DatasetsWebService.MeasurementRef
Enclosing class:
DatasetsWebService

public static class DatasetsWebService.MeasurementRef extends Object
A per-factor-value numeric measurement (continuous factors).

🛑 Named MeasurementRef, not Measurement, for the same reason DatasetsWebService.OntologyTermRef is not OntologyTerm: the core Measurement entity is also published, and two classes sharing one schema name in the OpenAPI document means one of them wins. The one that won was the entity, whose unit is a Unit object — so the spec told every client to send "unit": {"unitNameCV": "day"} while this route binds a String and answered 400 Cannot deserialize value of type java.lang.String from Object value to the documented shape (cab, 2026-09-04, against build 59678f84). The wire shape is unchanged by the rename; only the name the schema is published under.

Author:
tesarst
  • Constructor Details

    • MeasurementRef

      public MeasurementRef()
  • Method Details

    • getValue

      @Nullable public String getValue()
    • getUnit

      @Nullable public String getUnit()
    • getType

      @Nullable public String getType()
    • getRepresentation

      @Nullable public String getRepresentation()
    • setValue

      public void setValue(@Nullable String value)
    • setUnit

      public void setUnit(@Nullable String unit)
    • setType

      public void setType(@Nullable String type)
    • setRepresentation

      public void setRepresentation(@Nullable String representation)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object