code: public String getHBCICode() {
          StringBuffer ret = null;
  
          // Macht aus z.Bsp. "KUmsZeit5" -> "KUmsZeitPar5.SegHead.code"
          StringBuilder searchString = new StringBuilder(name);
          for (int i = searchString.length() - 1; i >= 0; i--) {
              if (!(searchString.charAt(i) >= '0' && searchString.charAt(i) <= '9')) {
                  searchString.insert(i + 1, "Par");
                  searchString.append(".SegHead.code");
                  break;
              }
          }
  
          StringBuilder tempkey = new StringBuilder();
  
          // durchsuchen aller param-segmente nach einem job mit dem jobnamen des
          // aktuellen jobs
          for (String key : passport.getBPD().keySet()) {
              if (key.indexOf("Params") == 0) {
                  tempkey.setLength(0);
                  tempkey.append(key);
                  tempkey.delete(0, tempkey.indexOf(".") + 1);
  
                  if (tempkey.toString().equals(searchString.toString())) {
                      ret = new StringBuffer(passport.getBPD().get(key));
                      ret.replace(1, 2, "K");
                      ret.deleteCharAt(ret.length() - 1);
                      break;
                  }
              }
          }
  
          if (ret != null) {
              return ret.toString();
          }
          return null;
      }
docs: /* gibt den segmentcode für diesen job zurück