code: public static String randomUUID() {
  
          String base = CmsUUID.getNullUUID().toString();
          String hexDigits = "0123456789abcdef";
          StringBuffer result = new StringBuffer();
          for (int i = 0; i < base.length(); i++) {
              char ch = base.charAt(i);
              if (ch == '-') {
                  result.append(ch);
              } else if (ch == '0') {
                  result.append(hexDigits.charAt(Random.nextInt(16)));
              }
          }
          return result.toString();
      }
docs: Generates a purely random uuid.<p>
  
  @return the generated uuid