code: public String getCode() {
          String codePath = "SegHead.code";
          return Optional.ofNullable(getElement(getPath() + "." + codePath))
              .map(Object::toString)
              .orElse(null);
      }
docs: analoges in Sig.hasSig()