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.XmlElement;
017    import javax.xml.bind.annotation.XmlType;
018    
019    
020    /**
021     * <p>Java class for pluginArtifactType complex type.
022     * 
023     * <p>The following schema fragment specifies the expected content contained within this class.
024     * 
025     * <pre>
026     * &lt;complexType name="pluginArtifactType">
027     *   &lt;complexContent>
028     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029     *       &lt;sequence>
030     *         &lt;element name="module-id" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType"/>
031     *         &lt;element name="hash" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}hashType" minOccurs="0"/>
032     *         &lt;element name="geronimo-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
033     *         &lt;element name="jvm-version" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
034     *         &lt;element name="prerequisite" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}prerequisiteType" maxOccurs="unbounded" minOccurs="0"/>
035     *         &lt;element name="dependency" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}dependencyType" maxOccurs="unbounded" minOccurs="0"/>
036     *         &lt;element name="obsoletes" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}artifactType" maxOccurs="unbounded" minOccurs="0"/>
037     *         &lt;element name="source-repository" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
038     *         &lt;element name="copy-file" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}copy-fileType" maxOccurs="unbounded" minOccurs="0"/>
039     *         &lt;element name="config-xml-content" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}config-xml-contentType" maxOccurs="unbounded" minOccurs="0"/>
040     *         &lt;element name="artifact-alias" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
041     *         &lt;element name="config-substitution" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}propertyType" maxOccurs="unbounded" minOccurs="0"/>
042     *       &lt;/sequence>
043     *     &lt;/restriction>
044     *   &lt;/complexContent>
045     * &lt;/complexType>
046     * </pre>
047     * 
048     * 
049     */
050    @XmlAccessorType(XmlAccessType.FIELD)
051    @XmlType(name = "pluginArtifactType", propOrder = {
052        "moduleId",
053        "hash",
054        "geronimoVersion",
055        "jvmVersion",
056        "prerequisite",
057        "dependency",
058        "obsoletes",
059        "sourceRepository",
060        "copyFile",
061        "configXmlContent",
062        "artifactAlias",
063        "configSubstitution"
064    })
065    public class PluginArtifactType
066        implements Serializable
067    {
068    
069        private final static long serialVersionUID = 12343L;
070        @XmlElement(name = "module-id", required = true)
071        protected ArtifactType moduleId;
072        protected HashType hash;
073        @XmlElement(name = "geronimo-version")
074        protected List<String> geronimoVersion;
075        @XmlElement(name = "jvm-version")
076        protected List<String> jvmVersion;
077        protected List<PrerequisiteType> prerequisite;
078        protected List<DependencyType> dependency;
079        protected List<ArtifactType> obsoletes;
080        @XmlElement(name = "source-repository")
081        protected List<String> sourceRepository;
082        @XmlElement(name = "copy-file")
083        protected List<CopyFileType> copyFile;
084        @XmlElement(name = "config-xml-content")
085        protected List<ConfigXmlContentType> configXmlContent;
086        @XmlElement(name = "artifact-alias")
087        protected List<PropertyType> artifactAlias;
088        @XmlElement(name = "config-substitution")
089        protected List<PropertyType> configSubstitution;
090    
091        /**
092         * Gets the value of the moduleId property.
093         * 
094         * @return
095         *     possible object is
096         *     {@link ArtifactType }
097         *     
098         */
099        public ArtifactType getModuleId() {
100            return moduleId;
101        }
102    
103        /**
104         * Sets the value of the moduleId property.
105         * 
106         * @param value
107         *     allowed object is
108         *     {@link ArtifactType }
109         *     
110         */
111        public void setModuleId(ArtifactType value) {
112            this.moduleId = value;
113        }
114    
115        /**
116         * Gets the value of the hash property.
117         * 
118         * @return
119         *     possible object is
120         *     {@link HashType }
121         *     
122         */
123        public HashType getHash() {
124            return hash;
125        }
126    
127        /**
128         * Sets the value of the hash property.
129         * 
130         * @param value
131         *     allowed object is
132         *     {@link HashType }
133         *     
134         */
135        public void setHash(HashType value) {
136            this.hash = value;
137        }
138    
139        /**
140         * Gets the value of the geronimoVersion property.
141         * 
142         * <p>
143         * This accessor method returns a reference to the live list,
144         * not a snapshot. Therefore any modification you make to the
145         * returned list will be present inside the JAXB object.
146         * This is why there is not a <CODE>set</CODE> method for the geronimoVersion property.
147         * 
148         * <p>
149         * For example, to add a new item, do as follows:
150         * <pre>
151         *    getGeronimoVersion().add(newItem);
152         * </pre>
153         * 
154         * 
155         * <p>
156         * Objects of the following type(s) are allowed in the list
157         * {@link String }
158         * 
159         * 
160         */
161        public List<String> getGeronimoVersion() {
162            if (geronimoVersion == null) {
163                geronimoVersion = new ArrayList<String>();
164            }
165            return this.geronimoVersion;
166        }
167    
168        /**
169         * Gets the value of the jvmVersion property.
170         * 
171         * <p>
172         * This accessor method returns a reference to the live list,
173         * not a snapshot. Therefore any modification you make to the
174         * returned list will be present inside the JAXB object.
175         * This is why there is not a <CODE>set</CODE> method for the jvmVersion property.
176         * 
177         * <p>
178         * For example, to add a new item, do as follows:
179         * <pre>
180         *    getJvmVersion().add(newItem);
181         * </pre>
182         * 
183         * 
184         * <p>
185         * Objects of the following type(s) are allowed in the list
186         * {@link String }
187         * 
188         * 
189         */
190        public List<String> getJvmVersion() {
191            if (jvmVersion == null) {
192                jvmVersion = new ArrayList<String>();
193            }
194            return this.jvmVersion;
195        }
196    
197        /**
198         * Gets the value of the prerequisite property.
199         * 
200         * <p>
201         * This accessor method returns a reference to the live list,
202         * not a snapshot. Therefore any modification you make to the
203         * returned list will be present inside the JAXB object.
204         * This is why there is not a <CODE>set</CODE> method for the prerequisite property.
205         * 
206         * <p>
207         * For example, to add a new item, do as follows:
208         * <pre>
209         *    getPrerequisite().add(newItem);
210         * </pre>
211         * 
212         * 
213         * <p>
214         * Objects of the following type(s) are allowed in the list
215         * {@link PrerequisiteType }
216         * 
217         * 
218         */
219        public List<PrerequisiteType> getPrerequisite() {
220            if (prerequisite == null) {
221                prerequisite = new ArrayList<PrerequisiteType>();
222            }
223            return this.prerequisite;
224        }
225    
226        /**
227         * Gets the value of the dependency property.
228         * 
229         * <p>
230         * This accessor method returns a reference to the live list,
231         * not a snapshot. Therefore any modification you make to the
232         * returned list will be present inside the JAXB object.
233         * This is why there is not a <CODE>set</CODE> method for the dependency property.
234         * 
235         * <p>
236         * For example, to add a new item, do as follows:
237         * <pre>
238         *    getDependency().add(newItem);
239         * </pre>
240         * 
241         * 
242         * <p>
243         * Objects of the following type(s) are allowed in the list
244         * {@link DependencyType }
245         * 
246         * 
247         */
248        public List<DependencyType> getDependency() {
249            if (dependency == null) {
250                dependency = new ArrayList<DependencyType>();
251            }
252            return this.dependency;
253        }
254    
255        /**
256         * Gets the value of the obsoletes property.
257         * 
258         * <p>
259         * This accessor method returns a reference to the live list,
260         * not a snapshot. Therefore any modification you make to the
261         * returned list will be present inside the JAXB object.
262         * This is why there is not a <CODE>set</CODE> method for the obsoletes property.
263         * 
264         * <p>
265         * For example, to add a new item, do as follows:
266         * <pre>
267         *    getObsoletes().add(newItem);
268         * </pre>
269         * 
270         * 
271         * <p>
272         * Objects of the following type(s) are allowed in the list
273         * {@link ArtifactType }
274         * 
275         * 
276         */
277        public List<ArtifactType> getObsoletes() {
278            if (obsoletes == null) {
279                obsoletes = new ArrayList<ArtifactType>();
280            }
281            return this.obsoletes;
282        }
283    
284        /**
285         * Gets the value of the sourceRepository property.
286         * 
287         * <p>
288         * This accessor method returns a reference to the live list,
289         * not a snapshot. Therefore any modification you make to the
290         * returned list will be present inside the JAXB object.
291         * This is why there is not a <CODE>set</CODE> method for the sourceRepository property.
292         * 
293         * <p>
294         * For example, to add a new item, do as follows:
295         * <pre>
296         *    getSourceRepository().add(newItem);
297         * </pre>
298         * 
299         * 
300         * <p>
301         * Objects of the following type(s) are allowed in the list
302         * {@link String }
303         * 
304         * 
305         */
306        public List<String> getSourceRepository() {
307            if (sourceRepository == null) {
308                sourceRepository = new ArrayList<String>();
309            }
310            return this.sourceRepository;
311        }
312    
313        /**
314         * Gets the value of the copyFile property.
315         * 
316         * <p>
317         * This accessor method returns a reference to the live list,
318         * not a snapshot. Therefore any modification you make to the
319         * returned list will be present inside the JAXB object.
320         * This is why there is not a <CODE>set</CODE> method for the copyFile property.
321         * 
322         * <p>
323         * For example, to add a new item, do as follows:
324         * <pre>
325         *    getCopyFile().add(newItem);
326         * </pre>
327         * 
328         * 
329         * <p>
330         * Objects of the following type(s) are allowed in the list
331         * {@link CopyFileType }
332         * 
333         * 
334         */
335        public List<CopyFileType> getCopyFile() {
336            if (copyFile == null) {
337                copyFile = new ArrayList<CopyFileType>();
338            }
339            return this.copyFile;
340        }
341    
342        /**
343         * Gets the value of the configXmlContent property.
344         * 
345         * <p>
346         * This accessor method returns a reference to the live list,
347         * not a snapshot. Therefore any modification you make to the
348         * returned list will be present inside the JAXB object.
349         * This is why there is not a <CODE>set</CODE> method for the configXmlContent property.
350         * 
351         * <p>
352         * For example, to add a new item, do as follows:
353         * <pre>
354         *    getConfigXmlContent().add(newItem);
355         * </pre>
356         * 
357         * 
358         * <p>
359         * Objects of the following type(s) are allowed in the list
360         * {@link ConfigXmlContentType }
361         * 
362         * 
363         */
364        public List<ConfigXmlContentType> getConfigXmlContent() {
365            if (configXmlContent == null) {
366                configXmlContent = new ArrayList<ConfigXmlContentType>();
367            }
368            return this.configXmlContent;
369        }
370    
371        /**
372         * Gets the value of the artifactAlias property.
373         * 
374         * <p>
375         * This accessor method returns a reference to the live list,
376         * not a snapshot. Therefore any modification you make to the
377         * returned list will be present inside the JAXB object.
378         * This is why there is not a <CODE>set</CODE> method for the artifactAlias property.
379         * 
380         * <p>
381         * For example, to add a new item, do as follows:
382         * <pre>
383         *    getArtifactAlias().add(newItem);
384         * </pre>
385         * 
386         * 
387         * <p>
388         * Objects of the following type(s) are allowed in the list
389         * {@link PropertyType }
390         * 
391         * 
392         */
393        public List<PropertyType> getArtifactAlias() {
394            if (artifactAlias == null) {
395                artifactAlias = new ArrayList<PropertyType>();
396            }
397            return this.artifactAlias;
398        }
399    
400        /**
401         * Gets the value of the configSubstitution property.
402         * 
403         * <p>
404         * This accessor method returns a reference to the live list,
405         * not a snapshot. Therefore any modification you make to the
406         * returned list will be present inside the JAXB object.
407         * This is why there is not a <CODE>set</CODE> method for the configSubstitution property.
408         * 
409         * <p>
410         * For example, to add a new item, do as follows:
411         * <pre>
412         *    getConfigSubstitution().add(newItem);
413         * </pre>
414         * 
415         * 
416         * <p>
417         * Objects of the following type(s) are allowed in the list
418         * {@link PropertyType }
419         * 
420         * 
421         */
422        public List<PropertyType> getConfigSubstitution() {
423            if (configSubstitution == null) {
424                configSubstitution = new ArrayList<PropertyType>();
425            }
426            return this.configSubstitution;
427        }
428    
429    }