Class AnnotationsWebService.AnnotationReplaceReport

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

public static final class AnnotationsWebService.AnnotationReplaceReport extends Object
Diff-and-apply summary returned by the bulk PUT.
Author:
tesarst
  • Constructor Details

    • AnnotationReplaceReport

      public AnnotationReplaceReport(Long eeId, int before, int after, List<AnnotationValueObject> added, List<AnnotationValueObject> removed, int unchanged, List<Long> auditEventIds, List<String> unresolvedUris)
      Creates a new AnnotationReplaceReport instance.
      Parameters:
      eeId -
      before -
      after -
      added -
      removed -
      unchanged -
      auditEventIds - Per-row audit-event ids; empty by default — populating these requires capturing the id of the AuditEvent written by the @Audited aspect, which the aspect does not surface back through the call. Follow-up work; see STATUS_DATASETS_ANNOTATIONS_WRITE.md.
      unresolvedUris - URIs in the desired set that didn't resolve against an ontology. Currently always empty — the server trusts the client's URIs (per the recommendation in HANDOFF_DATASETS_ANNOTATIONS_WRITE.md §"Failure modes — Unknown URIs"). Wired into the response shape now so the contract is stable; populated when boundary resolution lands.
  • Method Details

    • getEeId

      public Long getEeId()
    • getBefore

      public int getBefore()
    • getAfter

      public int getAfter()
    • getAdded

      public List<AnnotationValueObject> getAdded()
    • getRemoved

      public List<AnnotationValueObject> getRemoved()
    • getUnchanged

      public int getUnchanged()
    • getAuditEventIds

      public List<Long> getAuditEventIds()
      Per-row audit-event ids; empty by default — populating these requires capturing the id of the AuditEvent written by the @Audited aspect, which the aspect does not surface back through the call. Follow-up work; see STATUS_DATASETS_ANNOTATIONS_WRITE.md.
    • getUnresolvedUris

      public List<String> getUnresolvedUris()
      URIs in the desired set that didn't resolve against an ontology. Currently always empty — the server trusts the client's URIs (per the recommendation in HANDOFF_DATASETS_ANNOTATIONS_WRITE.md §"Failure modes — Unknown URIs"). Wired into the response shape now so the contract is stable; populated when boundary resolution lands.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object