docs: public CmsLink getLink(CmsObject cms) {
  
          Element linkElement = m_element.element(CmsXmlPage.NODE_LINK);
          if (linkElement == null) {
              String textValue = m_element.getText();
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(textValue)) {
                  if (CmsUUID.isValidUUID(textValue)) {
                      setIdValue(cms, new CmsUUID(textValue));
                  } else {
                      setStringValue(cms, textValue);
                  }
              }
              linkElement = m_element.element(CmsXmlPage.NODE_LINK);
              if (linkElement == null) {
                  return null;
              }
          }
          CmsLinkUpdateUtil.updateType(linkElement, getRelationType(getPath()));
          CmsLink link = new CmsLink(linkElement);
          link.checkConsistency(cms);
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(link.getTarget())) {
              return null;
          }
          return link;
      }