Class AnnotationSetsWebService.DispositionRequest

java.lang.Object
ubic.gemma.rest.AnnotationSetsWebService.DispositionRequest
Enclosing class:
AnnotationSetsWebService

public static class AnnotationSetsWebService.DispositionRequest extends Object
  • Field Details

    • targetId

      public String targetId
      Which target, in the producer's own numbering. Required.
    • findingId

      @Nullable public String findingId
      Which FINDING, when you have a stable id for one. Optional, and opaque here.

      Send it whenever you can: a target does NOT name a finding — one routinely carries several and two of them can be actionable — so a ruling keyed on the target alone cannot say which finding it ruled on. Omitting it leaves the row target-keyed, which is what rows written before this field have.

    • disposition

      public String disposition
    • reason

      @Nullable public String reason
      Why. What the agent needs in order to stop emitting a finding it got wrong; the disposition alone records the decision but not the cause.

      REQUIRED when disposition is needs_more_info, whose entire content is the reason; optional otherwise. Free text — there is no vocabulary, deliberately, on either side of the wire.

    • judgeKind

      @Nullable public String judgeKind
      agent or curator — who decided. Send it; the fallback guesses from the transport and guesses wrong whenever the agent runs as a human account.
  • Constructor Details

    • DispositionRequest

      public DispositionRequest()