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

Classes in this File | Line Coverage | Branch Coverage | Complexity
DependencyManagement |
0% | 0/5
N/A | N/A
| 1.3333333333333333;1.333
DependencyManagement$Dependencies |
0% | 0/4
0% | 0/2
| 1.3333333333333333;1.333

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.XmlType;
17 |  |
18 |  |
19 |  |
     /**
20 |  |
      *
21 |  |
      *         Section for management of default dependency information for use in a group of POMs.
22 |  |
      *
23 |  |
      *
24 |  |
      * <p>Java class for DependencyManagement complex type.
25 |  |
      *
26 |  |
      * <p>The following schema fragment specifies the expected content contained within this class.
27 |  |
      *
28 |  |
      * <pre>
29 |  |
      * &lt;complexType name="DependencyManagement">
30 |  |
      *   &lt;complexContent>
31 |  |
      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 |  |
      *       &lt;all>
33 |  |
      *         &lt;element name="dependencies" minOccurs="0">
34 |  |
      *           &lt;complexType>
35 |  |
      *             &lt;complexContent>
36 |  |
      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 |  |
      *                 &lt;sequence>
38 |  |
      *                   &lt;element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
39 |  |
      *                 &lt;/sequence>
40 |  |
      *               &lt;/restriction>
41 |  |
      *             &lt;/complexContent>
42 |  |
      *           &lt;/complexType>
43 |  |
      *         &lt;/element>
44 |  |
      *       &lt;/all>
45 |  |
      *     &lt;/restriction>
46 |  |
      *   &lt;/complexContent>
47 |  |
      * &lt;/complexType>
48 |  |
      * </pre>
49 |  |
      *
50 |  |
      *
51 |  |
      */
52 |  |
     @XmlAccessorType(XmlAccessType.FIELD)
53 |  |
     @XmlType(name = "DependencyManagement", propOrder = {
54 |  |
55 |  |
     })
56 |  |
     @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")
57 | 0 |
     public class DependencyManagement {
58 |  |
59 |  |
         @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")
60 |  |
         protected DependencyManagement.Dependencies dependencies;
61 |  |
62 |  |
         /**
63 |  |
          * Gets the value of the dependencies property.
64 |  |
          *
65 |  |
          * @return
66 |  |
          *     possible object is
67 |  |
          *     {@link DependencyManagement.Dependencies }
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 |  |
         public DependencyManagement.Dependencies getDependencies() {
72 | 0 |
             return dependencies;
73 |  |
         }
74 |  |
75 |  |
         /**
76 |  |
          * Sets the value of the dependencies property.
77 |  |
          *
78 |  |
          * @param value
79 |  |
          *     allowed object is
80 |  |
          *     {@link DependencyManagement.Dependencies }
81 |  |
          *
82 |  |
          */
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 |  |
         public void setDependencies(DependencyManagement.Dependencies value) {
85 | 0 |
             this.dependencies = value;
86 | 0 |
         }
87 |  |
88 |  |
89 |  |
         /**
90 |  |
          * <p>Java class for anonymous complex type.
91 |  |
          *
92 |  |
          * <p>The following schema fragment specifies the expected content contained within this class.
93 |  |
          *
94 |  |
          * <pre>
95 |  |
          * &lt;complexType>
96 |  |
          *   &lt;complexContent>
97 |  |
          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
98 |  |
          *       &lt;sequence>
99 |  |
          *         &lt;element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
100 |  |
          *       &lt;/sequence>
101 |  |
          *     &lt;/restriction>
102 |  |
          *   &lt;/complexContent>
103 |  |
          * &lt;/complexType>
104 |  |
          * </pre>
105 |  |
          *
106 |  |
          *
107 |  |
          */
108 | 0 |
         @XmlAccessorType(XmlAccessType.FIELD)
109 |  |
         @XmlType(name = "", propOrder = {
110 |  |
             "dependency"
111 |  |
         })
112 |  |
         @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")
113 | 0 |
         public static class Dependencies {
114 |  |
115 |  |
             @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")
116 |  |
             protected List<Dependency> dependency;
117 |  |
118 |  |
             /**
119 |  |
              * Gets the value of the dependency property.
120 |  |
              *
121 |  |
              * <p>
122 |  |
              * This accessor method returns a reference to the live list,
123 |  |
              * not a snapshot. Therefore any modification you make to the
124 |  |
              * returned list will be present inside the JAXB object.
125 |  |
              * This is why there is not a <CODE>set</CODE> method for the dependency property.
126 |  |
              *
127 |  |
              * <p>
128 |  |
              * For example, to add a new item, do as follows:
129 |  |
              * <pre>
130 |  |
              *    getDependency().add(newItem);
131 |  |
              * </pre>
132 |  |
              *
133 |  |
              *
134 |  |
              * <p>
135 |  |
              * Objects of the following type(s) are allowed in the list
136 |  |
              * {@link Dependency }
137 |  |
              *
138 |  |
              *
139 |  |
              */
140 |  |
             @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")
141 |  |
             public List<Dependency> getDependency() {
142 | 0 |
                 if (dependency == null) {
143 | 0 |
                     dependency = new ArrayList<Dependency>();
144 |  |
                 }
145 | 0 |
                 return this.dependency;
146 |  |
             }
147 |  |
148 |  |
         }
149 |  |
150 |  |
     }