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