svn-gvsig-desktop / tmp / trunk / servidor / WorkSpace_Servidor / src / net / schema / ows / impl0_3_20 / ExceptionReport.java @ 26474
History | View | Annotate | Download (3.8 KB)
1 |
//
|
---|---|
2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-20060719-fcs
|
3 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
4 |
// Any modifications to this file will be lost upon recompilation of the source schema.
|
5 |
// Generated on: 2006.08.01 at 08:15:26 AM EDT
|
6 |
//
|
7 |
|
8 |
|
9 |
package net.schema.ows.impl0_3_20; |
10 |
|
11 |
import java.util.ArrayList; |
12 |
import java.util.List; |
13 |
import javax.xml.bind.annotation.XmlAccessType; |
14 |
import javax.xml.bind.annotation.XmlAccessorType; |
15 |
import javax.xml.bind.annotation.XmlAttribute; |
16 |
import javax.xml.bind.annotation.XmlElement; |
17 |
import javax.xml.bind.annotation.XmlRootElement; |
18 |
import javax.xml.bind.annotation.XmlType; |
19 |
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
20 |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
21 |
|
22 |
|
23 |
/**
|
24 |
* <p>Java class for anonymous complex type.
|
25 |
*
|
26 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
27 |
*
|
28 |
* <pre>
|
29 |
* <complexType>
|
30 |
* <complexContent>
|
31 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
32 |
* <sequence>
|
33 |
* <element name="Exception" type="{http://www.opengis.net/ows}ExceptionType" maxOccurs="unbounded"/>
|
34 |
* </sequence>
|
35 |
* <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" />
|
36 |
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
37 |
* </restriction>
|
38 |
* </complexContent>
|
39 |
* </complexType>
|
40 |
* </pre>
|
41 |
*
|
42 |
*
|
43 |
*/
|
44 |
@XmlAccessorType(XmlAccessType.FIELD)
|
45 |
@XmlType(name = "", propOrder = { |
46 |
"exception"
|
47 |
}) |
48 |
@XmlRootElement(name = "ExceptionReport") |
49 |
public class ExceptionReport { |
50 |
|
51 |
@XmlElement(name = "Exception", required = true) |
52 |
protected List<ExceptionType> exception; |
53 |
@XmlAttribute
|
54 |
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
55 |
protected String language; |
56 |
@XmlAttribute(required = true) |
57 |
protected String version; |
58 |
|
59 |
/**
|
60 |
* Gets the value of the exception property.
|
61 |
*
|
62 |
* <p>
|
63 |
* This accessor method returns a reference to the live list,
|
64 |
* not a snapshot. Therefore any modification you make to the
|
65 |
* returned list will be present inside the JAXB object.
|
66 |
* This is why there is not a <CODE>set</CODE> method for the exception property.
|
67 |
*
|
68 |
* <p>
|
69 |
* For example, to add a new item, do as follows:
|
70 |
* <pre>
|
71 |
* getException().add(newItem);
|
72 |
* </pre>
|
73 |
*
|
74 |
*
|
75 |
* <p>
|
76 |
* Objects of the following type(s) are allowed in the list
|
77 |
* {@link ExceptionType }
|
78 |
*
|
79 |
*
|
80 |
*/
|
81 |
public List<ExceptionType> getException() { |
82 |
if (exception == null) { |
83 |
exception = new ArrayList<ExceptionType>(); |
84 |
} |
85 |
return this.exception; |
86 |
} |
87 |
|
88 |
/**
|
89 |
* Gets the value of the language property.
|
90 |
*
|
91 |
* @return
|
92 |
* possible object is
|
93 |
* {@link String }
|
94 |
*
|
95 |
*/
|
96 |
public String getLanguage() { |
97 |
return language;
|
98 |
} |
99 |
|
100 |
/**
|
101 |
* Sets the value of the language property.
|
102 |
*
|
103 |
* @param value
|
104 |
* allowed object is
|
105 |
* {@link String }
|
106 |
*
|
107 |
*/
|
108 |
public void setLanguage(String value) { |
109 |
this.language = value;
|
110 |
} |
111 |
|
112 |
/**
|
113 |
* Gets the value of the version property.
|
114 |
*
|
115 |
* @return
|
116 |
* possible object is
|
117 |
* {@link String }
|
118 |
*
|
119 |
*/
|
120 |
public String getVersion() { |
121 |
return version;
|
122 |
} |
123 |
|
124 |
/**
|
125 |
* Sets the value of the version property.
|
126 |
*
|
127 |
* @param value
|
128 |
* allowed object is
|
129 |
* {@link String }
|
130 |
*
|
131 |
*/
|
132 |
public void setVersion(String value) { |
133 |
this.version = value;
|
134 |
} |
135 |
|
136 |
} |