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 ref="{}Patch" maxOccurs="unbounded" minOccurs="0"/>
31   *       &lt;/sequence>
32   *     &lt;/restriction>
33   *   &lt;/complexContent>
34   * &lt;/complexType>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "", propOrder = {
41      "patches"
42  })
43  @XmlRootElement(name = "Patches", namespace = "")
44  public class Patches {
45  
46      @XmlElement(name = "Patch")
47      protected List<Patch> patches;
48  
49      /**
50       * Gets the value of the patches property.
51       * 
52       * <p>
53       * This accessor method returns a reference to the live list,
54       * not a snapshot. Therefore any modification you make to the
55       * returned list will be present inside the JAXB object.
56       * This is why there is not a <CODE>set</CODE> method for the patches property.
57       * 
58       * <p>
59       * For example, to add a new item, do as follows:
60       * <pre>
61       *    getPatches().add(newItem);
62       * </pre>
63       * 
64       * 
65       * <p>
66       * Objects of the following type(s) are allowed in the list
67       * {@link Patch }
68       * 
69       * 
70       */
71      public List<Patch> getPatches() {
72          if (patches == null) {
73              patches = new ArrayList<Patch>();
74          }
75          return this.patches;
76      }
77  
78  }