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

Classes in this File | Line Coverage | Branch Coverage | Complexity
ReportSet |
14% | 2/14
N/A | N/A
| 1.2;1.2
ReportSet$Configuration |
0% | 0/4
0% | 0/2
| 1.2;1.2
ReportSet$Reports |
25% | 1/4
0% | 0/2
| 1.2;1.2

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 |  |
      * Represents a set of reports and configuration to be used to generate them.
24 |  |
      *
25 |  |
      * <p>Java class for ReportSet complex type.
26 |  |
      *
27 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
28 |  |
      *
29 |  |
      * <pre>
30 |  |
      * &lt;complexType name="ReportSet">
31 |  |
      *   &lt;complexContent>
32 |  |
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 |  |
      *       &lt;all>
34 |  |
      *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35 |  |
      *         &lt;element name="configuration" minOccurs="0">
36 |  |
      *           &lt;complexType>
37 |  |
      *             &lt;complexContent>
38 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 |  |
      *                 &lt;sequence>
40 |  |
      *                   &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
41 |  |
      *                 &lt;/sequence>
42 |  |
      *               &lt;/restriction>
43 |  |
      *             &lt;/complexContent>
44 |  |
      *           &lt;/complexType>
45 |  |
      *         &lt;/element>
46 |  |
      *         &lt;element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47 |  |
      *         &lt;element name="reports" minOccurs="0">
48 |  |
      *           &lt;complexType>
49 |  |
      *             &lt;complexContent>
50 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 |  |
      *                 &lt;sequence>
52 |  |
      *                   &lt;element name="report" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
53 |  |
      *                 &lt;/sequence>
54 |  |
      *               &lt;/restriction>
55 |  |
      *             &lt;/complexContent>
56 |  |
      *           &lt;/complexType>
57 |  |
      *         &lt;/element>
58 |  |
      *       &lt;/all>
59 |  |
      *     &lt;/restriction>
60 |  |
      *   &lt;/complexContent>
61 |  |
      * &lt;/complexType>
62 |  |
      * </pre>
63 |  |
      *
64 |  |
      *
65 |  |
      */
66 |  |
     @XmlAccessorType(XmlAccessType.FIELD)
67 |  |
     @XmlType(name = "ReportSet", propOrder = {
68 |  |
69 |  |
     })
70 |  |
     @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")
71 | 3 |
     public class ReportSet {
72 |  |
73 |  |
         @XmlElement(defaultValue = "default")
74 |  |
         @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")
75 |  |
         protected String id;
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 ReportSet.Configuration configuration;
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 inherited;
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 ReportSet.Reports reports;
82 |  |
83 |  |
         /**
84 |  |
          * Gets the value of the id property.
85 |  |
          *
86 |  |
          * @return
87 |  |
          *     possible object is
88 |  |
          *     {@link String }
89 |  |
          *
90 |  |
          */
91 |  |
         @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")
92 |  |
         public String getId() {
93 | 0 |
             return id;
94 |  |
         }
95 |  |
96 |  |
         /**
97 |  |
          * Sets the value of the id property.
98 |  |
          *
99 |  |
          * @param value
100 |  |
          *     allowed object is
101 |  |
          *     {@link String }
102 |  |
          *
103 |  |
          */
104 |  |
         @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")
105 |  |
         public void setId(String value) {
106 | 0 |
             this.id = value;
107 | 0 |
         }
108 |  |
109 |  |
         /**
110 |  |
          * Gets the value of the configuration property.
111 |  |
          *
112 |  |
          * @return
113 |  |
          *     possible object is
114 |  |
          *     {@link ReportSet.Configuration }
115 |  |
          *
116 |  |
          */
117 |  |
         @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")
118 |  |
         public ReportSet.Configuration getConfiguration() {
119 | 0 |
             return configuration;
120 |  |
         }
121 |  |
122 |  |
         /**
123 |  |
          * Sets the value of the configuration property.
124 |  |
          *
125 |  |
          * @param value
126 |  |
          *     allowed object is
127 |  |
          *     {@link ReportSet.Configuration }
128 |  |
          *
129 |  |
          */
130 |  |
         @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")
131 |  |
         public void setConfiguration(ReportSet.Configuration value) {
132 | 0 |
             this.configuration = value;
133 | 0 |
         }
134 |  |
135 |  |
         /**
136 |  |
          * Gets the value of the inherited property.
137 |  |
          *
138 |  |
          * @return
139 |  |
          *     possible object is
140 |  |
          *     {@link String }
141 |  |
          *
142 |  |
          */
143 |  |
         @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")
144 |  |
         public String getInherited() {
145 | 0 |
             return inherited;
146 |  |
         }
147 |  |
148 |  |
         /**
149 |  |
          * Sets the value of the inherited property.
150 |  |
          *
151 |  |
          * @param value
152 |  |
          *     allowed object is
153 |  |
          *     {@link String }
154 |  |
          *
155 |  |
          */
156 |  |
         @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")
157 |  |
         public void setInherited(String value) {
158 | 0 |
             this.inherited = value;
159 | 0 |
         }
160 |  |
161 |  |
         /**
162 |  |
          * Gets the value of the reports property.
163 |  |
          *
164 |  |
          * @return
165 |  |
          *     possible object is
166 |  |
          *     {@link ReportSet.Reports }
167 |  |
          *
168 |  |
          */
169 |  |
         @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")
170 |  |
         public ReportSet.Reports getReports() {
171 | 0 |
             return reports;
172 |  |
         }
173 |  |
174 |  |
         /**
175 |  |
          * Sets the value of the reports property.
176 |  |
          *
177 |  |
          * @param value
178 |  |
          *     allowed object is
179 |  |
          *     {@link ReportSet.Reports }
180 |  |
          *
181 |  |
          */
182 |  |
         @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")
183 |  |
         public void setReports(ReportSet.Reports value) {
184 | 0 |
             this.reports = value;
185 | 0 |
         }
186 |  |
187 |  |
188 |  |
         /**
189 |  |
          * <p>Java class for anonymous complex type.
190 |  |
          *
191 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
192 |  |
          *
193 |  |
          * <pre>
194 |  |
          * &lt;complexType>
195 |  |
          *   &lt;complexContent>
196 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
197 |  |
          *       &lt;sequence>
198 |  |
          *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
199 |  |
          *       &lt;/sequence>
200 |  |
          *     &lt;/restriction>
201 |  |
          *   &lt;/complexContent>
202 |  |
          * &lt;/complexType>
203 |  |
          * </pre>
204 |  |
          *
205 |  |
          *
206 |  |
          */
207 |  |
         @XmlAccessorType(XmlAccessType.FIELD)
208 |  |
         @XmlType(name = "", propOrder = {
209 |  |
             "any"
210 |  |
         })
211 |  |
         @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")
212 | 0 |
         public static class Configuration {
213 |  |
214 |  |
             @XmlAnyElement
215 |  |
             @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")
216 |  |
             protected List<Element> any;
217 |  |
218 |  |
             /**
219 |  |
              * Gets the value of the any property.
220 |  |
              *
221 |  |
              * <p>
222 |  |
              * This accessor method returns a reference to the live list,
223 |  |
              * not a snapshot. Therefore any modification you make to the
224 |  |
              * returned list will be present inside the JAXB object.
225 |  |
              * This is why there is not a <CODE>set</CODE> method for the any property.
226 |  |
              *
227 |  |
              * <p>
228 |  |
              * For example, to add a new item, do as follows:
229 |  |
              * <pre>
230 |  |
              *    getAny().add(newItem);
231 |  |
              * </pre>
232 |  |
              *
233 |  |
              *
234 |  |
              * <p>
235 |  |
              * Objects of the following type(s) are allowed in the list
236 |  |
              * {@link Element }
237 |  |
              *
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 List<Element> getAny() {
242 | 0 |
                 if (any == null) {
243 | 0 |
                     any = new ArrayList<Element>();
244 |  |
                 }
245 | 0 |
                 return this.any;
246 |  |
             }
247 |  |
248 |  |
         }
249 |  |
250 |  |
251 |  |
         /**
252 |  |
          * <p>Java class for anonymous complex type.
253 |  |
          *
254 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
255 |  |
          *
256 |  |
          * <pre>
257 |  |
          * &lt;complexType>
258 |  |
          *   &lt;complexContent>
259 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
260 |  |
          *       &lt;sequence>
261 |  |
          *         &lt;element name="report" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
262 |  |
          *       &lt;/sequence>
263 |  |
          *     &lt;/restriction>
264 |  |
          *   &lt;/complexContent>
265 |  |
          * &lt;/complexType>
266 |  |
          * </pre>
267 |  |
          *
268 |  |
          *
269 |  |
          */
270 | 3 |
         @XmlAccessorType(XmlAccessType.FIELD)
271 |  |
         @XmlType(name = "", propOrder = {
272 |  |
             "report"
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 | 3 |
         public static class Reports {
276 |  |
277 |  |
             @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")
278 |  |
             protected List<String> report;
279 |  |
280 |  |
             /**
281 |  |
              * Gets the value of the report property.
282 |  |
              *
283 |  |
              * <p>
284 |  |
              * This accessor method returns a reference to the live list,
285 |  |
              * not a snapshot. Therefore any modification you make to the
286 |  |
              * returned list will be present inside the JAXB object.
287 |  |
              * This is why there is not a <CODE>set</CODE> method for the report property.
288 |  |
              *
289 |  |
              * <p>
290 |  |
              * For example, to add a new item, do as follows:
291 |  |
              * <pre>
292 |  |
              *    getReport().add(newItem);
293 |  |
              * </pre>
294 |  |
              *
295 |  |
              *
296 |  |
              * <p>
297 |  |
              * Objects of the following type(s) are allowed in the list
298 |  |
              * {@link String }
299 |  |
              *
300 |  |
              *
301 |  |
              */
302 |  |
             @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")
303 |  |
             public List<String> getReport() {
304 | 0 |
                 if (report == null) {
305 | 0 |
                     report = new ArrayList<String>();
306 |  |
                 }
307 | 0 |
                 return this.report;
308 |  |
             }
309 |  |
310 |  |
         }
311 |  |
312 |  |
     }