bernard
authored
2012-07-02 21:19:19 +0000
1
2
3
4
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
l.gladek
authored
2015-12-18 12:43:14 +0100
5
// Generated on: 2015.12.18 at 12:37:27 PM CET
bernard
authored
2012-07-02 21:19:19 +0000
6
//
bernard
authored
2013-04-04 13:08:24 +0000
7
package pl . itcrowd . youtrack . api . rest ;
bernard
authored
2012-07-02 21:19:19 +0000
8
l.gladek
authored
2015-12-18 12:43:14 +0100
9
10
11
import java.io.Serializable ;
import java.util.ArrayList ;
import java.util.List ;
bernard
authored
2012-07-02 21:19:19 +0000
12
13
14
15
16
17
18
19
20
import javax.xml.bind.JAXBElement ;
import javax.xml.bind.annotation.XmlAccessType ;
import javax.xml.bind.annotation.XmlAccessorType ;
import javax.xml.bind.annotation.XmlAttribute ;
import javax.xml.bind.annotation.XmlElementRef ;
import javax.xml.bind.annotation.XmlElementRefs ;
import javax.xml.bind.annotation.XmlMixed ;
import javax.xml.bind.annotation.XmlType ;
import javax.xml.bind.annotation.XmlValue ;
l.gladek
authored
2015-12-18 12:43:14 +0100
21
bernard
authored
2012-07-02 21:19:19 +0000
22
23
24
/**
* <p>Java class for commentType complex type.
l.gladek
authored
2015-12-18 12:43:14 +0100
25
*
bernard
authored
2012-07-02 21:19:19 +0000
26
* <p>The following schema fragment specifies the expected content contained within this class.
l.gladek
authored
2015-12-18 12:43:14 +0100
27
*
bernard
authored
2012-07-02 21:19:19 +0000
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
* <pre>
* <complexType name="commentType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="replies" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="value" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="author" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="issueId" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="deleted" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="shownForIssueAuthor" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="created" type="{http://www.w3.org/2001/XMLSchema}long" />
bernard
authored
2012-10-31 14:56:42 +0000
52
* <attribute name="updated" type="{http://www.w3.org/2001/XMLSchema}long" />
bernard
authored
2012-07-02 21:19:19 +0000
53
54
55
56
57
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
l.gladek
authored
2015-12-18 12:43:14 +0100
58
59
*
*
bernard
authored
2012-07-02 21:19:19 +0000
60
61
62
63
64
*/
@XmlAccessorType ( XmlAccessType . FIELD )
@XmlType ( name = "commentType" , propOrder = { "content" })
public class Comment {
l.gladek
authored
2015-12-18 12:43:14 +0100
65
66
67
68
@XmlAttribute
protected String author ;
@XmlElementRefs ({ @XmlElementRef ( name = "value" , type = JAXBElement . class ), @XmlElementRef ( name = "replies" , type = JAXBElement . class )})
bernard
authored
2012-07-02 21:19:19 +0000
69
70
71
72
@XmlMixed
protected List < Serializable > content ;
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
73
protected Long created ;
bernard
authored
2012-07-02 21:19:19 +0000
74
75
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
76
protected String deleted ;
bernard
authored
2012-07-02 21:19:19 +0000
77
78
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
79
protected String id ;
bernard
authored
2012-07-02 21:19:19 +0000
80
81
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
82
protected String issueId ;
bernard
authored
2012-07-02 21:19:19 +0000
83
84
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
85
protected String name ;
bernard
authored
2012-07-02 21:19:19 +0000
86
87
88
89
90
@XmlAttribute
protected String shownForIssueAuthor ;
@XmlAttribute
l.gladek
authored
2015-12-18 12:43:14 +0100
91
protected String text ;
bernard
authored
2012-07-02 21:19:19 +0000
92
bernard
authored
2012-10-31 14:56:42 +0000
93
94
95
@XmlAttribute
protected Long updated ;
l.gladek
authored
2015-12-18 12:43:14 +0100
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/**
* Gets the value of the author property.
*
* @return possible object is
* {@link String }
*/
public String getAuthor ()
{
return author ;
}
/**
* Sets the value of the author property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAuthor ( String value )
{
this . author = value ;
}
bernard
authored
2012-07-02 21:19:19 +0000
119
120
121
/**
* Gets the value of the content property.
l.gladek
authored
2015-12-18 12:43:14 +0100
122
123
*
* <p>
bernard
authored
2012-07-02 21:19:19 +0000
124
125
126
127
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the content property.
l.gladek
authored
2015-12-18 12:43:14 +0100
128
129
*
* <p>
bernard
authored
2012-07-02 21:19:19 +0000
130
131
132
133
* For example, to add a new item, do as follows:
* <pre>
* getContent().add(newItem);
* </pre>
l.gladek
authored
2015-12-18 12:43:14 +0100
134
135
136
*
*
* <p>
bernard
authored
2012-07-02 21:19:19 +0000
137
* Objects of the following type(s) are allowed in the list
bernard
authored
2013-05-07 10:25:46 +0000
138
* {@link JAXBElement }{@code <}{@link String }{@code >}
l.gladek
authored
2015-12-18 12:43:14 +0100
139
140
141
142
* {@link String }
* {@link JAXBElement }{@code <}{@link Comment.Value }{@code >}
*
*
bernard
authored
2012-07-02 21:19:19 +0000
143
144
145
146
147
148
149
150
151
152
*/
public List < Serializable > getContent ()
{
if ( content == null ) {
content = new ArrayList < Serializable >();
}
return this . content ;
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
153
154
155
156
157
* Gets the value of the created property.
*
* @return
* possible object is
* {@link Long }
bernard
authored
2012-07-02 21:19:19 +0000
158
159
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
160
public Long getCreated ()
bernard
authored
2012-07-02 21:19:19 +0000
161
{
l.gladek
authored
2015-12-18 12:43:14 +0100
162
return created ;
bernard
authored
2012-07-02 21:19:19 +0000
163
164
165
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
166
167
168
169
170
* Sets the value of the created property.
*
* @param value
* allowed object is
* {@link Long }
bernard
authored
2012-07-02 21:19:19 +0000
171
172
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
173
public void setCreated ( Long value )
bernard
authored
2012-07-02 21:19:19 +0000
174
{
l.gladek
authored
2015-12-18 12:43:14 +0100
175
this . created = value ;
bernard
authored
2012-07-02 21:19:19 +0000
176
177
178
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
179
180
181
182
183
* Gets the value of the deleted property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
184
185
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
186
public String getDeleted ()
bernard
authored
2012-07-02 21:19:19 +0000
187
{
l.gladek
authored
2015-12-18 12:43:14 +0100
188
return deleted ;
bernard
authored
2012-07-02 21:19:19 +0000
189
190
191
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
192
193
194
195
196
* Sets the value of the deleted property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
197
198
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
199
public void setDeleted ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
200
{
l.gladek
authored
2015-12-18 12:43:14 +0100
201
this . deleted = value ;
bernard
authored
2012-07-02 21:19:19 +0000
202
203
204
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
205
206
207
208
209
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
210
211
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
212
public String getId ()
bernard
authored
2012-07-02 21:19:19 +0000
213
{
l.gladek
authored
2015-12-18 12:43:14 +0100
214
return id ;
bernard
authored
2012-07-02 21:19:19 +0000
215
216
217
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
218
219
220
221
222
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
223
224
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
225
public void setId ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
226
{
l.gladek
authored
2015-12-18 12:43:14 +0100
227
this . id = value ;
bernard
authored
2012-07-02 21:19:19 +0000
228
229
230
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
231
232
233
234
235
* Gets the value of the issueId property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
236
237
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
238
public String getIssueId ()
bernard
authored
2012-07-02 21:19:19 +0000
239
{
l.gladek
authored
2015-12-18 12:43:14 +0100
240
return issueId ;
bernard
authored
2012-07-02 21:19:19 +0000
241
242
243
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
244
245
246
247
248
* Sets the value of the issueId property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
249
250
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
251
public void setIssueId ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
252
{
l.gladek
authored
2015-12-18 12:43:14 +0100
253
this . issueId = value ;
bernard
authored
2012-07-02 21:19:19 +0000
254
255
256
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
257
258
259
260
261
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
262
263
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
264
public String getName ()
bernard
authored
2012-07-02 21:19:19 +0000
265
{
l.gladek
authored
2015-12-18 12:43:14 +0100
266
return name ;
bernard
authored
2012-07-02 21:19:19 +0000
267
268
269
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
270
271
272
273
274
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
275
276
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
277
public void setName ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
278
{
l.gladek
authored
2015-12-18 12:43:14 +0100
279
this . name = value ;
bernard
authored
2012-07-02 21:19:19 +0000
280
281
282
283
284
}
/**
* Gets the value of the shownForIssueAuthor property.
*
l.gladek
authored
2015-12-18 12:43:14 +0100
285
286
287
288
* @return
* possible object is
* {@link String }
*
bernard
authored
2012-07-02 21:19:19 +0000
289
290
291
292
293
294
295
296
297
*/
public String getShownForIssueAuthor ()
{
return shownForIssueAuthor ;
}
/**
* Sets the value of the shownForIssueAuthor property.
*
l.gladek
authored
2015-12-18 12:43:14 +0100
298
299
300
301
* @param value
* allowed object is
* {@link String }
*
bernard
authored
2012-07-02 21:19:19 +0000
302
303
304
305
306
307
308
*/
public void setShownForIssueAuthor ( String value )
{
this . shownForIssueAuthor = value ;
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
309
310
311
312
313
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
314
315
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
316
public String getText ()
bernard
authored
2012-07-02 21:19:19 +0000
317
{
l.gladek
authored
2015-12-18 12:43:14 +0100
318
return text ;
bernard
authored
2012-07-02 21:19:19 +0000
319
320
321
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
322
323
324
325
326
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
327
328
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
329
public void setText ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
330
{
l.gladek
authored
2015-12-18 12:43:14 +0100
331
this . text = value ;
bernard
authored
2012-07-02 21:19:19 +0000
332
333
}
bernard
authored
2012-10-31 14:56:42 +0000
334
335
336
/**
* Gets the value of the updated property.
*
l.gladek
authored
2015-12-18 12:43:14 +0100
337
338
339
340
* @return
* possible object is
* {@link Long }
*
bernard
authored
2012-10-31 14:56:42 +0000
341
342
343
344
345
346
347
348
349
*/
public Long getUpdated ()
{
return updated ;
}
/**
* Sets the value of the updated property.
*
l.gladek
authored
2015-12-18 12:43:14 +0100
350
351
352
353
* @param value
* allowed object is
* {@link Long }
*
bernard
authored
2012-10-31 14:56:42 +0000
354
355
356
357
358
359
*/
public void setUpdated ( Long value )
{
this . updated = value ;
}
bernard
authored
2013-04-04 13:12:45 +0000
360
/**
bernard
authored
2012-07-02 21:19:19 +0000
361
* <p>Java class for anonymous complex type.
l.gladek
authored
2015-12-18 12:43:14 +0100
362
*
bernard
authored
2012-07-02 21:19:19 +0000
363
* <p>The following schema fragment specifies the expected content contained within this class.
l.gladek
authored
2015-12-18 12:43:14 +0100
364
*
bernard
authored
2012-07-02 21:19:19 +0000
365
366
367
368
369
370
371
372
373
374
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
l.gladek
authored
2015-12-18 12:43:14 +0100
375
376
*
*
bernard
authored
2012-07-02 21:19:19 +0000
377
378
379
380
381
*/
@XmlAccessorType ( XmlAccessType . FIELD )
@XmlType ( name = "" , propOrder = { "value" })
public static class Value {
l.gladek
authored
2015-12-18 12:43:14 +0100
382
383
@XmlAttribute
protected String role ;
bernard
authored
2012-07-02 21:19:19 +0000
384
385
386
387
@XmlAttribute
protected String type ;
l.gladek
authored
2015-12-18 12:43:14 +0100
388
389
@XmlValue
protected String value ;
bernard
authored
2012-07-02 21:19:19 +0000
390
391
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
392
393
394
395
396
* Gets the value of the role property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
397
398
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
399
public String getRole ()
bernard
authored
2012-07-02 21:19:19 +0000
400
{
l.gladek
authored
2015-12-18 12:43:14 +0100
401
return role ;
bernard
authored
2012-07-02 21:19:19 +0000
402
403
404
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
405
406
407
408
409
* Sets the value of the role property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
410
411
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
412
public void setRole ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
413
{
l.gladek
authored
2015-12-18 12:43:14 +0100
414
this . role = value ;
bernard
authored
2012-07-02 21:19:19 +0000
415
416
417
418
}
/**
* Gets the value of the type property.
l.gladek
authored
2015-12-18 12:43:14 +0100
419
420
421
422
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
423
424
425
426
427
428
429
430
431
*
*/
public String getType ()
{
return type ;
}
/**
* Sets the value of the type property.
l.gladek
authored
2015-12-18 12:43:14 +0100
432
433
434
435
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
436
437
438
439
440
441
442
443
*
*/
public void setType ( String value )
{
this . type = value ;
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
444
445
446
447
448
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
449
450
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
451
public String getValue ()
bernard
authored
2012-07-02 21:19:19 +0000
452
{
l.gladek
authored
2015-12-18 12:43:14 +0100
453
return value ;
bernard
authored
2012-07-02 21:19:19 +0000
454
455
456
}
/**
l.gladek
authored
2015-12-18 12:43:14 +0100
457
458
459
460
461
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
bernard
authored
2012-07-02 21:19:19 +0000
462
463
*
*/
l.gladek
authored
2015-12-18 12:43:14 +0100
464
public void setValue ( String value )
bernard
authored
2012-07-02 21:19:19 +0000
465
{
l.gladek
authored
2015-12-18 12:43:14 +0100
466
this . value = value ;
bernard
authored
2012-07-02 21:19:19 +0000
467
468
469
}
}
}