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

Classes in this File | Line Coverage | Branch Coverage | Complexity
ReportPlugin |
10% | 2/20
N/A | N/A
| 1.1428571428571428;1.143
ReportPlugin$Configuration |
25% | 1/4
0% | 0/2
| 1.1428571428571428;1.143
ReportPlugin$ReportSets |
25% | 1/4
0% | 0/2
| 1.1428571428571428;1.143

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.XmlElement;
18 |  |
     import javax.xml.bind.annotation.XmlType;
19 |  |
     import org.w3c.dom.Element;
20 |  |
21 |  |
22 |  |
     /**
23 |  |
      *  4.0.0
24 |  |
      *
25 |  |
      * <p>Java class for ReportPlugin complex type.
26 |  |
      *
27 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
28 |  |
      *
29 |  |
      * <pre>
30 |  |
      * &lt;complexType name="ReportPlugin">
31 |  |
      *   &lt;complexContent>
32 |  |
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 |  |
      *       &lt;all>
34 |  |
      *         &lt;element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35 |  |
      *         &lt;element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36 |  |
      *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37 |  |
      *         &lt;element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 |  |
      *         &lt;element name="configuration" minOccurs="0">
39 |  |
      *           &lt;complexType>
40 |  |
      *             &lt;complexContent>
41 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 |  |
      *                 &lt;sequence>
43 |  |
      *                   &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
44 |  |
      *                 &lt;/sequence>
45 |  |
      *               &lt;/restriction>
46 |  |
      *             &lt;/complexContent>
47 |  |
      *           &lt;/complexType>
48 |  |
      *         &lt;/element>
49 |  |
      *         &lt;element name="reportSets" minOccurs="0">
50 |  |
      *           &lt;complexType>
51 |  |
      *             &lt;complexContent>
52 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
53 |  |
      *                 &lt;sequence>
54 |  |
      *                   &lt;element name="reportSet" type="{http://maven.apache.org/POM/4.0.0}ReportSet" maxOccurs="unbounded" minOccurs="0"/>
55 |  |
      *                 &lt;/sequence>
56 |  |
      *               &lt;/restriction>
57 |  |
      *             &lt;/complexContent>
58 |  |
      *           &lt;/complexType>
59 |  |
      *         &lt;/element>
60 |  |
      *       &lt;/all>
61 |  |
      *     &lt;/restriction>
62 |  |
      *   &lt;/complexContent>
63 |  |
      * &lt;/complexType>
64 |  |
      * </pre>
65 |  |
      *
66 |  |
      *
67 |  |
      */
68 |  |
     @XmlAccessorType(XmlAccessType.FIELD)
69 |  |
     @XmlType(name = "ReportPlugin", propOrder = {
70 |  |
71 |  |
     })
72 |  |
     @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")
73 | 14 |
     public class ReportPlugin {
74 |  |
75 |  |
         @XmlElement(defaultValue = "org.apache.maven.plugins")
76 |  |
         @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")
77 |  |
         protected String groupId;
78 |  |
         @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")
79 |  |
         protected String artifactId;
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 version;
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 inherited;
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 ReportPlugin.Configuration configuration;
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 ReportPlugin.ReportSets reportSets;
88 |  |
89 |  |
         /**
90 |  |
          * Gets the value of the groupId property.
91 |  |
          *
92 |  |
          * @return
93 |  |
          *     possible object is
94 |  |
          *     {@link String }
95 |  |
          *
96 |  |
          */
97 |  |
         @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")
98 |  |
         public String getGroupId() {
99 | 0 |
             return groupId;
100 |  |
         }
101 |  |
102 |  |
         /**
103 |  |
          * Sets the value of the groupId property.
104 |  |
          *
105 |  |
          * @param value
106 |  |
          *     allowed object is
107 |  |
          *     {@link String }
108 |  |
          *
109 |  |
          */
110 |  |
         @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")
111 |  |
         public void setGroupId(String value) {
112 | 0 |
             this.groupId = value;
113 | 0 |
         }
114 |  |
115 |  |
         /**
116 |  |
          * Gets the value of the artifactId property.
117 |  |
          *
118 |  |
          * @return
119 |  |
          *     possible object is
120 |  |
          *     {@link String }
121 |  |
          *
122 |  |
          */
123 |  |
         @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")
124 |  |
         public String getArtifactId() {
125 | 0 |
             return artifactId;
126 |  |
         }
127 |  |
128 |  |
         /**
129 |  |
          * Sets the value of the artifactId property.
130 |  |
          *
131 |  |
          * @param value
132 |  |
          *     allowed object is
133 |  |
          *     {@link String }
134 |  |
          *
135 |  |
          */
136 |  |
         @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")
137 |  |
         public void setArtifactId(String value) {
138 | 0 |
             this.artifactId = value;
139 | 0 |
         }
140 |  |
141 |  |
         /**
142 |  |
          * Gets the value of the version property.
143 |  |
          *
144 |  |
          * @return
145 |  |
          *     possible object is
146 |  |
          *     {@link String }
147 |  |
          *
148 |  |
          */
149 |  |
         @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")
150 |  |
         public String getVersion() {
151 | 0 |
             return version;
152 |  |
         }
153 |  |
154 |  |
         /**
155 |  |
          * Sets the value of the version property.
156 |  |
          *
157 |  |
          * @param value
158 |  |
          *     allowed object is
159 |  |
          *     {@link String }
160 |  |
          *
161 |  |
          */
162 |  |
         @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")
163 |  |
         public void setVersion(String value) {
164 | 0 |
             this.version = value;
165 | 0 |
         }
166 |  |
167 |  |
         /**
168 |  |
          * Gets the value of the inherited property.
169 |  |
          *
170 |  |
          * @return
171 |  |
          *     possible object is
172 |  |
          *     {@link String }
173 |  |
          *
174 |  |
          */
175 |  |
         @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")
176 |  |
         public String getInherited() {
177 | 0 |
             return inherited;
178 |  |
         }
179 |  |
180 |  |
         /**
181 |  |
          * Sets the value of the inherited property.
182 |  |
          *
183 |  |
          * @param value
184 |  |
          *     allowed object is
185 |  |
          *     {@link String }
186 |  |
          *
187 |  |
          */
188 |  |
         @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")
189 |  |
         public void setInherited(String value) {
190 | 0 |
             this.inherited = value;
191 | 0 |
         }
192 |  |
193 |  |
         /**
194 |  |
          * Gets the value of the configuration property.
195 |  |
          *
196 |  |
          * @return
197 |  |
          *     possible object is
198 |  |
          *     {@link ReportPlugin.Configuration }
199 |  |
          *
200 |  |
          */
201 |  |
         @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")
202 |  |
         public ReportPlugin.Configuration getConfiguration() {
203 | 0 |
             return configuration;
204 |  |
         }
205 |  |
206 |  |
         /**
207 |  |
          * Sets the value of the configuration property.
208 |  |
          *
209 |  |
          * @param value
210 |  |
          *     allowed object is
211 |  |
          *     {@link ReportPlugin.Configuration }
212 |  |
          *
213 |  |
          */
214 |  |
         @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")
215 |  |
         public void setConfiguration(ReportPlugin.Configuration value) {
216 | 0 |
             this.configuration = value;
217 | 0 |
         }
218 |  |
219 |  |
         /**
220 |  |
          * Gets the value of the reportSets property.
221 |  |
          *
222 |  |
          * @return
223 |  |
          *     possible object is
224 |  |
          *     {@link ReportPlugin.ReportSets }
225 |  |
          *
226 |  |
          */
227 |  |
         @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")
228 |  |
         public ReportPlugin.ReportSets getReportSets() {
229 | 0 |
             return reportSets;
230 |  |
         }
231 |  |
232 |  |
         /**
233 |  |
          * Sets the value of the reportSets property.
234 |  |
          *
235 |  |
          * @param value
236 |  |
          *     allowed object is
237 |  |
          *     {@link ReportPlugin.ReportSets }
238 |  |
          *
239 |  |
          */
240 |  |
         @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")
241 |  |
         public void setReportSets(ReportPlugin.ReportSets value) {
242 | 0 |
             this.reportSets = value;
243 | 0 |
         }
244 |  |
245 |  |
246 |  |
         /**
247 |  |
          * <p>Java class for anonymous complex type.
248 |  |
          *
249 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
250 |  |
          *
251 |  |
          * <pre>
252 |  |
          * &lt;complexType>
253 |  |
          *   &lt;complexContent>
254 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
255 |  |
          *       &lt;sequence>
256 |  |
          *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
257 |  |
          *       &lt;/sequence>
258 |  |
          *     &lt;/restriction>
259 |  |
          *   &lt;/complexContent>
260 |  |
          * &lt;/complexType>
261 |  |
          * </pre>
262 |  |
          *
263 |  |
          *
264 |  |
          */
265 |  |
         @XmlAccessorType(XmlAccessType.FIELD)
266 |  |
         @XmlType(name = "", propOrder = {
267 |  |
             "any"
268 |  |
         })
269 |  |
         @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")
270 | 12 |
         public static class Configuration {
271 |  |
272 |  |
             @XmlAnyElement
273 |  |
             @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")
274 |  |
             protected List<Element> any;
275 |  |
276 |  |
             /**
277 |  |
              * Gets the value of the any property.
278 |  |
              *
279 |  |
              * <p>
280 |  |
              * This accessor method returns a reference to the live list,
281 |  |
              * not a snapshot. Therefore any modification you make to the
282 |  |
              * returned list will be present inside the JAXB object.
283 |  |
              * This is why there is not a <CODE>set</CODE> method for the any property.
284 |  |
              *
285 |  |
              * <p>
286 |  |
              * For example, to add a new item, do as follows:
287 |  |
              * <pre>
288 |  |
              *    getAny().add(newItem);
289 |  |
              * </pre>
290 |  |
              *
291 |  |
              *
292 |  |
              * <p>
293 |  |
              * Objects of the following type(s) are allowed in the list
294 |  |
              * {@link Element }
295 |  |
              *
296 |  |
              *
297 |  |
              */
298 |  |
             @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")
299 |  |
             public List<Element> getAny() {
300 | 0 |
                 if (any == null) {
301 | 0 |
                     any = new ArrayList<Element>();
302 |  |
                 }
303 | 0 |
                 return this.any;
304 |  |
             }
305 |  |
306 |  |
         }
307 |  |
308 |  |
309 |  |
         /**
310 |  |
          * <p>Java class for anonymous complex type.
311 |  |
          *
312 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
313 |  |
          *
314 |  |
          * <pre>
315 |  |
          * &lt;complexType>
316 |  |
          *   &lt;complexContent>
317 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
318 |  |
          *       &lt;sequence>
319 |  |
          *         &lt;element name="reportSet" type="{http://maven.apache.org/POM/4.0.0}ReportSet" maxOccurs="unbounded" minOccurs="0"/>
320 |  |
          *       &lt;/sequence>
321 |  |
          *     &lt;/restriction>
322 |  |
          *   &lt;/complexContent>
323 |  |
          * &lt;/complexType>
324 |  |
          * </pre>
325 |  |
          *
326 |  |
          *
327 |  |
          */
328 | 14 |
         @XmlAccessorType(XmlAccessType.FIELD)
329 |  |
         @XmlType(name = "", propOrder = {
330 |  |
             "reportSet"
331 |  |
         })
332 |  |
         @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")
333 | 3 |
         public static class ReportSets {
334 |  |
335 |  |
             @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")
336 |  |
             protected List<ReportSet> reportSet;
337 |  |
338 |  |
             /**
339 |  |
              * Gets the value of the reportSet property.
340 |  |
              *
341 |  |
              * <p>
342 |  |
              * This accessor method returns a reference to the live list,
343 |  |
              * not a snapshot. Therefore any modification you make to the
344 |  |
              * returned list will be present inside the JAXB object.
345 |  |
              * This is why there is not a <CODE>set</CODE> method for the reportSet property.
346 |  |
              *
347 |  |
              * <p>
348 |  |
              * For example, to add a new item, do as follows:
349 |  |
              * <pre>
350 |  |
              *    getReportSet().add(newItem);
351 |  |
              * </pre>
352 |  |
              *
353 |  |
              *
354 |  |
              * <p>
355 |  |
              * Objects of the following type(s) are allowed in the list
356 |  |
              * {@link ReportSet }
357 |  |
              *
358 |  |
              *
359 |  |
              */
360 |  |
             @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")
361 |  |
             public List<ReportSet> getReportSet() {
362 | 0 |
                 if (reportSet == null) {
363 | 0 |
                     reportSet = new ArrayList<ReportSet>();
364 |  |
                 }
365 | 0 |
                 return this.reportSet;
366 |  |
             }
367 |  |
368 |  |
         }
369 |  |
370 |  |
     }