svn-gvsig-desktop / tmp / trunk / servidor / WorkSpace_Servidor / ows-parsers / src / net / schema / ows / impl1_1_0 / ExceptionReport.java @ 26481
History | View | Annotate | Download (4.17 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:18:28 AM EDT
|
6 |
//
|
7 |
|
8 |
|
9 |
package net.schema.ows.impl1_1_0; |
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 ref="{http://www.opengeospatial.net/ows}Exception" maxOccurs="unbounded"/>
|
34 |
* </sequence>
|
35 |
* <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" />
|
36 |
* <attribute name="version" use="required">
|
37 |
* <simpleType>
|
38 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
39 |
* <pattern value="\d+\.\d?\d\.\d?\d"/>
|
40 |
* </restriction>
|
41 |
* </simpleType>
|
42 |
* </attribute>
|
43 |
* </restriction>
|
44 |
* </complexContent>
|
45 |
* </complexType>
|
46 |
* </pre>
|
47 |
*
|
48 |
*
|
49 |
*/
|
50 |
@XmlAccessorType(XmlAccessType.FIELD)
|
51 |
@XmlType(name = "", propOrder = { |
52 |
"exception"
|
53 |
}) |
54 |
@XmlRootElement(name = "ExceptionReport") |
55 |
public class ExceptionReport { |
56 |
|
57 |
@XmlElement(name = "Exception", required = true) |
58 |
protected List<ExceptionType> exception; |
59 |
@XmlAttribute
|
60 |
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
61 |
protected String language; |
62 |
@XmlAttribute(required = true) |
63 |
protected String version; |
64 |
|
65 |
/**
|
66 |
* Unordered list of one or more Exception elements that each describes an error. These Exception elements shall be interpreted by clients as being independent of one another (not hierarchical). Gets the value of the exception property.
|
67 |
*
|
68 |
* <p>
|
69 |
* This accessor method returns a reference to the live list,
|
70 |
* not a snapshot. Therefore any modification you make to the
|
71 |
* returned list will be present inside the JAXB object.
|
72 |
* This is why there is not a <CODE>set</CODE> method for the exception property.
|
73 |
*
|
74 |
* <p>
|
75 |
* For example, to add a new item, do as follows:
|
76 |
* <pre>
|
77 |
* getException().add(newItem);
|
78 |
* </pre>
|
79 |
*
|
80 |
*
|
81 |
* <p>
|
82 |
* Objects of the following type(s) are allowed in the list
|
83 |
* {@link ExceptionType }
|
84 |
*
|
85 |
*
|
86 |
*/
|
87 |
public List<ExceptionType> getException() { |
88 |
if (exception == null) { |
89 |
exception = new ArrayList<ExceptionType>(); |
90 |
} |
91 |
return this.exception; |
92 |
} |
93 |
|
94 |
/**
|
95 |
* Gets the value of the language property.
|
96 |
*
|
97 |
* @return
|
98 |
* possible object is
|
99 |
* {@link String }
|
100 |
*
|
101 |
*/
|
102 |
public String getLanguage() { |
103 |
return language;
|
104 |
} |
105 |
|
106 |
/**
|
107 |
* Sets the value of the language property.
|
108 |
*
|
109 |
* @param value
|
110 |
* allowed object is
|
111 |
* {@link String }
|
112 |
*
|
113 |
*/
|
114 |
public void setLanguage(String value) { |
115 |
this.language = value;
|
116 |
} |
117 |
|
118 |
/**
|
119 |
* Gets the value of the version property.
|
120 |
*
|
121 |
* @return
|
122 |
* possible object is
|
123 |
* {@link String }
|
124 |
*
|
125 |
*/
|
126 |
public String getVersion() { |
127 |
return version;
|
128 |
} |
129 |
|
130 |
/**
|
131 |
* Sets the value of the version property.
|
132 |
*
|
133 |
* @param value
|
134 |
* allowed object is
|
135 |
* {@link String }
|
136 |
*
|
137 |
*/
|
138 |
public void setVersion(String value) { |
139 |
this.version = value;
|
140 |
} |
141 |
|
142 |
} |