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

Classes in this File | Line Coverage | Branch Coverage | Complexity
PluginExecution |
11% | 2/17
N/A | N/A
| 1.1666666666666667;1.167
PluginExecution$Configuration |
25% | 1/4
0% | 0/2
| 1.1666666666666667;1.167
PluginExecution$Goals |
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.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 PluginExecution complex type.
26 |  |
      *
27 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
28 |  |
      *
29 |  |
      * <pre>
30 |  |
      * &lt;complexType name="PluginExecution">
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="phase" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36 |  |
      *         &lt;element name="goals" minOccurs="0">
37 |  |
      *           &lt;complexType>
38 |  |
      *             &lt;complexContent>
39 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40 |  |
      *                 &lt;sequence>
41 |  |
      *                   &lt;element name="goal" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
42 |  |
      *                 &lt;/sequence>
43 |  |
      *               &lt;/restriction>
44 |  |
      *             &lt;/complexContent>
45 |  |
      *           &lt;/complexType>
46 |  |
      *         &lt;/element>
47 |  |
      *         &lt;element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48 |  |
      *         &lt;element name="configuration" minOccurs="0">
49 |  |
      *           &lt;complexType>
50 |  |
      *             &lt;complexContent>
51 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
52 |  |
      *                 &lt;sequence>
53 |  |
      *                   &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
54 |  |
      *                 &lt;/sequence>
55 |  |
      *               &lt;/restriction>
56 |  |
      *             &lt;/complexContent>
57 |  |
      *           &lt;/complexType>
58 |  |
      *         &lt;/element>
59 |  |
      *       &lt;/all>
60 |  |
      *     &lt;/restriction>
61 |  |
      *   &lt;/complexContent>
62 |  |
      * &lt;/complexType>
63 |  |
      * </pre>
64 |  |
      *
65 |  |
      *
66 |  |
      */
67 |  |
     @XmlAccessorType(XmlAccessType.FIELD)
68 |  |
     @XmlType(name = "PluginExecution", propOrder = {
69 |  |
70 |  |
     })
71 |  |
     @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")
72 | 27 |
     public class PluginExecution {
73 |  |
74 |  |
         @XmlElement(defaultValue = "default")
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 id;
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 |  |
         protected String phase;
79 |  |
         @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")
80 |  |
         protected PluginExecution.Goals goals;
81 |  |
         @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")
82 |  |
         protected String inherited;
83 |  |
         @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")
84 |  |
         protected PluginExecution.Configuration configuration;
85 |  |
86 |  |
         /**
87 |  |
          * Gets the value of the id property.
88 |  |
          *
89 |  |
          * @return
90 |  |
          *     possible object is
91 |  |
          *     {@link String }
92 |  |
          *
93 |  |
          */
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 |  |
         public String getId() {
96 | 0 |
             return id;
97 |  |
         }
98 |  |
99 |  |
         /**
100 |  |
          * Sets the value of the id property.
101 |  |
          *
102 |  |
          * @param value
103 |  |
          *     allowed object is
104 |  |
          *     {@link String }
105 |  |
          *
106 |  |
          */
107 |  |
         @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")
108 |  |
         public void setId(String value) {
109 | 0 |
             this.id = value;
110 | 0 |
         }
111 |  |
112 |  |
         /**
113 |  |
          * Gets the value of the phase property.
114 |  |
          *
115 |  |
          * @return
116 |  |
          *     possible object is
117 |  |
          *     {@link String }
118 |  |
          *
119 |  |
          */
120 |  |
         @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")
121 |  |
         public String getPhase() {
122 | 0 |
             return phase;
123 |  |
         }
124 |  |
125 |  |
         /**
126 |  |
          * Sets the value of the phase property.
127 |  |
          *
128 |  |
          * @param value
129 |  |
          *     allowed object is
130 |  |
          *     {@link String }
131 |  |
          *
132 |  |
          */
133 |  |
         @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")
134 |  |
         public void setPhase(String value) {
135 | 0 |
             this.phase = value;
136 | 0 |
         }
137 |  |
138 |  |
         /**
139 |  |
          * Gets the value of the goals property.
140 |  |
          *
141 |  |
          * @return
142 |  |
          *     possible object is
143 |  |
          *     {@link PluginExecution.Goals }
144 |  |
          *
145 |  |
          */
146 |  |
         @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")
147 |  |
         public PluginExecution.Goals getGoals() {
148 | 0 |
             return goals;
149 |  |
         }
150 |  |
151 |  |
         /**
152 |  |
          * Sets the value of the goals property.
153 |  |
          *
154 |  |
          * @param value
155 |  |
          *     allowed object is
156 |  |
          *     {@link PluginExecution.Goals }
157 |  |
          *
158 |  |
          */
159 |  |
         @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")
160 |  |
         public void setGoals(PluginExecution.Goals value) {
161 | 0 |
             this.goals = value;
162 | 0 |
         }
163 |  |
164 |  |
         /**
165 |  |
          * Gets the value of the inherited property.
166 |  |
          *
167 |  |
          * @return
168 |  |
          *     possible object is
169 |  |
          *     {@link String }
170 |  |
          *
171 |  |
          */
172 |  |
         @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")
173 |  |
         public String getInherited() {
174 | 0 |
             return inherited;
175 |  |
         }
176 |  |
177 |  |
         /**
178 |  |
          * Sets the value of the inherited property.
179 |  |
          *
180 |  |
          * @param value
181 |  |
          *     allowed object is
182 |  |
          *     {@link String }
183 |  |
          *
184 |  |
          */
185 |  |
         @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")
186 |  |
         public void setInherited(String value) {
187 | 0 |
             this.inherited = value;
188 | 0 |
         }
189 |  |
190 |  |
         /**
191 |  |
          * Gets the value of the configuration property.
192 |  |
          *
193 |  |
          * @return
194 |  |
          *     possible object is
195 |  |
          *     {@link PluginExecution.Configuration }
196 |  |
          *
197 |  |
          */
198 |  |
         @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")
199 |  |
         public PluginExecution.Configuration getConfiguration() {
200 | 0 |
             return configuration;
201 |  |
         }
202 |  |
203 |  |
         /**
204 |  |
          * Sets the value of the configuration property.
205 |  |
          *
206 |  |
          * @param value
207 |  |
          *     allowed object is
208 |  |
          *     {@link PluginExecution.Configuration }
209 |  |
          *
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 |  |
         public void setConfiguration(PluginExecution.Configuration value) {
213 | 0 |
             this.configuration = value;
214 | 0 |
         }
215 |  |
216 |  |
217 |  |
         /**
218 |  |
          * <p>Java class for anonymous complex type.
219 |  |
          *
220 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
221 |  |
          *
222 |  |
          * <pre>
223 |  |
          * &lt;complexType>
224 |  |
          *   &lt;complexContent>
225 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
226 |  |
          *       &lt;sequence>
227 |  |
          *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
228 |  |
          *       &lt;/sequence>
229 |  |
          *     &lt;/restriction>
230 |  |
          *   &lt;/complexContent>
231 |  |
          * &lt;/complexType>
232 |  |
          * </pre>
233 |  |
          *
234 |  |
          *
235 |  |
          */
236 |  |
         @XmlAccessorType(XmlAccessType.FIELD)
237 |  |
         @XmlType(name = "", propOrder = {
238 |  |
             "any"
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 | 11 |
         public static class Configuration {
242 |  |
243 |  |
             @XmlAnyElement
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<Element> any;
246 |  |
247 |  |
             /**
248 |  |
              * Gets the value of the any 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 any property.
255 |  |
              *
256 |  |
              * <p>
257 |  |
              * For example, to add a new item, do as follows:
258 |  |
              * <pre>
259 |  |
              *    getAny().add(newItem);
260 |  |
              * </pre>
261 |  |
              *
262 |  |
              *
263 |  |
              * <p>
264 |  |
              * Objects of the following type(s) are allowed in the list
265 |  |
              * {@link Element }
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<Element> getAny() {
271 | 0 |
                 if (any == null) {
272 | 0 |
                     any = new ArrayList<Element>();
273 |  |
                 }
274 | 0 |
                 return this.any;
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="goal" 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 | 27 |
         @XmlAccessorType(XmlAccessType.FIELD)
300 |  |
         @XmlType(name = "", propOrder = {
301 |  |
             "goal"
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 | 27 |
         public static class Goals {
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> goal;
308 |  |
309 |  |
             /**
310 |  |
              * Gets the value of the goal 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 goal property.
317 |  |
              *
318 |  |
              * <p>
319 |  |
              * For example, to add a new item, do as follows:
320 |  |
              * <pre>
321 |  |
              *    getGoal().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> getGoal() {
333 | 0 |
                 if (goal == null) {
334 | 0 |
                     goal = new ArrayList<String>();
335 |  |
                 }
336 | 0 |
                 return this.goal;
337 |  |
             }
338 |  |
339 |  |
         }
340 |  |
341 |  |
     }