##### Coverage Report - org.owasp.dependencycheck.jaxb.pom.generated.Contributor

Classes in this File | Line Coverage | Branch Coverage | Complexity
Contributor |
7% | 2/26
N/A | N/A
| 1.1111111111111112;1.111
Contributor$Properties |
0% | 0/4
0% | 0/2
| 1.1111111111111112;1.111
Contributor$Roles |
0% | 0/4
0% | 0/2
| 1.1111111111111112;1.111

1 |  |
     //
2 |  |
     // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
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: 2012.11.09 at 12:33:57 PM EST
6 |  |
     //
7 |  |
8 |  |
9 |  |
     package org.owasp.dependencycheck.jaxb.pom.generated;
10 |  |
11 |  |
     import java.util.ArrayList;
12 |  |
     import java.util.List;
13 |  |
     import javax.annotation.Generated;
14 |  |
     import javax.xml.bind.annotation.XmlAccessType;
15 |  |
     import javax.xml.bind.annotation.XmlAccessorType;
16 |  |
     import javax.xml.bind.annotation.XmlAnyElement;
17 |  |
     import javax.xml.bind.annotation.XmlType;
18 |  |
     import org.w3c.dom.Element;
19 |  |
20 |  |
21 |  |
     /**
22 |  |
      *
23 |  |
      *         Description of a person who has contributed to the project, but who does
24 |  |
      *         not have commit privileges. Usually, these contributions come in the
25 |  |
      *         form of patches submitted.
26 |  |
      *
27 |  |
      *
28 |  |
      * <p>Java class for Contributor complex type.
29 |  |
      *
30 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
31 |  |
      *
32 |  |
      * <pre>
33 |  |
      * &lt;complexType name="Contributor">
34 |  |
      *   &lt;complexContent>
35 |  |
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 |  |
      *       &lt;all>
37 |  |
      *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 |  |
      *         &lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39 |  |
      *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40 |  |
      *         &lt;element name="organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41 |  |
      *         &lt;element name="organizationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
42 |  |
      *         &lt;element name="roles" minOccurs="0">
43 |  |
      *           &lt;complexType>
44 |  |
      *             &lt;complexContent>
45 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46 |  |
      *                 &lt;sequence>
47 |  |
      *                   &lt;element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
48 |  |
      *                 &lt;/sequence>
49 |  |
      *               &lt;/restriction>
50 |  |
      *             &lt;/complexContent>
51 |  |
      *           &lt;/complexType>
52 |  |
      *         &lt;/element>
53 |  |
      *         &lt;element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
54 |  |
      *         &lt;element name="properties" minOccurs="0">
55 |  |
      *           &lt;complexType>
56 |  |
      *             &lt;complexContent>
57 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
58 |  |
      *                 &lt;sequence>
59 |  |
      *                   &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
60 |  |
      *                 &lt;/sequence>
61 |  |
      *               &lt;/restriction>
62 |  |
      *             &lt;/complexContent>
63 |  |
      *           &lt;/complexType>
64 |  |
      *         &lt;/element>
65 |  |
      *       &lt;/all>
66 |  |
      *     &lt;/restriction>
67 |  |
      *   &lt;/complexContent>
68 |  |
      * &lt;/complexType>
69 |  |
      * </pre>
70 |  |
      *
71 |  |
      *
72 |  |
      */
73 |  |
     @XmlAccessorType(XmlAccessType.FIELD)
74 |  |
     @XmlType(name = "Contributor", propOrder = {
75 |  |
76 |  |
     })
77 |  |
     @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
78 | 1 |
     public class Contributor {
79 |  |
80 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
81 |  |
         protected String name;
82 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
83 |  |
         protected String email;
84 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
85 |  |
         protected String url;
86 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
87 |  |
         protected String organization;
88 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
89 |  |
         protected String organizationUrl;
90 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
91 |  |
         protected Contributor.Roles roles;
92 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
93 |  |
         protected String timezone;
94 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
95 |  |
         protected Contributor.Properties properties;
96 |  |
97 |  |
         /**
98 |  |
          * Gets the value of the name property.
99 |  |
          *
100 |  |
          * @return
101 |  |
          *     possible object is
102 |  |
          *     {@link String }
103 |  |
          *
104 |  |
          */
105 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
106 |  |
         public String getName() {
107 | 0 |
             return name;
108 |  |
         }
109 |  |
110 |  |
         /**
111 |  |
          * Sets the value of the name property.
112 |  |
          *
113 |  |
          * @param value
114 |  |
          *     allowed object is
115 |  |
          *     {@link String }
116 |  |
          *
117 |  |
          */
118 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
119 |  |
         public void setName(String value) {
120 | 0 |
             this.name = value;
121 | 0 |
         }
122 |  |
123 |  |
         /**
124 |  |
          * Gets the value of the email property.
125 |  |
          *
126 |  |
          * @return
127 |  |
          *     possible object is
128 |  |
          *     {@link String }
129 |  |
          *
130 |  |
          */
131 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
132 |  |
         public String getEmail() {
133 | 0 |
             return email;
134 |  |
         }
135 |  |
136 |  |
         /**
137 |  |
          * Sets the value of the email property.
138 |  |
          *
139 |  |
          * @param value
140 |  |
          *     allowed object is
141 |  |
          *     {@link String }
142 |  |
          *
143 |  |
          */
144 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
145 |  |
         public void setEmail(String value) {
146 | 0 |
             this.email = value;
147 | 0 |
         }
148 |  |
149 |  |
         /**
150 |  |
          * Gets the value of the url property.
151 |  |
          *
152 |  |
          * @return
153 |  |
          *     possible object is
154 |  |
          *     {@link String }
155 |  |
          *
156 |  |
          */
157 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
158 |  |
         public String getUrl() {
159 | 0 |
             return url;
160 |  |
         }
161 |  |
162 |  |
         /**
163 |  |
          * Sets the value of the url property.
164 |  |
          *
165 |  |
          * @param value
166 |  |
          *     allowed object is
167 |  |
          *     {@link String }
168 |  |
          *
169 |  |
          */
170 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
171 |  |
         public void setUrl(String value) {
172 | 0 |
             this.url = value;
173 | 0 |
         }
174 |  |
175 |  |
         /**
176 |  |
          * Gets the value of the organization property.
177 |  |
          *
178 |  |
          * @return
179 |  |
          *     possible object is
180 |  |
          *     {@link String }
181 |  |
          *
182 |  |
          */
183 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
184 |  |
         public String getOrganization() {
185 | 0 |
             return organization;
186 |  |
         }
187 |  |
188 |  |
         /**
189 |  |
          * Sets the value of the organization property.
190 |  |
          *
191 |  |
          * @param value
192 |  |
          *     allowed object is
193 |  |
          *     {@link String }
194 |  |
          *
195 |  |
          */
196 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
197 |  |
         public void setOrganization(String value) {
198 | 0 |
             this.organization = value;
199 | 0 |
         }
200 |  |
201 |  |
         /**
202 |  |
          * Gets the value of the organizationUrl property.
203 |  |
          *
204 |  |
          * @return
205 |  |
          *     possible object is
206 |  |
          *     {@link String }
207 |  |
          *
208 |  |
          */
209 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
210 |  |
         public String getOrganizationUrl() {
211 | 0 |
             return organizationUrl;
212 |  |
         }
213 |  |
214 |  |
         /**
215 |  |
          * Sets the value of the organizationUrl property.
216 |  |
          *
217 |  |
          * @param value
218 |  |
          *     allowed object is
219 |  |
          *     {@link String }
220 |  |
          *
221 |  |
          */
222 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
223 |  |
         public void setOrganizationUrl(String value) {
224 | 0 |
             this.organizationUrl = value;
225 | 0 |
         }
226 |  |
227 |  |
         /**
228 |  |
          * Gets the value of the roles property.
229 |  |
          *
230 |  |
          * @return
231 |  |
          *     possible object is
232 |  |
          *     {@link Contributor.Roles }
233 |  |
          *
234 |  |
          */
235 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
236 |  |
         public Contributor.Roles getRoles() {
237 | 0 |
             return roles;
238 |  |
         }
239 |  |
240 |  |
         /**
241 |  |
          * Sets the value of the roles property.
242 |  |
          *
243 |  |
          * @param value
244 |  |
          *     allowed object is
245 |  |
          *     {@link Contributor.Roles }
246 |  |
          *
247 |  |
          */
248 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
249 |  |
         public void setRoles(Contributor.Roles value) {
250 | 0 |
             this.roles = value;
251 | 0 |
         }
252 |  |
253 |  |
         /**
254 |  |
          * Gets the value of the timezone property.
255 |  |
          *
256 |  |
          * @return
257 |  |
          *     possible object is
258 |  |
          *     {@link String }
259 |  |
          *
260 |  |
          */
261 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
262 |  |
         public String getTimezone() {
263 | 0 |
             return timezone;
264 |  |
         }
265 |  |
266 |  |
         /**
267 |  |
          * Sets the value of the timezone property.
268 |  |
          *
269 |  |
          * @param value
270 |  |
          *     allowed object is
271 |  |
          *     {@link String }
272 |  |
          *
273 |  |
          */
274 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
275 |  |
         public void setTimezone(String value) {
276 | 0 |
             this.timezone = value;
277 | 0 |
         }
278 |  |
279 |  |
         /**
280 |  |
          * Gets the value of the properties property.
281 |  |
          *
282 |  |
          * @return
283 |  |
          *     possible object is
284 |  |
          *     {@link Contributor.Properties }
285 |  |
          *
286 |  |
          */
287 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
288 |  |
         public Contributor.Properties getProperties() {
289 | 0 |
             return properties;
290 |  |
         }
291 |  |
292 |  |
         /**
293 |  |
          * Sets the value of the properties property.
294 |  |
          *
295 |  |
          * @param value
296 |  |
          *     allowed object is
297 |  |
          *     {@link Contributor.Properties }
298 |  |
          *
299 |  |
          */
300 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
301 |  |
         public void setProperties(Contributor.Properties value) {
302 | 0 |
             this.properties = value;
303 | 0 |
         }
304 |  |
305 |  |
306 |  |
         /**
307 |  |
          * <p>Java class for anonymous complex type.
308 |  |
          *
309 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
310 |  |
          *
311 |  |
          * <pre>
312 |  |
          * &lt;complexType>
313 |  |
          *   &lt;complexContent>
314 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
315 |  |
          *       &lt;sequence>
316 |  |
          *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
317 |  |
          *       &lt;/sequence>
318 |  |
          *     &lt;/restriction>
319 |  |
          *   &lt;/complexContent>
320 |  |
          * &lt;/complexType>
321 |  |
          * </pre>
322 |  |
          *
323 |  |
          *
324 |  |
          */
325 |  |
         @XmlAccessorType(XmlAccessType.FIELD)
326 |  |
         @XmlType(name = "", propOrder = {
327 |  |
             "any"
328 |  |
         })
329 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
330 | 0 |
         public static class Properties {
331 |  |
332 |  |
             @XmlAnyElement
333 |  |
             @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
334 |  |
             protected List<Element> any;
335 |  |
336 |  |
             /**
337 |  |
              * Gets the value of the any property.
338 |  |
              *
339 |  |
              * <p>
340 |  |
              * This accessor method returns a reference to the live list,
341 |  |
              * not a snapshot. Therefore any modification you make to the
342 |  |
              * returned list will be present inside the JAXB object.
343 |  |
              * This is why there is not a <CODE>set</CODE> method for the any property.
344 |  |
              *
345 |  |
              * <p>
346 |  |
              * For example, to add a new item, do as follows:
347 |  |
              * <pre>
348 |  |
              *    getAny().add(newItem);
349 |  |
              * </pre>
350 |  |
              *
351 |  |
              *
352 |  |
              * <p>
353 |  |
              * Objects of the following type(s) are allowed in the list
354 |  |
              * {@link Element }
355 |  |
              *
356 |  |
              *
357 |  |
              */
358 |  |
             @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
359 |  |
             public List<Element> getAny() {
360 | 0 |
                 if (any == null) {
361 | 0 |
                     any = new ArrayList<Element>();
362 |  |
                 }
363 | 0 |
                 return this.any;
364 |  |
             }
365 |  |
366 |  |
         }
367 |  |
368 |  |
369 |  |
         /**
370 |  |
          * <p>Java class for anonymous complex type.
371 |  |
          *
372 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
373 |  |
          *
374 |  |
          * <pre>
375 |  |
          * &lt;complexType>
376 |  |
          *   &lt;complexContent>
377 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
378 |  |
          *       &lt;sequence>
379 |  |
          *         &lt;element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
380 |  |
          *       &lt;/sequence>
381 |  |
          *     &lt;/restriction>
382 |  |
          *   &lt;/complexContent>
383 |  |
          * &lt;/complexType>
384 |  |
          * </pre>
385 |  |
          *
386 |  |
          *
387 |  |
          */
388 | 1 |
         @XmlAccessorType(XmlAccessType.FIELD)
389 |  |
         @XmlType(name = "", propOrder = {
390 |  |
             "role"
391 |  |
         })
392 |  |
         @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
393 | 0 |
         public static class Roles {
394 |  |
395 |  |
             @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
396 |  |
             protected List<String> role;
397 |  |
398 |  |
             /**
399 |  |
              * Gets the value of the role property.
400 |  |
              *
401 |  |
              * <p>
402 |  |
              * This accessor method returns a reference to the live list,
403 |  |
              * not a snapshot. Therefore any modification you make to the
404 |  |
              * returned list will be present inside the JAXB object.
405 |  |
              * This is why there is not a <CODE>set</CODE> method for the role property.
406 |  |
              *
407 |  |
              * <p>
408 |  |
              * For example, to add a new item, do as follows:
409 |  |
              * <pre>
410 |  |
              *    getRole().add(newItem);
411 |  |
              * </pre>
412 |  |
              *
413 |  |
              *
414 |  |
              * <p>
415 |  |
              * Objects of the following type(s) are allowed in the list
416 |  |
              * {@link String }
417 |  |
              *
418 |  |
              *
419 |  |
              */
420 |  |
             @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
421 |  |
             public List<String> getRole() {
422 | 0 |
                 if (role == null) {
423 | 0 |
                     role = new ArrayList<String>();
424 |  |
                 }
425 | 0 |
                 return this.role;
426 |  |
             }
427 |  |
428 |  |
         }
429 |  |
430 |  |
     }