Class AnnotationsWebService.CanonicalUriValueObject

java.lang.Object
ubic.gemma.rest.AnnotationsWebService.CanonicalUriValueObject
Enclosing class:
AnnotationsWebService

public static class AnnotationsWebService.CanonicalUriValueObject extends Object
One row of the canonicalization table: the URI as stored, and the URI Gemma reports instead.
Author:
tesarst
  • Constructor Details

    • CanonicalUriValueObject

      public CanonicalUriValueObject(String fromUri, String toUri, String toLabel, @Nullable String basis, @Nullable String lane)
  • Method Details

    • getFromUri

      public String getFromUri()
      The URI as stored on the annotation.
    • getToUri

      public String getToUri()
      The URI Gemma reports for it.
    • getToLabel

      public String getToLabel()
      The label that goes with getToUri(); it moves with the URI.
    • getBasis

      @Nullable public String getBasis()
      Why this row decides the way it does — the rule that picked the winner.

      Read it before trusting a row. R3/R4 are ontology-intrinsic: an outside ontology cross-references the winner, or the winner carries a definition and its twin does not. R5 means the twins were separated by nothing but how often our curators typed each spelling, and it only fires when the winner has at least two annotations and leads by at least two — a one-annotation margin is one curator, once.

    • getLane

      @Nullable public String getLane()
      malformed (the stored URI is wrong on its face) or clo_twin (two live Cell Line Ontology classes for one cell line).