code: public void setLinkBean(CmsLinkBean link) {
  
          if (link == null) {
              link = new CmsLinkBean("", true);
          }
          m_textbox.setFormValueAsString(link.getLink());
          setInternal(link.isInternal());
      }
docs: Sets the link from a bean.<p>
  
  @param link the link bean