001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2013.02.07 at 02:32:38 PM CET
006 //
007
008
009 package jabber.server;
010
011 import javax.xml.bind.annotation.XmlAccessType;
012 import javax.xml.bind.annotation.XmlAccessorType;
013 import javax.xml.bind.annotation.XmlAttribute;
014 import javax.xml.bind.annotation.XmlElement;
015 import javax.xml.bind.annotation.XmlRootElement;
016 import javax.xml.bind.annotation.XmlSchemaType;
017 import javax.xml.bind.annotation.XmlType;
018 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020 import ietf.params.xml.ns.xmpp_stanzas.Text;
021
022
023 /**
024 * <p>Java class for anonymous complex type.
025 *
026 * <p>The following schema fragment specifies the expected content contained within this class.
027 *
028 * <pre>
029 * <complexType>
030 * <complexContent>
031 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032 * <sequence>
033 * <group ref="{urn:ietf:params:xml:ns:xmpp-stanzas}stanzaErrorGroup"/>
034 * <element ref="{urn:ietf:params:xml:ns:xmpp-stanzas}text" minOccurs="0"/>
035 * </sequence>
036 * <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
037 * <attribute name="type" use="required">
038 * <simpleType>
039 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
040 * <enumeration value="auth"/>
041 * <enumeration value="cancel"/>
042 * <enumeration value="continue"/>
043 * <enumeration value="modify"/>
044 * <enumeration value="wait"/>
045 * </restriction>
046 * </simpleType>
047 * </attribute>
048 * </restriction>
049 * </complexContent>
050 * </complexType>
051 * </pre>
052 *
053 *
054 */
055 @XmlAccessorType(XmlAccessType.FIELD)
056 @XmlType(name = "", propOrder = {
057 "badRequest",
058 "conflict",
059 "featureNotImplemented",
060 "forbidden",
061 "gone",
062 "internalServerError",
063 "itemNotFound",
064 "jidMalformed",
065 "notAcceptable",
066 "notAllowed",
067 "paymentRequired",
068 "recipientUnavailable",
069 "redirect",
070 "registrationRequired",
071 "remoteServerNotFound",
072 "remoteServerTimeout",
073 "resourceConstraint",
074 "serviceUnavailable",
075 "subscriptionRequired",
076 "undefinedCondition",
077 "unexpectedRequest",
078 "text"
079 })
080 @XmlRootElement(name = "error")
081 public class Error {
082
083 @XmlElement(name = "bad-request", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
084 protected String badRequest;
085 @XmlElement(namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
086 protected String conflict;
087 @XmlElement(name = "feature-not-implemented", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
088 protected String featureNotImplemented;
089 @XmlElement(namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
090 protected String forbidden;
091 @XmlElement(namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
092 protected String gone;
093 @XmlElement(name = "internal-server-error", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
094 protected String internalServerError;
095 @XmlElement(name = "item-not-found", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
096 protected String itemNotFound;
097 @XmlElement(name = "jid-malformed", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
098 protected String jidMalformed;
099 @XmlElement(name = "not-acceptable", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
100 protected String notAcceptable;
101 @XmlElement(name = "not-allowed", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
102 protected String notAllowed;
103 @XmlElement(name = "payment-required", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
104 protected String paymentRequired;
105 @XmlElement(name = "recipient-unavailable", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
106 protected String recipientUnavailable;
107 @XmlElement(namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
108 protected String redirect;
109 @XmlElement(name = "registration-required", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
110 protected String registrationRequired;
111 @XmlElement(name = "remote-server-not-found", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
112 protected String remoteServerNotFound;
113 @XmlElement(name = "remote-server-timeout", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
114 protected String remoteServerTimeout;
115 @XmlElement(name = "resource-constraint", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
116 protected String resourceConstraint;
117 @XmlElement(name = "service-unavailable", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
118 protected String serviceUnavailable;
119 @XmlElement(name = "subscription-required", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
120 protected String subscriptionRequired;
121 @XmlElement(name = "undefined-condition", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
122 protected String undefinedCondition;
123 @XmlElement(name = "unexpected-request", namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
124 protected String unexpectedRequest;
125 @XmlElement(namespace = "urn:ietf:params:xml:ns:xmpp-stanzas")
126 protected Text text;
127 @XmlAttribute
128 @XmlSchemaType(name = "unsignedShort")
129 protected Integer code;
130 @XmlAttribute(required = true)
131 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
132 protected String type;
133
134 /**
135 * Gets the value of the badRequest property.
136 *
137 * @return
138 * possible object is
139 * {@link String }
140 *
141 */
142 public String getBadRequest() {
143 return badRequest;
144 }
145
146 /**
147 * Sets the value of the badRequest property.
148 *
149 * @param value
150 * allowed object is
151 * {@link String }
152 *
153 */
154 public void setBadRequest(String value) {
155 this.badRequest = value;
156 }
157
158 /**
159 * Gets the value of the conflict property.
160 *
161 * @return
162 * possible object is
163 * {@link String }
164 *
165 */
166 public String getConflict() {
167 return conflict;
168 }
169
170 /**
171 * Sets the value of the conflict property.
172 *
173 * @param value
174 * allowed object is
175 * {@link String }
176 *
177 */
178 public void setConflict(String value) {
179 this.conflict = value;
180 }
181
182 /**
183 * Gets the value of the featureNotImplemented property.
184 *
185 * @return
186 * possible object is
187 * {@link String }
188 *
189 */
190 public String getFeatureNotImplemented() {
191 return featureNotImplemented;
192 }
193
194 /**
195 * Sets the value of the featureNotImplemented property.
196 *
197 * @param value
198 * allowed object is
199 * {@link String }
200 *
201 */
202 public void setFeatureNotImplemented(String value) {
203 this.featureNotImplemented = value;
204 }
205
206 /**
207 * Gets the value of the forbidden property.
208 *
209 * @return
210 * possible object is
211 * {@link String }
212 *
213 */
214 public String getForbidden() {
215 return forbidden;
216 }
217
218 /**
219 * Sets the value of the forbidden property.
220 *
221 * @param value
222 * allowed object is
223 * {@link String }
224 *
225 */
226 public void setForbidden(String value) {
227 this.forbidden = value;
228 }
229
230 /**
231 * Gets the value of the gone property.
232 *
233 * @return
234 * possible object is
235 * {@link String }
236 *
237 */
238 public String getGone() {
239 return gone;
240 }
241
242 /**
243 * Sets the value of the gone property.
244 *
245 * @param value
246 * allowed object is
247 * {@link String }
248 *
249 */
250 public void setGone(String value) {
251 this.gone = value;
252 }
253
254 /**
255 * Gets the value of the internalServerError property.
256 *
257 * @return
258 * possible object is
259 * {@link String }
260 *
261 */
262 public String getInternalServerError() {
263 return internalServerError;
264 }
265
266 /**
267 * Sets the value of the internalServerError property.
268 *
269 * @param value
270 * allowed object is
271 * {@link String }
272 *
273 */
274 public void setInternalServerError(String value) {
275 this.internalServerError = value;
276 }
277
278 /**
279 * Gets the value of the itemNotFound property.
280 *
281 * @return
282 * possible object is
283 * {@link String }
284 *
285 */
286 public String getItemNotFound() {
287 return itemNotFound;
288 }
289
290 /**
291 * Sets the value of the itemNotFound property.
292 *
293 * @param value
294 * allowed object is
295 * {@link String }
296 *
297 */
298 public void setItemNotFound(String value) {
299 this.itemNotFound = value;
300 }
301
302 /**
303 * Gets the value of the jidMalformed property.
304 *
305 * @return
306 * possible object is
307 * {@link String }
308 *
309 */
310 public String getJidMalformed() {
311 return jidMalformed;
312 }
313
314 /**
315 * Sets the value of the jidMalformed property.
316 *
317 * @param value
318 * allowed object is
319 * {@link String }
320 *
321 */
322 public void setJidMalformed(String value) {
323 this.jidMalformed = value;
324 }
325
326 /**
327 * Gets the value of the notAcceptable property.
328 *
329 * @return
330 * possible object is
331 * {@link String }
332 *
333 */
334 public String getNotAcceptable() {
335 return notAcceptable;
336 }
337
338 /**
339 * Sets the value of the notAcceptable property.
340 *
341 * @param value
342 * allowed object is
343 * {@link String }
344 *
345 */
346 public void setNotAcceptable(String value) {
347 this.notAcceptable = value;
348 }
349
350 /**
351 * Gets the value of the notAllowed property.
352 *
353 * @return
354 * possible object is
355 * {@link String }
356 *
357 */
358 public String getNotAllowed() {
359 return notAllowed;
360 }
361
362 /**
363 * Sets the value of the notAllowed property.
364 *
365 * @param value
366 * allowed object is
367 * {@link String }
368 *
369 */
370 public void setNotAllowed(String value) {
371 this.notAllowed = value;
372 }
373
374 /**
375 * Gets the value of the paymentRequired property.
376 *
377 * @return
378 * possible object is
379 * {@link String }
380 *
381 */
382 public String getPaymentRequired() {
383 return paymentRequired;
384 }
385
386 /**
387 * Sets the value of the paymentRequired property.
388 *
389 * @param value
390 * allowed object is
391 * {@link String }
392 *
393 */
394 public void setPaymentRequired(String value) {
395 this.paymentRequired = value;
396 }
397
398 /**
399 * Gets the value of the recipientUnavailable property.
400 *
401 * @return
402 * possible object is
403 * {@link String }
404 *
405 */
406 public String getRecipientUnavailable() {
407 return recipientUnavailable;
408 }
409
410 /**
411 * Sets the value of the recipientUnavailable property.
412 *
413 * @param value
414 * allowed object is
415 * {@link String }
416 *
417 */
418 public void setRecipientUnavailable(String value) {
419 this.recipientUnavailable = value;
420 }
421
422 /**
423 * Gets the value of the redirect property.
424 *
425 * @return
426 * possible object is
427 * {@link String }
428 *
429 */
430 public String getRedirect() {
431 return redirect;
432 }
433
434 /**
435 * Sets the value of the redirect property.
436 *
437 * @param value
438 * allowed object is
439 * {@link String }
440 *
441 */
442 public void setRedirect(String value) {
443 this.redirect = value;
444 }
445
446 /**
447 * Gets the value of the registrationRequired property.
448 *
449 * @return
450 * possible object is
451 * {@link String }
452 *
453 */
454 public String getRegistrationRequired() {
455 return registrationRequired;
456 }
457
458 /**
459 * Sets the value of the registrationRequired property.
460 *
461 * @param value
462 * allowed object is
463 * {@link String }
464 *
465 */
466 public void setRegistrationRequired(String value) {
467 this.registrationRequired = value;
468 }
469
470 /**
471 * Gets the value of the remoteServerNotFound property.
472 *
473 * @return
474 * possible object is
475 * {@link String }
476 *
477 */
478 public String getRemoteServerNotFound() {
479 return remoteServerNotFound;
480 }
481
482 /**
483 * Sets the value of the remoteServerNotFound property.
484 *
485 * @param value
486 * allowed object is
487 * {@link String }
488 *
489 */
490 public void setRemoteServerNotFound(String value) {
491 this.remoteServerNotFound = value;
492 }
493
494 /**
495 * Gets the value of the remoteServerTimeout property.
496 *
497 * @return
498 * possible object is
499 * {@link String }
500 *
501 */
502 public String getRemoteServerTimeout() {
503 return remoteServerTimeout;
504 }
505
506 /**
507 * Sets the value of the remoteServerTimeout property.
508 *
509 * @param value
510 * allowed object is
511 * {@link String }
512 *
513 */
514 public void setRemoteServerTimeout(String value) {
515 this.remoteServerTimeout = value;
516 }
517
518 /**
519 * Gets the value of the resourceConstraint property.
520 *
521 * @return
522 * possible object is
523 * {@link String }
524 *
525 */
526 public String getResourceConstraint() {
527 return resourceConstraint;
528 }
529
530 /**
531 * Sets the value of the resourceConstraint property.
532 *
533 * @param value
534 * allowed object is
535 * {@link String }
536 *
537 */
538 public void setResourceConstraint(String value) {
539 this.resourceConstraint = value;
540 }
541
542 /**
543 * Gets the value of the serviceUnavailable property.
544 *
545 * @return
546 * possible object is
547 * {@link String }
548 *
549 */
550 public String getServiceUnavailable() {
551 return serviceUnavailable;
552 }
553
554 /**
555 * Sets the value of the serviceUnavailable property.
556 *
557 * @param value
558 * allowed object is
559 * {@link String }
560 *
561 */
562 public void setServiceUnavailable(String value) {
563 this.serviceUnavailable = value;
564 }
565
566 /**
567 * Gets the value of the subscriptionRequired property.
568 *
569 * @return
570 * possible object is
571 * {@link String }
572 *
573 */
574 public String getSubscriptionRequired() {
575 return subscriptionRequired;
576 }
577
578 /**
579 * Sets the value of the subscriptionRequired property.
580 *
581 * @param value
582 * allowed object is
583 * {@link String }
584 *
585 */
586 public void setSubscriptionRequired(String value) {
587 this.subscriptionRequired = value;
588 }
589
590 /**
591 * Gets the value of the undefinedCondition property.
592 *
593 * @return
594 * possible object is
595 * {@link String }
596 *
597 */
598 public String getUndefinedCondition() {
599 return undefinedCondition;
600 }
601
602 /**
603 * Sets the value of the undefinedCondition property.
604 *
605 * @param value
606 * allowed object is
607 * {@link String }
608 *
609 */
610 public void setUndefinedCondition(String value) {
611 this.undefinedCondition = value;
612 }
613
614 /**
615 * Gets the value of the unexpectedRequest property.
616 *
617 * @return
618 * possible object is
619 * {@link String }
620 *
621 */
622 public String getUnexpectedRequest() {
623 return unexpectedRequest;
624 }
625
626 /**
627 * Sets the value of the unexpectedRequest property.
628 *
629 * @param value
630 * allowed object is
631 * {@link String }
632 *
633 */
634 public void setUnexpectedRequest(String value) {
635 this.unexpectedRequest = value;
636 }
637
638 /**
639 * Gets the value of the text property.
640 *
641 * @return
642 * possible object is
643 * {@link Text }
644 *
645 */
646 public Text getText() {
647 return text;
648 }
649
650 /**
651 * Sets the value of the text property.
652 *
653 * @param value
654 * allowed object is
655 * {@link Text }
656 *
657 */
658 public void setText(Text value) {
659 this.text = value;
660 }
661
662 /**
663 * Gets the value of the code property.
664 *
665 * @return
666 * possible object is
667 * {@link Integer }
668 *
669 */
670 public Integer getCode() {
671 return code;
672 }
673
674 /**
675 * Sets the value of the code property.
676 *
677 * @param value
678 * allowed object is
679 * {@link Integer }
680 *
681 */
682 public void setCode(Integer value) {
683 this.code = value;
684 }
685
686 /**
687 * Gets the value of the type property.
688 *
689 * @return
690 * possible object is
691 * {@link String }
692 *
693 */
694 public String getType() {
695 return type;
696 }
697
698 /**
699 * Sets the value of the type property.
700 *
701 * @param value
702 * allowed object is
703 * {@link String }
704 *
705 */
706 public void setType(String value) {
707 this.type = value;
708 }
709
710 }