code: public void setResourceId(String resourceId) {
  
          try {
              if (!m_type.isFolder()) {
                  m_resourceId = new CmsUUID(resourceId);
              } else {
                  m_resourceId = 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)