View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs 
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: 2007.08.06 at 08:17:38 PM MSD 
6   //
7   
8   
9   package org.riverock.dbrevision.annotation.schema.db;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlElement;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlType;
18  
19  
20  /**
21   * <p>Java class for anonymous complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType>
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element name="Module" maxOccurs="unbounded" minOccurs="0">
31   *           &lt;complexType>
32   *             &lt;complexContent>
33   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34   *                 &lt;sequence>
35   *                   &lt;element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/>
36   *                   &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
37   *                   &lt;element name="Versions">
38   *                     &lt;complexType>
39   *                       &lt;complexContent>
40   *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41   *                           &lt;sequence>
42   *                             &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
43   *                           &lt;/sequence>
44   *                         &lt;/restriction>
45   *                       &lt;/complexContent>
46   *                     &lt;/complexType>
47   *                   &lt;/element>
48   *                 &lt;/sequence>
49   *               &lt;/restriction>
50   *             &lt;/complexContent>
51   *           &lt;/complexType>
52   *         &lt;/element>
53   *       &lt;/sequence>
54   *     &lt;/restriction>
55   *   &lt;/complexContent>
56   * &lt;/complexType>
57   * </pre>
58   * 
59   * 
60   */
61  @XmlAccessorType(XmlAccessType.FIELD)
62  @XmlType(name = "", propOrder = {
63      "modules"
64  })
65  @XmlRootElement(name = "DbRevision", namespace = "")
66  public class DbRevision {
67  
68      @XmlElement(name = "Module")
69      protected List<DbRevision.Module> modules;
70  
71      /**
72       * Gets the value of the modules property.
73       * 
74       * <p>
75       * This accessor method returns a reference to the live list,
76       * not a snapshot. Therefore any modification you make to the
77       * returned list will be present inside the JAXB object.
78       * This is why there is not a <CODE>set</CODE> method for the modules property.
79       * 
80       * <p>
81       * For example, to add a new item, do as follows:
82       * <pre>
83       *    getModules().add(newItem);
84       * </pre>
85       * 
86       * 
87       * <p>
88       * Objects of the following type(s) are allowed in the list
89       * {@link DbRevision.Module }
90       * 
91       * 
92       */
93      public List<DbRevision.Module> getModules() {
94          if (modules == null) {
95              modules = new ArrayList<DbRevision.Module>();
96          }
97          return this.modules;
98      }
99  
100 
101     /**
102      * <p>Java class for anonymous complex type.
103      * 
104      * <p>The following schema fragment specifies the expected content contained within this class.
105      * 
106      * <pre>
107      * &lt;complexType>
108      *   &lt;complexContent>
109      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
110      *       &lt;sequence>
111      *         &lt;element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/>
112      *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
113      *         &lt;element name="Versions">
114      *           &lt;complexType>
115      *             &lt;complexContent>
116      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
117      *                 &lt;sequence>
118      *                   &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
119      *                 &lt;/sequence>
120      *               &lt;/restriction>
121      *             &lt;/complexContent>
122      *           &lt;/complexType>
123      *         &lt;/element>
124      *       &lt;/sequence>
125      *     &lt;/restriction>
126      *   &lt;/complexContent>
127      * &lt;/complexType>
128      * </pre>
129      * 
130      * 
131      */
132     @XmlAccessorType(XmlAccessType.FIELD)
133     @XmlType(name = "", propOrder = {
134         "description",
135         "name",
136         "versions"
137     })
138     public static class Module {
139 
140         @XmlElement(name = "Description", required = true)
141         protected String description;
142         @XmlElement(name = "Name", required = true)
143         protected String name;
144         @XmlElement(name = "Versions", required = true)
145         protected DbRevision.Module.Versions versions;
146 
147         /**
148          * Gets the value of the description property.
149          * 
150          * @return
151          *     possible object is
152          *     {@link String }
153          *     
154          */
155         public String getDescription() {
156             return description;
157         }
158 
159         /**
160          * Sets the value of the description property.
161          * 
162          * @param value
163          *     allowed object is
164          *     {@link String }
165          *     
166          */
167         public void setDescription(String value) {
168             this.description = value;
169         }
170 
171         /**
172          * Gets the value of the name property.
173          * 
174          * @return
175          *     possible object is
176          *     {@link String }
177          *     
178          */
179         public String getName() {
180             return name;
181         }
182 
183         /**
184          * Sets the value of the name property.
185          * 
186          * @param value
187          *     allowed object is
188          *     {@link String }
189          *     
190          */
191         public void setName(String value) {
192             this.name = value;
193         }
194 
195         /**
196          * Gets the value of the versions property.
197          * 
198          * @return
199          *     possible object is
200          *     {@link DbRevision.Module.Versions }
201          *     
202          */
203         public DbRevision.Module.Versions getVersions() {
204             return versions;
205         }
206 
207         /**
208          * Sets the value of the versions property.
209          * 
210          * @param value
211          *     allowed object is
212          *     {@link DbRevision.Module.Versions }
213          *     
214          */
215         public void setVersions(DbRevision.Module.Versions value) {
216             this.versions = value;
217         }
218 
219 
220         /**
221          * <p>Java class for anonymous complex type.
222          * 
223          * <p>The following schema fragment specifies the expected content contained within this class.
224          * 
225          * <pre>
226          * &lt;complexType>
227          *   &lt;complexContent>
228          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
229          *       &lt;sequence>
230          *         &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
231          *       &lt;/sequence>
232          *     &lt;/restriction>
233          *   &lt;/complexContent>
234          * &lt;/complexType>
235          * </pre>
236          * 
237          * 
238          */
239         @XmlAccessorType(XmlAccessType.FIELD)
240         @XmlType(name = "", propOrder = {
241             "versions"
242         })
243         public static class Versions {
244 
245             @XmlElement(name = "Version")
246             protected List<String> versions;
247 
248             /**
249              * Gets the value of the versions property.
250              * 
251              * <p>
252              * This accessor method returns a reference to the live list,
253              * not a snapshot. Therefore any modification you make to the
254              * returned list will be present inside the JAXB object.
255              * This is why there is not a <CODE>set</CODE> method for the versions property.
256              * 
257              * <p>
258              * For example, to add a new item, do as follows:
259              * <pre>
260              *    getVersions().add(newItem);
261              * </pre>
262              * 
263              * 
264              * <p>
265              * Objects of the following type(s) are allowed in the list
266              * {@link String }
267              * 
268              * 
269              */
270             public List<String> getVersions() {
271                 if (versions == null) {
272                     versions = new ArrayList<String>();
273                 }
274                 return this.versions;
275             }
276 
277         }
278 
279     }
280 
281 }