/// <summary>
 /// Add a templated link.
 /// </summary>
 /// <param name="rel">The link rel.</param>
 /// <param name="template">The link template.</param>
 public void AddTemplatedLink(String rel, String template)
 {
     Link link = new Link();
     link.Rel = rel;
     link.Template = template;
     AddLink(link);
 }
        /// <summary>
        /// Add a hypermedia link. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.
        /// </summary>
        /// <param name="link">The hypermedia link. Links are not specified by GEDCOM X core, but as extension elements by GEDCOM X RS.</param>
        public void AddLink(Link link)
        {
            if (this._links == null)
            {
                _links = new List<Link>();
            }

            this._links.Add(link);
        }
 /**
  * Build up this data with a link.
  *
  * @param link The link.
  * @return this.
  */
 public HypermediaEnabledData SetLink(Link link)
 {
     AddLink(link);
     return this;
 }