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}Name"/&gt;
33   *         &lt;element name="directions" type="{http://www.w3.org/2001/XMLSchema}token"/&gt;
34   *         &lt;element name="adcPage" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN"/&gt;
35   *         &lt;element name="street1" type="{http://www.w3.org/2001/XMLSchema}token"/&gt;
36   *         &lt;element name="street2" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/&gt;
37   *         &lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}token"/&gt;
38   *         &lt;element name="state" type="{http://www.w3.org/2001/XMLSchema}NCName"/&gt;
39   *         &lt;element name="zip" type="{http://www.w3.org/2001/XMLSchema}NCName"/&gt;
40   *       &lt;/sequence&gt;
41   *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
42   *     &lt;/extension&gt;
43   *   &lt;/complexContent&gt;
44   * &lt;/complexType&gt;
45   * </pre>
46   * 
47   * 
48   */
49  @XmlAccessorType(XmlAccessType.FIELD)
50  @XmlType(name = "", propOrder = {
51      "name",
52      "directions",
53      "adcPage",
54      "street1",
55      "street2",
56      "city",
57      "state",
58      "zip"
59  })
60  @XmlRootElement(name = "venue")
61  public class Venue
62      extends ReferencedType
63  {
64  
65      @XmlElement(required = true)
66      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
67      @XmlSchemaType(name = "Name")
68      protected String name;
69      @XmlElement(required = true)
70      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
71      @XmlSchemaType(name = "token")
72      protected String directions;
73      @XmlElement(required = true)
74      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
75      @XmlSchemaType(name = "NMTOKEN")
76      protected String adcPage;
77      @XmlElement(required = true)
78      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
79      @XmlSchemaType(name = "token")
80      protected String street1;
81      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
82      @XmlSchemaType(name = "token")
83      protected String street2;
84      @XmlElement(required = true)
85      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
86      @XmlSchemaType(name = "token")
87      protected String city;
88      @XmlElement(required = true)
89      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
90      @XmlSchemaType(name = "NCName")
91      protected String state;
92      @XmlElement(required = true)
93      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
94      @XmlSchemaType(name = "NCName")
95      protected String zip;
96      @XmlAttribute(name = "id", required = true)
97      protected long id;
98  
99      /**
100      * Default no-arg constructor
101      * 
102      */
103     public Venue() {
104         super();
105     }
106 
107     /**
108      * Fully-initialising value constructor
109      * 
110      */
111     public Venue(final String refid, final String name, final String directions, final String adcPage, final String street1, final String street2, final String city, final String state, final String zip, final long id) {
112         super(refid);
113         this.name = name;
114         this.directions = directions;
115         this.adcPage = adcPage;
116         this.street1 = street1;
117         this.street2 = street2;
118         this.city = city;
119         this.state = state;
120         this.zip = zip;
121         this.id = id;
122     }
123 
124     /**
125      * Gets the value of the name property.
126      * 
127      * @return
128      *     possible object is
129      *     {@link String }
130      *     
131      */
132     public String getName() {
133         return name;
134     }
135 
136     /**
137      * Sets the value of the name property.
138      * 
139      * @param value
140      *     allowed object is
141      *     {@link String }
142      *     
143      */
144     public void setName(String value) {
145         this.name = value;
146     }
147 
148     /**
149      * Gets the value of the directions property.
150      * 
151      * @return
152      *     possible object is
153      *     {@link String }
154      *     
155      */
156     public String getDirections() {
157         return directions;
158     }
159 
160     /**
161      * Sets the value of the directions property.
162      * 
163      * @param value
164      *     allowed object is
165      *     {@link String }
166      *     
167      */
168     public void setDirections(String value) {
169         this.directions = value;
170     }
171 
172     /**
173      * Gets the value of the adcPage property.
174      * 
175      * @return
176      *     possible object is
177      *     {@link String }
178      *     
179      */
180     public String getAdcPage() {
181         return adcPage;
182     }
183 
184     /**
185      * Sets the value of the adcPage property.
186      * 
187      * @param value
188      *     allowed object is
189      *     {@link String }
190      *     
191      */
192     public void setAdcPage(String value) {
193         this.adcPage = value;
194     }
195 
196     /**
197      * Gets the value of the street1 property.
198      * 
199      * @return
200      *     possible object is
201      *     {@link String }
202      *     
203      */
204     public String getStreet1() {
205         return street1;
206     }
207 
208     /**
209      * Sets the value of the street1 property.
210      * 
211      * @param value
212      *     allowed object is
213      *     {@link String }
214      *     
215      */
216     public void setStreet1(String value) {
217         this.street1 = value;
218     }
219 
220     /**
221      * Gets the value of the street2 property.
222      * 
223      * @return
224      *     possible object is
225      *     {@link String }
226      *     
227      */
228     public String getStreet2() {
229         return street2;
230     }
231 
232     /**
233      * Sets the value of the street2 property.
234      * 
235      * @param value
236      *     allowed object is
237      *     {@link String }
238      *     
239      */
240     public void setStreet2(String value) {
241         this.street2 = value;
242     }
243 
244     /**
245      * Gets the value of the city property.
246      * 
247      * @return
248      *     possible object is
249      *     {@link String }
250      *     
251      */
252     public String getCity() {
253         return city;
254     }
255 
256     /**
257      * Sets the value of the city property.
258      * 
259      * @param value
260      *     allowed object is
261      *     {@link String }
262      *     
263      */
264     public void setCity(String value) {
265         this.city = value;
266     }
267 
268     /**
269      * Gets the value of the state property.
270      * 
271      * @return
272      *     possible object is
273      *     {@link String }
274      *     
275      */
276     public String getState() {
277         return state;
278     }
279 
280     /**
281      * Sets the value of the state property.
282      * 
283      * @param value
284      *     allowed object is
285      *     {@link String }
286      *     
287      */
288     public void setState(String value) {
289         this.state = value;
290     }
291 
292     /**
293      * Gets the value of the zip property.
294      * 
295      * @return
296      *     possible object is
297      *     {@link String }
298      *     
299      */
300     public String getZip() {
301         return zip;
302     }
303 
304     /**
305      * Sets the value of the zip property.
306      * 
307      * @param value
308      *     allowed object is
309      *     {@link String }
310      *     
311      */
312     public void setZip(String value) {
313         this.zip = value;
314     }
315 
316     /**
317      * Gets the value of the id property.
318      * 
319      */
320     public long getId() {
321         return id;
322     }
323 
324     /**
325      * Sets the value of the id property.
326      * 
327      */
328     public void setId(long value) {
329         this.id = value;
330     }
331 
332 }