View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2019.08.22 at 12:16:01 PM UTC 
6   //
7   
8   
9   package ejava.projects.eleague.dto;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlElement;
14  import javax.xml.bind.annotation.XmlIDREF;
15  import javax.xml.bind.annotation.XmlRootElement;
16  import javax.xml.bind.annotation.XmlSchemaType;
17  import javax.xml.bind.annotation.XmlType;
18  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}token"/&gt;
33   *         &lt;element name="contact" type="{http://www.w3.org/2001/XMLSchema}IDREF"/&gt;
34   *       &lt;/sequence&gt;
35   *     &lt;/restriction&gt;
36   *   &lt;/complexContent&gt;
37   * &lt;/complexType&gt;
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "", propOrder = {
44      "name",
45      "contact"
46  })
47  @XmlRootElement(name = "league-metadata")
48  public class LeagueMetadata {
49  
50      @XmlElement(required = true)
51      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
52      @XmlSchemaType(name = "token")
53      protected String name;
54      @XmlElement(required = true)
55      @XmlIDREF
56      @XmlSchemaType(name = "IDREF")
57      protected Object contact;
58  
59      /**
60       * Default no-arg constructor
61       * 
62       */
63      public LeagueMetadata() {
64          super();
65      }
66  
67      /**
68       * Fully-initialising value constructor
69       * 
70       */
71      public LeagueMetadata(final String name, final Object contact) {
72          this.name = name;
73          this.contact = contact;
74      }
75  
76      /**
77       * Gets the value of the name property.
78       * 
79       * @return
80       *     possible object is
81       *     {@link String }
82       *     
83       */
84      public String getName() {
85          return name;
86      }
87  
88      /**
89       * Sets the value of the name property.
90       * 
91       * @param value
92       *     allowed object is
93       *     {@link String }
94       *     
95       */
96      public void setName(String value) {
97          this.name = value;
98      }
99  
100     /**
101      * Gets the value of the contact property.
102      * 
103      * @return
104      *     possible object is
105      *     {@link Object }
106      *     
107      */
108     public Object getContact() {
109         return contact;
110     }
111 
112     /**
113      * Sets the value of the contact property.
114      * 
115      * @param value
116      *     allowed object is
117      *     {@link Object }
118      *     
119      */
120     public void setContact(Object value) {
121         this.contact = value;
122     }
123 
124 }