code: public static String printUUID(UUID guid)
     {
        return guid == null ? null : "{" + guid.toString().toUpperCase() + "}";
     }
docs: Retrieve a UUID in the form required by Primavera PMXML.
  
  @param guid UUID instance
  @return formatted UUID