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 * <complexType> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="Module" maxOccurs="unbounded" minOccurs="0"> 31 * <complexType> 32 * <complexContent> 33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 34 * <sequence> 35 * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/> 36 * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> 37 * <element name="Versions"> 38 * <complexType> 39 * <complexContent> 40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 41 * <sequence> 42 * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 43 * </sequence> 44 * </restriction> 45 * </complexContent> 46 * </complexType> 47 * </element> 48 * </sequence> 49 * </restriction> 50 * </complexContent> 51 * </complexType> 52 * </element> 53 * </sequence> 54 * </restriction> 55 * </complexContent> 56 * </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 * <complexType> 108 * <complexContent> 109 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 110 * <sequence> 111 * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string"/> 112 * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> 113 * <element name="Versions"> 114 * <complexType> 115 * <complexContent> 116 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 117 * <sequence> 118 * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 119 * </sequence> 120 * </restriction> 121 * </complexContent> 122 * </complexType> 123 * </element> 124 * </sequence> 125 * </restriction> 126 * </complexContent> 127 * </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 * <complexType> 227 * <complexContent> 228 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 229 * <sequence> 230 * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 231 * </sequence> 232 * </restriction> 233 * </complexContent> 234 * </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 }