code: public Object getTitleOrName() {
  
          String result = getTitle();
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(result)) {
              result = getPath();
          }
          return result;
      }
docs: Gets the title of the category, or the name if the title is not set.<p>
  
  @return the title or name