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

Classes in this File | Line Coverage | Branch Coverage | Complexity
Resource |
11% | 2/17
N/A | N/A
| 1.1666666666666667;1.167
Resource$Excludes |
25% | 1/4
0% | 0/2
| 1.1666666666666667;1.167
Resource$Includes |
25% | 1/4
0% | 0/2
| 1.1666666666666667;1.167

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.XmlElement;
17 |  |
     import javax.xml.bind.annotation.XmlType;
18 |  |
19 |  |
20 |  |
     /**
21 |  |
      *
22 |  |
      *         This element describes all of the classpath resources associated with a project or
23 |  |
      *         unit tests.
24 |  |
      *
25 |  |
      *
26 |  |
      * <p>Java class for Resource complex type.
27 |  |
      *
28 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
29 |  |
      *
30 |  |
      * <pre>
31 |  |
      * &lt;complexType name="Resource">
32 |  |
      *   &lt;complexContent>
33 |  |
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 |  |
      *       &lt;all>
35 |  |
      *         &lt;element name="targetPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36 |  |
      *         &lt;element name="filtering" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
37 |  |
      *         &lt;element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
38 |  |
      *         &lt;element name="includes" minOccurs="0">
39 |  |
      *           &lt;complexType>
40 |  |
      *             &lt;complexContent>
41 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 |  |
      *                 &lt;sequence>
43 |  |
      *                   &lt;element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
44 |  |
      *                 &lt;/sequence>
45 |  |
      *               &lt;/restriction>
46 |  |
      *             &lt;/complexContent>
47 |  |
      *           &lt;/complexType>
48 |  |
      *         &lt;/element>
49 |  |
      *         &lt;element name="excludes" 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="exclude" type="{http://www.w3.org/2001/XMLSchema}string" 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 = "Resource", 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 | 9 |
     public class Resource {
74 |  |
75 |  |
         @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")
76 |  |
         protected String targetPath;
77 |  |
         @XmlElement(defaultValue = "false")
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 Boolean filtering;
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 directory;
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 Resource.Includes includes;
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 Resource.Excludes excludes;
86 |  |
87 |  |
         /**
88 |  |
          * Gets the value of the targetPath property.
89 |  |
          *
90 |  |
          * @return
91 |  |
          *     possible object is
92 |  |
          *     {@link String }
93 |  |
          *
94 |  |
          */
95 |  |
         @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")
96 |  |
         public String getTargetPath() {
97 | 0 |
             return targetPath;
98 |  |
         }
99 |  |
100 |  |
         /**
101 |  |
          * Sets the value of the targetPath property.
102 |  |
          *
103 |  |
          * @param value
104 |  |
          *     allowed object is
105 |  |
          *     {@link String }
106 |  |
          *
107 |  |
          */
108 |  |
         @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")
109 |  |
         public void setTargetPath(String value) {
110 | 0 |
             this.targetPath = value;
111 | 0 |
         }
112 |  |
113 |  |
         /**
114 |  |
          * Gets the value of the filtering property.
115 |  |
          *
116 |  |
          * @return
117 |  |
          *     possible object is
118 |  |
          *     {@link Boolean }
119 |  |
          *
120 |  |
          */
121 |  |
         @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")
122 |  |
         public Boolean isFiltering() {
123 | 0 |
             return filtering;
124 |  |
         }
125 |  |
126 |  |
         /**
127 |  |
          * Sets the value of the filtering property.
128 |  |
          *
129 |  |
          * @param value
130 |  |
          *     allowed object is
131 |  |
          *     {@link Boolean }
132 |  |
          *
133 |  |
          */
134 |  |
         @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")
135 |  |
         public void setFiltering(Boolean value) {
136 | 0 |
             this.filtering = value;
137 | 0 |
         }
138 |  |
139 |  |
         /**
140 |  |
          * Gets the value of the directory property.
141 |  |
          *
142 |  |
          * @return
143 |  |
          *     possible object is
144 |  |
          *     {@link String }
145 |  |
          *
146 |  |
          */
147 |  |
         @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")
148 |  |
         public String getDirectory() {
149 | 0 |
             return directory;
150 |  |
         }
151 |  |
152 |  |
         /**
153 |  |
          * Sets the value of the directory property.
154 |  |
          *
155 |  |
          * @param value
156 |  |
          *     allowed object is
157 |  |
          *     {@link String }
158 |  |
          *
159 |  |
          */
160 |  |
         @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")
161 |  |
         public void setDirectory(String value) {
162 | 0 |
             this.directory = value;
163 | 0 |
         }
164 |  |
165 |  |
         /**
166 |  |
          * Gets the value of the includes property.
167 |  |
          *
168 |  |
          * @return
169 |  |
          *     possible object is
170 |  |
          *     {@link Resource.Includes }
171 |  |
          *
172 |  |
          */
173 |  |
         @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")
174 |  |
         public Resource.Includes getIncludes() {
175 | 0 |
             return includes;
176 |  |
         }
177 |  |
178 |  |
         /**
179 |  |
          * Sets the value of the includes property.
180 |  |
          *
181 |  |
          * @param value
182 |  |
          *     allowed object is
183 |  |
          *     {@link Resource.Includes }
184 |  |
          *
185 |  |
          */
186 |  |
         @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")
187 |  |
         public void setIncludes(Resource.Includes value) {
188 | 0 |
             this.includes = value;
189 | 0 |
         }
190 |  |
191 |  |
         /**
192 |  |
          * Gets the value of the excludes property.
193 |  |
          *
194 |  |
          * @return
195 |  |
          *     possible object is
196 |  |
          *     {@link Resource.Excludes }
197 |  |
          *
198 |  |
          */
199 |  |
         @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")
200 |  |
         public Resource.Excludes getExcludes() {
201 | 0 |
             return excludes;
202 |  |
         }
203 |  |
204 |  |
         /**
205 |  |
          * Sets the value of the excludes property.
206 |  |
          *
207 |  |
          * @param value
208 |  |
          *     allowed object is
209 |  |
          *     {@link Resource.Excludes }
210 |  |
          *
211 |  |
          */
212 |  |
         @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")
213 |  |
         public void setExcludes(Resource.Excludes value) {
214 | 0 |
             this.excludes = value;
215 | 0 |
         }
216 |  |
217 |  |
218 |  |
         /**
219 |  |
          * <p>Java class for anonymous complex type.
220 |  |
          *
221 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
222 |  |
          *
223 |  |
          * <pre>
224 |  |
          * &lt;complexType>
225 |  |
          *   &lt;complexContent>
226 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
227 |  |
          *       &lt;sequence>
228 |  |
          *         &lt;element name="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
229 |  |
          *       &lt;/sequence>
230 |  |
          *     &lt;/restriction>
231 |  |
          *   &lt;/complexContent>
232 |  |
          * &lt;/complexType>
233 |  |
          * </pre>
234 |  |
          *
235 |  |
          *
236 |  |
          */
237 |  |
         @XmlAccessorType(XmlAccessType.FIELD)
238 |  |
         @XmlType(name = "", propOrder = {
239 |  |
             "exclude"
240 |  |
         })
241 |  |
         @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")
242 | 2 |
         public static class Excludes {
243 |  |
244 |  |
             @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")
245 |  |
             protected List<String> exclude;
246 |  |
247 |  |
             /**
248 |  |
              * Gets the value of the exclude 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 exclude property.
255 |  |
              *
256 |  |
              * <p>
257 |  |
              * For example, to add a new item, do as follows:
258 |  |
              * <pre>
259 |  |
              *    getExclude().add(newItem);
260 |  |
              * </pre>
261 |  |
              *
262 |  |
              *
263 |  |
              * <p>
264 |  |
              * Objects of the following type(s) are allowed in the list
265 |  |
              * {@link String }
266 |  |
              *
267 |  |
              *
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 |  |
             public List<String> getExclude() {
271 | 0 |
                 if (exclude == null) {
272 | 0 |
                     exclude = new ArrayList<String>();
273 |  |
                 }
274 | 0 |
                 return this.exclude;
275 |  |
             }
276 |  |
277 |  |
         }
278 |  |
279 |  |
280 |  |
         /**
281 |  |
          * <p>Java class for anonymous complex type.
282 |  |
          *
283 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
284 |  |
          *
285 |  |
          * <pre>
286 |  |
          * &lt;complexType>
287 |  |
          *   &lt;complexContent>
288 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
289 |  |
          *       &lt;sequence>
290 |  |
          *         &lt;element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
291 |  |
          *       &lt;/sequence>
292 |  |
          *     &lt;/restriction>
293 |  |
          *   &lt;/complexContent>
294 |  |
          * &lt;/complexType>
295 |  |
          * </pre>
296 |  |
          *
297 |  |
          *
298 |  |
          */
299 | 9 |
         @XmlAccessorType(XmlAccessType.FIELD)
300 |  |
         @XmlType(name = "", propOrder = {
301 |  |
             "include"
302 |  |
         })
303 |  |
         @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")
304 | 3 |
         public static class Includes {
305 |  |
306 |  |
             @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")
307 |  |
             protected List<String> include;
308 |  |
309 |  |
             /**
310 |  |
              * Gets the value of the include property.
311 |  |
              *
312 |  |
              * <p>
313 |  |
              * This accessor method returns a reference to the live list,
314 |  |
              * not a snapshot. Therefore any modification you make to the
315 |  |
              * returned list will be present inside the JAXB object.
316 |  |
              * This is why there is not a <CODE>set</CODE> method for the include property.
317 |  |
              *
318 |  |
              * <p>
319 |  |
              * For example, to add a new item, do as follows:
320 |  |
              * <pre>
321 |  |
              *    getInclude().add(newItem);
322 |  |
              * </pre>
323 |  |
              *
324 |  |
              *
325 |  |
              * <p>
326 |  |
              * Objects of the following type(s) are allowed in the list
327 |  |
              * {@link String }
328 |  |
              *
329 |  |
              *
330 |  |
              */
331 |  |
             @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")
332 |  |
             public List<String> getInclude() {
333 | 0 |
                 if (include == null) {
334 | 0 |
                     include = new ArrayList<String>();
335 |  |
                 }
336 | 0 |
                 return this.include;
337 |  |
             }
338 |  |
339 |  |
         }
340 |  |
341 |  |
     }