Class DatasetsWebService.Canonicalization
java.lang.Object
ubic.gemma.rest.DatasetsWebService.Canonicalization
- Enclosing class:
DatasetsWebService
One accepted rewrite the grounding gate applied to a persisted annotation — a case/whitespace-only
near-match canonicalized to the term's label, a blank label filled in from its URI, and/or a known
Gemma-ontology term (e.g.
TGEMO_*) whose URI was normalized onto the canonical Gemma base. Not a
rejection — the slot passed — but the stored value differs from what was submitted, so the client can
silently update the chip to canonicalLabel (and knows its submittedUri was off-base — a
signal for tracking down which writer emitted the wrong base). A field pair being equal means that
dimension was unchanged. Only tags + sampleCharacteristics are reported (the design-section gate is
rejection-only and never persists its rewrite).- Author:
- tesarst
-
Method Summary
Modifier and TypeMethodDescriptionThe canonical label now stored — display this (equalssubmittedLabelwhen only the URI changed).The URI now stored (equalssubmittedUriwhen only the label changed).The item'sclientRef, so the client can map the rewrite back to its chip without parsing.Request-body path to the rewritten slot, e.g.The label as submitted;nullwhen a URI arrived with no label and one was filled in.The URI as submitted (off-base when it differs fromcanonicalUri).
-
Method Details
-
getLocation
Request-body path to the rewritten slot, e.g.tags[clientRef=t7].value. -
getClientRef
The item'sclientRef, so the client can map the rewrite back to its chip without parsing. -
getSubmittedLabel
The label as submitted;nullwhen a URI arrived with no label and one was filled in. -
getCanonicalLabel
The canonical label now stored — display this (equalssubmittedLabelwhen only the URI changed). -
getSubmittedUri
The URI as submitted (off-base when it differs fromcanonicalUri). -
getCanonicalUri
The URI now stored (equalssubmittedUriwhen only the label changed).
-