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 DbSchema complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="DbSchema"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <sequence> 29 * <element name="Table" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbTable" maxOccurs="unbounded" minOccurs="0"/> 30 * <element name="View" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbView" maxOccurs="unbounded" minOccurs="0"/> 31 * <element name="Sequence" type="{http://dbrevision.sourceforge.net/xsd/dbrevision-structure.xsd}DbSequence" maxOccurs="unbounded" minOccurs="0"/> 32 * </sequence> 33 * </restriction> 34 * </complexContent> 35 * </complexType> 36 * </pre> 37 * 38 * 39 */ 40 @XmlAccessorType(XmlAccessType.FIELD) 41 @XmlType(name = "DbSchema", propOrder = { 42 "tables", 43 "views", 44 "sequences" 45 }) 46 public class DbSchema { 47 48 @XmlElement(name = "Table") 49 protected List<DbTable> tables; 50 @XmlElement(name = "View") 51 protected List<DbView> views; 52 @XmlElement(name = "Sequence") 53 protected List<DbSequence> sequences; 54 55 /** 56 * Gets the value of the tables property. 57 * 58 * <p> 59 * This accessor method returns a reference to the live list, 60 * not a snapshot. Therefore any modification you make to the 61 * returned list will be present inside the JAXB object. 62 * This is why there is not a <CODE>set</CODE> method for the tables property. 63 * 64 * <p> 65 * For example, to add a new item, do as follows: 66 * <pre> 67 * getTables().add(newItem); 68 * </pre> 69 * 70 * 71 * <p> 72 * Objects of the following type(s) are allowed in the list 73 * {@link DbTable } 74 * 75 * 76 */ 77 public List<DbTable> getTables() { 78 if (tables == null) { 79 tables = new ArrayList<DbTable>(); 80 } 81 return this.tables; 82 } 83 84 /** 85 * Gets the value of the views property. 86 * 87 * <p> 88 * This accessor method returns a reference to the live list, 89 * not a snapshot. Therefore any modification you make to the 90 * returned list will be present inside the JAXB object. 91 * This is why there is not a <CODE>set</CODE> method for the views property. 92 * 93 * <p> 94 * For example, to add a new item, do as follows: 95 * <pre> 96 * getViews().add(newItem); 97 * </pre> 98 * 99 * 100 * <p> 101 * Objects of the following type(s) are allowed in the list 102 * {@link DbView } 103 * 104 * 105 */ 106 public List<DbView> getViews() { 107 if (views == null) { 108 views = new ArrayList<DbView>(); 109 } 110 return this.views; 111 } 112 113 /** 114 * Gets the value of the sequences property. 115 * 116 * <p> 117 * This accessor method returns a reference to the live list, 118 * not a snapshot. Therefore any modification you make to the 119 * returned list will be present inside the JAXB object. 120 * This is why there is not a <CODE>set</CODE> method for the sequences property. 121 * 122 * <p> 123 * For example, to add a new item, do as follows: 124 * <pre> 125 * getSequences().add(newItem); 126 * </pre> 127 * 128 * 129 * <p> 130 * Objects of the following type(s) are allowed in the list 131 * {@link DbSequence } 132 * 133 * 134 */ 135 public List<DbSequence> getSequences() { 136 if (sequences == null) { 137 sequences = new ArrayList<DbSequence>(); 138 } 139 return this.sequences; 140 } 141 142 }