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.XmlAttribute;
14  import javax.xml.bind.annotation.XmlElement;
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;extension base="{http://ejava.info/eLeague/1.0.2009.1}ReferencedType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}token"/&gt;
33   *         &lt;element name="e-mail" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/&gt;
34   *         &lt;element name="login" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/&gt;
35   *       &lt;/sequence&gt;
36   *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
37   *     &lt;/extension&gt;
38   *   &lt;/complexContent&gt;
39   * &lt;/complexType&gt;
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "", propOrder = {
46      "name",
47      "eMail",
48      "login"
49  })
50  @XmlRootElement(name = "contact")
51  public class Contact
52      extends ReferencedType
53  {
54  
55      @XmlElement(required = true)
56      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
57      @XmlSchemaType(name = "token")
58      protected String name;
59      @XmlElement(name = "e-mail")
60      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
61      @XmlSchemaType(name = "NCName")
62      protected String eMail;
63      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
64      @XmlSchemaType(name = "NCName")
65      protected String login;
66      @XmlAttribute(name = "id", required = true)
67      protected long id;
68  
69      /**
70       * Default no-arg constructor
71       * 
72       */
73      public Contact() {
74          super();
75      }
76  
77      /**
78       * Fully-initialising value constructor
79       * 
80       */
81      public Contact(final String refid, final String name, final String eMail, final String login, final long id) {
82          super(refid);
83          this.name = name;
84          this.eMail = eMail;
85          this.login = login;
86          this.id = id;
87      }
88  
89      /**
90       * Gets the value of the name property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link String }
95       *     
96       */
97      public String getName() {
98          return name;
99      }
100 
101     /**
102      * Sets the value of the name property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link String }
107      *     
108      */
109     public void setName(String value) {
110         this.name = value;
111     }
112 
113     /**
114      * Gets the value of the eMail property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link String }
119      *     
120      */
121     public String getEMail() {
122         return eMail;
123     }
124 
125     /**
126      * Sets the value of the eMail property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link String }
131      *     
132      */
133     public void setEMail(String value) {
134         this.eMail = value;
135     }
136 
137     /**
138      * Gets the value of the login property.
139      * 
140      * @return
141      *     possible object is
142      *     {@link String }
143      *     
144      */
145     public String getLogin() {
146         return login;
147     }
148 
149     /**
150      * Sets the value of the login property.
151      * 
152      * @param value
153      *     allowed object is
154      *     {@link String }
155      *     
156      */
157     public void setLogin(String value) {
158         this.login = value;
159     }
160 
161     /**
162      * Gets the value of the id property.
163      * 
164      */
165     public long getId() {
166         return id;
167     }
168 
169     /**
170      * Sets the value of the id property.
171      * 
172      */
173     public void setId(long value) {
174         this.id = value;
175     }
176 
177 }