001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2008.10.21 at 09:24:54 AM EDT 006 // 007 008 009 package org.apache.geronimo.system.plugin.model; 010 011 import java.io.Serializable; 012 import java.util.ArrayList; 013 import java.util.List; 014 import javax.xml.bind.annotation.XmlAccessType; 015 import javax.xml.bind.annotation.XmlAccessorType; 016 import javax.xml.bind.annotation.XmlAttribute; 017 import javax.xml.bind.annotation.XmlElement; 018 import javax.xml.bind.annotation.XmlType; 019 020 021 /** 022 * <p>Java class for referenceType complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType name="referenceType"> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element name="pattern" maxOccurs="unbounded" minOccurs="0"> 032 * <complexType> 033 * <complexContent> 034 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 035 * <sequence> 036 * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 037 * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 038 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 039 * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 040 * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 041 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> 042 * </sequence> 043 * </restriction> 044 * </complexContent> 045 * </complexType> 046 * </element> 047 * </sequence> 048 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 049 * </restriction> 050 * </complexContent> 051 * </complexType> 052 * </pre> 053 * 054 * 055 */ 056 @XmlAccessorType(XmlAccessType.FIELD) 057 @XmlType(name = "referenceType", namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", propOrder = { 058 "pattern" 059 }) 060 public class ReferenceType implements Serializable 061 { 062 063 private final static long serialVersionUID = 12343L; 064 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 065 protected List<ReferenceType.Pattern> pattern; 066 @XmlAttribute 067 protected String name; 068 069 /** 070 * Gets the value of the pattern property. 071 * 072 * <p> 073 * This accessor method returns a reference to the live list, 074 * not a snapshot. Therefore any modification you make to the 075 * returned list will be present inside the JAXB object. 076 * This is why there is not a <CODE>set</CODE> method for the pattern property. 077 * 078 * <p> 079 * For example, to add a new item, do as follows: 080 * <pre> 081 * getPattern().add(newItem); 082 * </pre> 083 * 084 * 085 * <p> 086 * Objects of the following type(s) are allowed in the list 087 * {@link ReferenceType.Pattern } 088 * 089 * 090 */ 091 public List<ReferenceType.Pattern> getPattern() { 092 if (pattern == null) { 093 pattern = new ArrayList<ReferenceType.Pattern>(); 094 } 095 return this.pattern; 096 } 097 098 /** 099 * Gets the value of the name property. 100 * 101 * @return 102 * possible object is 103 * {@link String } 104 * 105 */ 106 public String getName() { 107 return name; 108 } 109 110 /** 111 * Sets the value of the name property. 112 * 113 * @param value 114 * allowed object is 115 * {@link String } 116 * 117 */ 118 public void setName(String value) { 119 this.name = value; 120 } 121 122 123 /** 124 * <p>Java class for anonymous complex type. 125 * 126 * <p>The following schema fragment specifies the expected content contained within this class. 127 * 128 * <pre> 129 * <complexType> 130 * <complexContent> 131 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 132 * <sequence> 133 * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 134 * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 135 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 136 * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 137 * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 138 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> 139 * </sequence> 140 * </restriction> 141 * </complexContent> 142 * </complexType> 143 * </pre> 144 * 145 * 146 */ 147 @XmlAccessorType(XmlAccessType.FIELD) 148 @XmlType(name = "", propOrder = { 149 "groupId", 150 "artifactId", 151 "version", 152 "type", 153 "module", 154 "name" 155 }) 156 public static class Pattern 157 implements Serializable 158 { 159 160 private final static long serialVersionUID = 12343L; 161 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 162 protected String groupId; 163 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 164 protected String artifactId; 165 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 166 protected String version; 167 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 168 protected String type; 169 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2") 170 protected String module; 171 @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", required = true) 172 protected String name; 173 174 /** 175 * Gets the value of the groupId property. 176 * 177 * @return 178 * possible object is 179 * {@link String } 180 * 181 */ 182 public String getGroupId() { 183 return groupId; 184 } 185 186 /** 187 * Sets the value of the groupId property. 188 * 189 * @param value 190 * allowed object is 191 * {@link String } 192 * 193 */ 194 public void setGroupId(String value) { 195 this.groupId = value; 196 } 197 198 /** 199 * Gets the value of the artifactId property. 200 * 201 * @return 202 * possible object is 203 * {@link String } 204 * 205 */ 206 public String getArtifactId() { 207 return artifactId; 208 } 209 210 /** 211 * Sets the value of the artifactId property. 212 * 213 * @param value 214 * allowed object is 215 * {@link String } 216 * 217 */ 218 public void setArtifactId(String value) { 219 this.artifactId = value; 220 } 221 222 /** 223 * Gets the value of the version property. 224 * 225 * @return 226 * possible object is 227 * {@link String } 228 * 229 */ 230 public String getVersion() { 231 return version; 232 } 233 234 /** 235 * Sets the value of the version property. 236 * 237 * @param value 238 * allowed object is 239 * {@link String } 240 * 241 */ 242 public void setVersion(String value) { 243 this.version = value; 244 } 245 246 /** 247 * Gets the value of the type property. 248 * 249 * @return 250 * possible object is 251 * {@link String } 252 * 253 */ 254 public String getType() { 255 return type; 256 } 257 258 /** 259 * Sets the value of the type property. 260 * 261 * @param value 262 * allowed object is 263 * {@link String } 264 * 265 */ 266 public void setType(String value) { 267 this.type = value; 268 } 269 270 /** 271 * Gets the value of the module property. 272 * 273 * @return 274 * possible object is 275 * {@link String } 276 * 277 */ 278 public String getModule() { 279 return module; 280 } 281 282 /** 283 * Sets the value of the module property. 284 * 285 * @param value 286 * allowed object is 287 * {@link String } 288 * 289 */ 290 public void setModule(String value) { 291 this.module = value; 292 } 293 294 /** 295 * Gets the value of the name property. 296 * 297 * @return 298 * possible object is 299 * {@link String } 300 * 301 */ 302 public String getName() { 303 return name; 304 } 305 306 /** 307 * Sets the value of the name property. 308 * 309 * @param value 310 * allowed object is 311 * {@link String } 312 * 313 */ 314 public void setName(String value) { 315 this.name = value; 316 } 317 318 } 319 320 }