Class AnnotationSetService.AttachedAnnotationSet

java.lang.Object
ubic.gemma.persistence.service.common.auditAndSecurity.curation.AnnotationSetService.AttachedAnnotationSet
Enclosing interface:
AnnotationSetService

public static class AnnotationSetService.AttachedAnnotationSet extends Object
Return value of AnnotationSetService.attach(Investigation, AnnotationSetRole, AnnotationSetSource, AgentCurationKind, String, String, String, String, Date, String, AnnotationSet). Carries the persisted row plus a flag noting whether it was created (true) or returned as existing (false). REST callers use it to choose 201 vs 200.
  • Constructor Details

    • AttachedAnnotationSet

      public AttachedAnnotationSet(AnnotationSet annotationSet, boolean created)
  • Method Details

    • getAnnotationSet

      public AnnotationSet getAnnotationSet()
    • isCreated

      public boolean isCreated()