code: @Override
      public final void visit(final SubmissionDocument document) {
          setBaseObject(
                  new ApiSubmission(document.getType(), document.getString()));
          addAttributes(document);
      }
docs: {@inheritDoc}