1 | // |
---|
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 |
---|
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: 2015.02.25 at 04:46:45 PM CET |
---|
6 | // |
---|
7 | |
---|
8 | |
---|
9 | package de.clarin.fcs.schema; |
---|
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.XmlAnyElement; |
---|
16 | import javax.xml.bind.annotation.XmlAttribute; |
---|
17 | import javax.xml.bind.annotation.XmlElement; |
---|
18 | import javax.xml.bind.annotation.XmlType; |
---|
19 | import org.w3c.dom.Element; |
---|
20 | |
---|
21 | |
---|
22 | /** |
---|
23 | * <p>Java class for ResourceType complex type. |
---|
24 | * |
---|
25 | * <p>The following schema fragment specifies the expected content contained within this class. |
---|
26 | * |
---|
27 | * <pre> |
---|
28 | * <complexType name="ResourceType"> |
---|
29 | * <complexContent> |
---|
30 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
31 | * <sequence> |
---|
32 | * <element name="DataView" type="{http://clarin.eu/fcs/resource}DataViewType" maxOccurs="unbounded" minOccurs="0"/> |
---|
33 | * <element name="ResourceFragment" maxOccurs="unbounded" minOccurs="0"> |
---|
34 | * <complexType> |
---|
35 | * <complexContent> |
---|
36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
37 | * <sequence> |
---|
38 | * <element name="DataView" type="{http://clarin.eu/fcs/resource}DataViewType" maxOccurs="unbounded" minOccurs="0"/> |
---|
39 | * </sequence> |
---|
40 | * <attribute name="pid" type="{http://clarin.eu/fcs/resource}PidType" /> |
---|
41 | * <attribute name="ref" type="{http://clarin.eu/fcs/resource}ReferenceType" /> |
---|
42 | * </restriction> |
---|
43 | * </complexContent> |
---|
44 | * </complexType> |
---|
45 | * </element> |
---|
46 | * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> |
---|
47 | * </sequence> |
---|
48 | * <attribute name="pid" type="{http://clarin.eu/fcs/resource}PidType" /> |
---|
49 | * <attribute name="ref" type="{http://clarin.eu/fcs/resource}ReferenceType" /> |
---|
50 | * </restriction> |
---|
51 | * </complexContent> |
---|
52 | * </complexType> |
---|
53 | * </pre> |
---|
54 | * |
---|
55 | * |
---|
56 | */ |
---|
57 | @XmlAccessorType(XmlAccessType.FIELD) |
---|
58 | @XmlType(name = "ResourceType", namespace = "http://clarin.eu/fcs/resource", propOrder = { |
---|
59 | "dataView", |
---|
60 | "resourceFragment", |
---|
61 | "any" |
---|
62 | }) |
---|
63 | public class ResourceType { |
---|
64 | |
---|
65 | @XmlElement(name = "DataView") |
---|
66 | protected List<DataViewType> dataView; |
---|
67 | @XmlElement(name = "ResourceFragment") |
---|
68 | protected List<ResourceType.ResourceFragment> resourceFragment; |
---|
69 | @XmlAnyElement(lax = true) |
---|
70 | protected List<Object> any; |
---|
71 | @XmlAttribute(name = "pid") |
---|
72 | protected String pid; |
---|
73 | @XmlAttribute(name = "ref") |
---|
74 | protected String ref; |
---|
75 | |
---|
76 | /** |
---|
77 | * Gets the value of the dataView property. |
---|
78 | * |
---|
79 | * <p> |
---|
80 | * This accessor method returns a reference to the live list, |
---|
81 | * not a snapshot. Therefore any modification you make to the |
---|
82 | * returned list will be present inside the JAXB object. |
---|
83 | * This is why there is not a <CODE>set</CODE> method for the dataView property. |
---|
84 | * |
---|
85 | * <p> |
---|
86 | * For example, to add a new item, do as follows: |
---|
87 | * <pre> |
---|
88 | * getDataView().add(newItem); |
---|
89 | * </pre> |
---|
90 | * |
---|
91 | * |
---|
92 | * <p> |
---|
93 | * Objects of the following type(s) are allowed in the list |
---|
94 | * {@link DataViewType } |
---|
95 | * |
---|
96 | * |
---|
97 | */ |
---|
98 | public List<DataViewType> getDataView() { |
---|
99 | if (dataView == null) { |
---|
100 | dataView = new ArrayList<DataViewType>(); |
---|
101 | } |
---|
102 | return this.dataView; |
---|
103 | } |
---|
104 | |
---|
105 | /** |
---|
106 | * Gets the value of the resourceFragment property. |
---|
107 | * |
---|
108 | * <p> |
---|
109 | * This accessor method returns a reference to the live list, |
---|
110 | * not a snapshot. Therefore any modification you make to the |
---|
111 | * returned list will be present inside the JAXB object. |
---|
112 | * This is why there is not a <CODE>set</CODE> method for the resourceFragment property. |
---|
113 | * |
---|
114 | * <p> |
---|
115 | * For example, to add a new item, do as follows: |
---|
116 | * <pre> |
---|
117 | * getResourceFragment().add(newItem); |
---|
118 | * </pre> |
---|
119 | * |
---|
120 | * |
---|
121 | * <p> |
---|
122 | * Objects of the following type(s) are allowed in the list |
---|
123 | * {@link ResourceType.ResourceFragment } |
---|
124 | * |
---|
125 | * |
---|
126 | */ |
---|
127 | public List<ResourceType.ResourceFragment> getResourceFragment() { |
---|
128 | if (resourceFragment == null) { |
---|
129 | resourceFragment = new ArrayList<ResourceType.ResourceFragment>(); |
---|
130 | } |
---|
131 | return this.resourceFragment; |
---|
132 | } |
---|
133 | |
---|
134 | /** |
---|
135 | * Gets the value of the any property. |
---|
136 | * |
---|
137 | * <p> |
---|
138 | * This accessor method returns a reference to the live list, |
---|
139 | * not a snapshot. Therefore any modification you make to the |
---|
140 | * returned list will be present inside the JAXB object. |
---|
141 | * This is why there is not a <CODE>set</CODE> method for the any property. |
---|
142 | * |
---|
143 | * <p> |
---|
144 | * For example, to add a new item, do as follows: |
---|
145 | * <pre> |
---|
146 | * getAny().add(newItem); |
---|
147 | * </pre> |
---|
148 | * |
---|
149 | * |
---|
150 | * <p> |
---|
151 | * Objects of the following type(s) are allowed in the list |
---|
152 | * {@link Object } |
---|
153 | * {@link Element } |
---|
154 | * |
---|
155 | * |
---|
156 | */ |
---|
157 | public List<Object> getAny() { |
---|
158 | if (any == null) { |
---|
159 | any = new ArrayList<Object>(); |
---|
160 | } |
---|
161 | return this.any; |
---|
162 | } |
---|
163 | |
---|
164 | /** |
---|
165 | * Gets the value of the pid property. |
---|
166 | * |
---|
167 | * @return |
---|
168 | * possible object is |
---|
169 | * {@link String } |
---|
170 | * |
---|
171 | */ |
---|
172 | public String getPid() { |
---|
173 | return pid; |
---|
174 | } |
---|
175 | |
---|
176 | /** |
---|
177 | * Sets the value of the pid property. |
---|
178 | * |
---|
179 | * @param value |
---|
180 | * allowed object is |
---|
181 | * {@link String } |
---|
182 | * |
---|
183 | */ |
---|
184 | public void setPid(String value) { |
---|
185 | this.pid = value; |
---|
186 | } |
---|
187 | |
---|
188 | /** |
---|
189 | * Gets the value of the ref property. |
---|
190 | * |
---|
191 | * @return |
---|
192 | * possible object is |
---|
193 | * {@link String } |
---|
194 | * |
---|
195 | */ |
---|
196 | public String getRef() { |
---|
197 | return ref; |
---|
198 | } |
---|
199 | |
---|
200 | /** |
---|
201 | * Sets the value of the ref property. |
---|
202 | * |
---|
203 | * @param value |
---|
204 | * allowed object is |
---|
205 | * {@link String } |
---|
206 | * |
---|
207 | */ |
---|
208 | public void setRef(String value) { |
---|
209 | this.ref = value; |
---|
210 | } |
---|
211 | |
---|
212 | |
---|
213 | /** |
---|
214 | * <p>Java class for anonymous complex type. |
---|
215 | * |
---|
216 | * <p>The following schema fragment specifies the expected content contained within this class. |
---|
217 | * |
---|
218 | * <pre> |
---|
219 | * <complexType> |
---|
220 | * <complexContent> |
---|
221 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
222 | * <sequence> |
---|
223 | * <element name="DataView" type="{http://clarin.eu/fcs/resource}DataViewType" maxOccurs="unbounded" minOccurs="0"/> |
---|
224 | * </sequence> |
---|
225 | * <attribute name="pid" type="{http://clarin.eu/fcs/resource}PidType" /> |
---|
226 | * <attribute name="ref" type="{http://clarin.eu/fcs/resource}ReferenceType" /> |
---|
227 | * </restriction> |
---|
228 | * </complexContent> |
---|
229 | * </complexType> |
---|
230 | * </pre> |
---|
231 | * |
---|
232 | * |
---|
233 | */ |
---|
234 | @XmlAccessorType(XmlAccessType.FIELD) |
---|
235 | @XmlType(name = "", propOrder = { |
---|
236 | "dataView" |
---|
237 | }) |
---|
238 | public static class ResourceFragment { |
---|
239 | |
---|
240 | @XmlElement(name = "DataView", namespace = "http://clarin.eu/fcs/resource") |
---|
241 | protected List<DataViewType> dataView; |
---|
242 | @XmlAttribute(name = "pid") |
---|
243 | protected String pid; |
---|
244 | @XmlAttribute(name = "ref") |
---|
245 | protected String ref; |
---|
246 | |
---|
247 | /** |
---|
248 | * Gets the value of the dataView property. |
---|
249 | * |
---|
250 | * <p> |
---|
251 | * This accessor method returns a reference to the live list, |
---|
252 | * not a snapshot. Therefore any modification you make to the |
---|
253 | * returned list will be present inside the JAXB object. |
---|
254 | * This is why there is not a <CODE>set</CODE> method for the dataView property. |
---|
255 | * |
---|
256 | * <p> |
---|
257 | * For example, to add a new item, do as follows: |
---|
258 | * <pre> |
---|
259 | * getDataView().add(newItem); |
---|
260 | * </pre> |
---|
261 | * |
---|
262 | * |
---|
263 | * <p> |
---|
264 | * Objects of the following type(s) are allowed in the list |
---|
265 | * {@link DataViewType } |
---|
266 | * |
---|
267 | * |
---|
268 | */ |
---|
269 | public List<DataViewType> getDataView() { |
---|
270 | if (dataView == null) { |
---|
271 | dataView = new ArrayList<DataViewType>(); |
---|
272 | } |
---|
273 | return this.dataView; |
---|
274 | } |
---|
275 | |
---|
276 | /** |
---|
277 | * Gets the value of the pid property. |
---|
278 | * |
---|
279 | * @return |
---|
280 | * possible object is |
---|
281 | * {@link String } |
---|
282 | * |
---|
283 | */ |
---|
284 | public String getPid() { |
---|
285 | return pid; |
---|
286 | } |
---|
287 | |
---|
288 | /** |
---|
289 | * Sets the value of the pid property. |
---|
290 | * |
---|
291 | * @param value |
---|
292 | * allowed object is |
---|
293 | * {@link String } |
---|
294 | * |
---|
295 | */ |
---|
296 | public void setPid(String value) { |
---|
297 | this.pid = value; |
---|
298 | } |
---|
299 | |
---|
300 | /** |
---|
301 | * Gets the value of the ref property. |
---|
302 | * |
---|
303 | * @return |
---|
304 | * possible object is |
---|
305 | * {@link String } |
---|
306 | * |
---|
307 | */ |
---|
308 | public String getRef() { |
---|
309 | return ref; |
---|
310 | } |
---|
311 | |
---|
312 | /** |
---|
313 | * Sets the value of the ref property. |
---|
314 | * |
---|
315 | * @param value |
---|
316 | * allowed object is |
---|
317 | * {@link String } |
---|
318 | * |
---|
319 | */ |
---|
320 | public void setRef(String value) { |
---|
321 | this.ref = value; |
---|
322 | } |
---|
323 | |
---|
324 | } |
---|
325 | |
---|
326 | } |
---|