Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
EnvelopeType |
|
| 0.0;0 |
1 | // |
|
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-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: 2008.06.11 at 12:15:46 AM EDT |
|
6 | // |
|
7 | ||
8 | ||
9 | package net.opengis.gml; |
|
10 | ||
11 | import java.math.BigInteger; |
|
12 | import java.util.ArrayList; |
|
13 | import java.util.List; |
|
14 | import javax.xml.bind.annotation.XmlAccessType; |
|
15 | import javax.xml.bind.annotation.XmlAccessorType; |
|
16 | import javax.xml.bind.annotation.XmlAttribute; |
|
17 | import javax.xml.bind.annotation.XmlSchemaType; |
|
18 | import javax.xml.bind.annotation.XmlType; |
|
19 | ||
20 | ||
21 | /** |
|
22 | * Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope), the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the envelope). |
|
23 | * |
|
24 | * <p>Java class for EnvelopeType complex type. |
|
25 | * |
|
26 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
27 | * |
|
28 | * <pre> |
|
29 | * <complexType name="EnvelopeType"> |
|
30 | * <complexContent> |
|
31 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
32 | * <choice> |
|
33 | * <sequence> |
|
34 | * <element name="lowerCorner" type="{http://www.opengis.net/gml}DirectPositionType"/> |
|
35 | * <element name="upperCorner" type="{http://www.opengis.net/gml}DirectPositionType"/> |
|
36 | * </sequence> |
|
37 | * <element ref="{http://www.opengis.net/gml}coord" maxOccurs="2" minOccurs="2"/> |
|
38 | * <element ref="{http://www.opengis.net/gml}pos" maxOccurs="2" minOccurs="2"/> |
|
39 | * <element ref="{http://www.opengis.net/gml}coordinates"/> |
|
40 | * </choice> |
|
41 | * <attGroup ref="{http://www.opengis.net/gml}SRSReferenceGroup"/> |
|
42 | * </restriction> |
|
43 | * </complexContent> |
|
44 | * </complexType> |
|
45 | * </pre> |
|
46 | * |
|
47 | * |
|
48 | */ |
|
49 | @XmlAccessorType(XmlAccessType.FIELD) |
|
50 | @XmlType(name = "EnvelopeType", propOrder = { |
|
51 | "lowerCorner", |
|
52 | "upperCorner", |
|
53 | "coord", |
|
54 | "pos", |
|
55 | "coordinates" |
|
56 | }) |
|
57 | 0 | public class EnvelopeType { |
58 | ||
59 | protected DirectPositionType lowerCorner; |
|
60 | protected DirectPositionType upperCorner; |
|
61 | protected List<CoordType> coord; |
|
62 | protected List<DirectPositionType> pos; |
|
63 | protected CoordinatesType coordinates; |
|
64 | @XmlAttribute |
|
65 | @XmlSchemaType(name = "anyURI") |
|
66 | protected String srsName; |
|
67 | @XmlAttribute |
|
68 | @XmlSchemaType(name = "positiveInteger") |
|
69 | protected BigInteger srsDimension; |
|
70 | @XmlAttribute |
|
71 | protected List<String> axisLabels; |
|
72 | @XmlAttribute |
|
73 | protected List<String> uomLabels; |
|
74 | ||
75 | /** |
|
76 | * Gets the value of the lowerCorner property. |
|
77 | * |
|
78 | * @return |
|
79 | * possible object is |
|
80 | * {@link DirectPositionType } |
|
81 | * |
|
82 | */ |
|
83 | public DirectPositionType getLowerCorner() { |
|
84 | 0 | return lowerCorner; |
85 | } |
|
86 | ||
87 | /** |
|
88 | * Sets the value of the lowerCorner property. |
|
89 | * |
|
90 | * @param value |
|
91 | * allowed object is |
|
92 | * {@link DirectPositionType } |
|
93 | * |
|
94 | */ |
|
95 | public void setLowerCorner(DirectPositionType value) { |
|
96 | 0 | this.lowerCorner = value; |
97 | 0 | } |
98 | ||
99 | /** |
|
100 | * Gets the value of the upperCorner property. |
|
101 | * |
|
102 | * @return |
|
103 | * possible object is |
|
104 | * {@link DirectPositionType } |
|
105 | * |
|
106 | */ |
|
107 | public DirectPositionType getUpperCorner() { |
|
108 | 0 | return upperCorner; |
109 | } |
|
110 | ||
111 | /** |
|
112 | * Sets the value of the upperCorner property. |
|
113 | * |
|
114 | * @param value |
|
115 | * allowed object is |
|
116 | * {@link DirectPositionType } |
|
117 | * |
|
118 | */ |
|
119 | public void setUpperCorner(DirectPositionType value) { |
|
120 | 0 | this.upperCorner = value; |
121 | 0 | } |
122 | ||
123 | /** |
|
124 | * deprecated with GML version 3.0 Gets the value of the coord property. |
|
125 | * |
|
126 | * <p> |
|
127 | * This accessor method returns a reference to the live list, |
|
128 | * not a snapshot. Therefore any modification you make to the |
|
129 | * returned list will be present inside the JAXB object. |
|
130 | * This is why there is not a <CODE>set</CODE> method for the coord property. |
|
131 | * |
|
132 | * <p> |
|
133 | * For example, to add a new item, do as follows: |
|
134 | * <pre> |
|
135 | * getCoord().add(newItem); |
|
136 | * </pre> |
|
137 | * |
|
138 | * |
|
139 | * <p> |
|
140 | * Objects of the following type(s) are allowed in the list |
|
141 | * {@link CoordType } |
|
142 | * |
|
143 | * |
|
144 | */ |
|
145 | public List<CoordType> getCoord() { |
|
146 | 0 | if (coord == null) { |
147 | 0 | coord = new ArrayList<CoordType>(); |
148 | } |
|
149 | 0 | return this.coord; |
150 | } |
|
151 | ||
152 | /** |
|
153 | * Deprecated with GML version 3.1. Use the explicit properties "lowerCorner" and "upperCorner" instead.Gets the value of the pos property. |
|
154 | * |
|
155 | * <p> |
|
156 | * This accessor method returns a reference to the live list, |
|
157 | * not a snapshot. Therefore any modification you make to the |
|
158 | * returned list will be present inside the JAXB object. |
|
159 | * This is why there is not a <CODE>set</CODE> method for the pos property. |
|
160 | * |
|
161 | * <p> |
|
162 | * For example, to add a new item, do as follows: |
|
163 | * <pre> |
|
164 | * getPos().add(newItem); |
|
165 | * </pre> |
|
166 | * |
|
167 | * |
|
168 | * <p> |
|
169 | * Objects of the following type(s) are allowed in the list |
|
170 | * {@link DirectPositionType } |
|
171 | * |
|
172 | * |
|
173 | */ |
|
174 | public List<DirectPositionType> getPos() { |
|
175 | 0 | if (pos == null) { |
176 | 0 | pos = new ArrayList<DirectPositionType>(); |
177 | } |
|
178 | 0 | return this.pos; |
179 | } |
|
180 | ||
181 | /** |
|
182 | * Deprecated with GML version 3.1.0. Use the explicit properties "lowerCorner" and "upperCorner" instead. |
|
183 | * |
|
184 | * @return |
|
185 | * possible object is |
|
186 | * {@link CoordinatesType } |
|
187 | * |
|
188 | */ |
|
189 | public CoordinatesType getCoordinates() { |
|
190 | 0 | return coordinates; |
191 | } |
|
192 | ||
193 | /** |
|
194 | * Sets the value of the coordinates property. |
|
195 | * |
|
196 | * @param value |
|
197 | * allowed object is |
|
198 | * {@link CoordinatesType } |
|
199 | * |
|
200 | */ |
|
201 | public void setCoordinates(CoordinatesType value) { |
|
202 | 0 | this.coordinates = value; |
203 | 0 | } |
204 | ||
205 | /** |
|
206 | * Gets the value of the srsName property. |
|
207 | * |
|
208 | * @return |
|
209 | * possible object is |
|
210 | * {@link String } |
|
211 | * |
|
212 | */ |
|
213 | public String getSrsName() { |
|
214 | 0 | return srsName; |
215 | } |
|
216 | ||
217 | /** |
|
218 | * Sets the value of the srsName property. |
|
219 | * |
|
220 | * @param value |
|
221 | * allowed object is |
|
222 | * {@link String } |
|
223 | * |
|
224 | */ |
|
225 | public void setSrsName(String value) { |
|
226 | 0 | this.srsName = value; |
227 | 0 | } |
228 | ||
229 | /** |
|
230 | * Gets the value of the srsDimension property. |
|
231 | * |
|
232 | * @return |
|
233 | * possible object is |
|
234 | * {@link BigInteger } |
|
235 | * |
|
236 | */ |
|
237 | public BigInteger getSrsDimension() { |
|
238 | 0 | return srsDimension; |
239 | } |
|
240 | ||
241 | /** |
|
242 | * Sets the value of the srsDimension property. |
|
243 | * |
|
244 | * @param value |
|
245 | * allowed object is |
|
246 | * {@link BigInteger } |
|
247 | * |
|
248 | */ |
|
249 | public void setSrsDimension(BigInteger value) { |
|
250 | 0 | this.srsDimension = value; |
251 | 0 | } |
252 | ||
253 | /** |
|
254 | * Gets the value of the axisLabels property. |
|
255 | * |
|
256 | * <p> |
|
257 | * This accessor method returns a reference to the live list, |
|
258 | * not a snapshot. Therefore any modification you make to the |
|
259 | * returned list will be present inside the JAXB object. |
|
260 | * This is why there is not a <CODE>set</CODE> method for the axisLabels property. |
|
261 | * |
|
262 | * <p> |
|
263 | * For example, to add a new item, do as follows: |
|
264 | * <pre> |
|
265 | * getAxisLabels().add(newItem); |
|
266 | * </pre> |
|
267 | * |
|
268 | * |
|
269 | * <p> |
|
270 | * Objects of the following type(s) are allowed in the list |
|
271 | * {@link String } |
|
272 | * |
|
273 | * |
|
274 | */ |
|
275 | public List<String> getAxisLabels() { |
|
276 | 0 | if (axisLabels == null) { |
277 | 0 | axisLabels = new ArrayList<String>(); |
278 | } |
|
279 | 0 | return this.axisLabels; |
280 | } |
|
281 | ||
282 | /** |
|
283 | * Gets the value of the uomLabels property. |
|
284 | * |
|
285 | * <p> |
|
286 | * This accessor method returns a reference to the live list, |
|
287 | * not a snapshot. Therefore any modification you make to the |
|
288 | * returned list will be present inside the JAXB object. |
|
289 | * This is why there is not a <CODE>set</CODE> method for the uomLabels property. |
|
290 | * |
|
291 | * <p> |
|
292 | * For example, to add a new item, do as follows: |
|
293 | * <pre> |
|
294 | * getUomLabels().add(newItem); |
|
295 | * </pre> |
|
296 | * |
|
297 | * |
|
298 | * <p> |
|
299 | * Objects of the following type(s) are allowed in the list |
|
300 | * {@link String } |
|
301 | * |
|
302 | * |
|
303 | */ |
|
304 | public List<String> getUomLabels() { |
|
305 | 0 | if (uomLabels == null) { |
306 | 0 | uomLabels = new ArrayList<String>(); |
307 | } |
|
308 | 0 | return this.uomLabels; |
309 | } |
|
310 | ||
311 | } |