Link.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2016.10.23 at 07:13:20 AM UTC
  6. //


  7. package org.exoplatform.wiki.service.rest.model;

  8. import javax.xml.bind.annotation.XmlAccessType;
  9. import javax.xml.bind.annotation.XmlAccessorType;
  10. import javax.xml.bind.annotation.XmlAttribute;
  11. import javax.xml.bind.annotation.XmlType;


  12. /**
  13.  * <p>Java class for Link complex type.
  14.  *
  15.  * <p>The following schema fragment specifies the expected content contained within this class.
  16.  *
  17.  * <pre>
  18.  * &lt;complexType name="Link"&gt;
  19.  *   &lt;complexContent&gt;
  20.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  21.  *       &lt;attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  22.  *       &lt;attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  23.  *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  24.  *       &lt;attribute name="hrefLang" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
  25.  *     &lt;/restriction&gt;
  26.  *   &lt;/complexContent&gt;
  27.  * &lt;/complexType&gt;
  28.  * </pre>
  29.  *
  30.  *
  31.  */
  32. @XmlAccessorType(XmlAccessType.FIELD)
  33. @XmlType(name = "Link")
  34. public class Link {

  35.     @XmlAttribute(name = "href")
  36.     protected String href;
  37.     @XmlAttribute(name = "rel")
  38.     protected String rel;
  39.     @XmlAttribute(name = "type")
  40.     protected String type;
  41.     @XmlAttribute(name = "hrefLang")
  42.     protected String hrefLang;

  43.     /**
  44.      * Gets the value of the href property.
  45.      *
  46.      * @return
  47.      *     possible object is
  48.      *     {@link String }
  49.      *    
  50.      */
  51.     public String getHref() {
  52.         return href;
  53.     }

  54.     /**
  55.      * Sets the value of the href property.
  56.      *
  57.      * @param value
  58.      *     allowed object is
  59.      *     {@link String }
  60.      *    
  61.      */
  62.     public void setHref(String value) {
  63.         this.href = value;
  64.     }

  65.     /**
  66.      * Gets the value of the rel property.
  67.      *
  68.      * @return
  69.      *     possible object is
  70.      *     {@link String }
  71.      *    
  72.      */
  73.     public String getRel() {
  74.         return rel;
  75.     }

  76.     /**
  77.      * Sets the value of the rel property.
  78.      *
  79.      * @param value
  80.      *     allowed object is
  81.      *     {@link String }
  82.      *    
  83.      */
  84.     public void setRel(String value) {
  85.         this.rel = value;
  86.     }

  87.     /**
  88.      * Gets the value of the type property.
  89.      *
  90.      * @return
  91.      *     possible object is
  92.      *     {@link String }
  93.      *    
  94.      */
  95.     public String getType() {
  96.         return type;
  97.     }

  98.     /**
  99.      * Sets the value of the type property.
  100.      *
  101.      * @param value
  102.      *     allowed object is
  103.      *     {@link String }
  104.      *    
  105.      */
  106.     public void setType(String value) {
  107.         this.type = value;
  108.     }

  109.     /**
  110.      * Gets the value of the hrefLang property.
  111.      *
  112.      * @return
  113.      *     possible object is
  114.      *     {@link String }
  115.      *    
  116.      */
  117.     public String getHrefLang() {
  118.         return hrefLang;
  119.     }

  120.     /**
  121.      * Sets the value of the hrefLang property.
  122.      *
  123.      * @param value
  124.      *     allowed object is
  125.      *     {@link String }
  126.      *    
  127.      */
  128.     public void setHrefLang(String value) {
  129.         this.hrefLang = value;
  130.     }

  131. }