code: public void setResourceId(String resourceId) {
  
          try {
              if (!m_resourceBuilder.isFolder()) {
                  m_resourceBuilder.setResourceId(new CmsUUID(resourceId));
              } else {
                  m_resourceBuilder.setResourceId(new CmsUUID());
              }
          } catch (Throwable e) {
              setThrowable(e);
          }
      }
docs: Sets the resourceId.<p>
  
  @param resourceId the resourceId to set
  
  @see #N_UUIDRESOURCE
  @see #addResourceAttributesRules(Digester, String)