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.XmlType;
17  
18  
19  /**
20   * <p>Java class for DbDataTable complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="DbDataTable">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
29   *         &lt;element name="Record" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbDataRecord" maxOccurs="unbounded" minOccurs="0"/>
30   *       &lt;/sequence>
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "DbDataTable", propOrder = {
40      "records"
41  })
42  public class DbDataTable {
43  
44      @XmlElement(name = "Record")
45      protected List<DbDataRecord> records;
46  
47      /**
48       * Gets the value of the records property.
49       * 
50       * <p>
51       * This accessor method returns a reference to the live list,
52       * not a snapshot. Therefore any modification you make to the
53       * returned list will be present inside the JAXB object.
54       * This is why there is not a <CODE>set</CODE> method for the records property.
55       * 
56       * <p>
57       * For example, to add a new item, do as follows:
58       * <pre>
59       *    getRecords().add(newItem);
60       * </pre>
61       * 
62       * 
63       * <p>
64       * Objects of the following type(s) are allowed in the list
65       * {@link DbDataRecord }
66       * 
67       * 
68       */
69      public List<DbDataRecord> getRecords() {
70          if (records == null) {
71              records = new ArrayList<DbDataRecord>();
72          }
73          return this.records;
74      }
75  
76  }