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 pluginType complex type.
022     * 
023     * <p>The following schema fragment specifies the expected content contained within this class.
024     * 
025     * <pre>
026     * &lt;complexType name="pluginType">
027     *   &lt;complexContent>
028     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029     *       &lt;sequence>
030     *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
031     *         &lt;element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/>
032     *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
033     *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
034     *         &lt;element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
035     *         &lt;element name="license" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}licenseType" maxOccurs="unbounded" minOccurs="0"/>
036     *         &lt;element name="plugin-artifact" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginArtifactType" maxOccurs="unbounded"/>
037     *       &lt;/sequence>
038     *     &lt;/restriction>
039     *   &lt;/complexContent>
040     * &lt;/complexType>
041     * </pre>
042     * 
043     * 
044     */
045    @XmlAccessorType(XmlAccessType.FIELD)
046    @XmlType(name = "pluginType", propOrder = {
047        "name",
048        "category",
049        "description",
050        "url",
051        "author",
052        "license",
053        "pluginArtifact"
054    })
055    public class PluginType
056        implements Serializable
057    {
058    
059        private final static long serialVersionUID = 12343L;
060        @XmlElement(required = true)
061        protected String name;
062        @XmlElement(required = true)
063        protected String category;
064        @XmlElement(required = true)
065        protected String description;
066        protected String url;
067        protected String author;
068        protected List<LicenseType> license;
069        @XmlElement(name = "plugin-artifact", required = true)
070        protected List<PluginArtifactType> pluginArtifact;
071    
072        /**
073         * Gets the value of the name property.
074         * 
075         * @return
076         *     possible object is
077         *     {@link String }
078         *     
079         */
080        public String getName() {
081            return name;
082        }
083    
084        /**
085         * Sets the value of the name property.
086         * 
087         * @param value
088         *     allowed object is
089         *     {@link String }
090         *     
091         */
092        public void setName(String value) {
093            this.name = value;
094        }
095    
096        /**
097         * Gets the value of the category property.
098         * 
099         * @return
100         *     possible object is
101         *     {@link String }
102         *     
103         */
104        public String getCategory() {
105            return category;
106        }
107    
108        /**
109         * Sets the value of the category property.
110         * 
111         * @param value
112         *     allowed object is
113         *     {@link String }
114         *     
115         */
116        public void setCategory(String value) {
117            this.category = value;
118        }
119    
120        /**
121         * Gets the value of the description property.
122         * 
123         * @return
124         *     possible object is
125         *     {@link String }
126         *     
127         */
128        public String getDescription() {
129            return description;
130        }
131    
132        /**
133         * Sets the value of the description property.
134         * 
135         * @param value
136         *     allowed object is
137         *     {@link String }
138         *     
139         */
140        public void setDescription(String value) {
141            this.description = value;
142        }
143    
144        /**
145         * Gets the value of the url property.
146         * 
147         * @return
148         *     possible object is
149         *     {@link String }
150         *     
151         */
152        public String getUrl() {
153            return url;
154        }
155    
156        /**
157         * Sets the value of the url property.
158         * 
159         * @param value
160         *     allowed object is
161         *     {@link String }
162         *     
163         */
164        public void setUrl(String value) {
165            this.url = value;
166        }
167    
168        /**
169         * Gets the value of the author property.
170         * 
171         * @return
172         *     possible object is
173         *     {@link String }
174         *     
175         */
176        public String getAuthor() {
177            return author;
178        }
179    
180        /**
181         * Sets the value of the author property.
182         * 
183         * @param value
184         *     allowed object is
185         *     {@link String }
186         *     
187         */
188        public void setAuthor(String value) {
189            this.author = value;
190        }
191    
192        /**
193         * Gets the value of the license property.
194         * 
195         * <p>
196         * This accessor method returns a reference to the live list,
197         * not a snapshot. Therefore any modification you make to the
198         * returned list will be present inside the JAXB object.
199         * This is why there is not a <CODE>set</CODE> method for the license property.
200         * 
201         * <p>
202         * For example, to add a new item, do as follows:
203         * <pre>
204         *    getLicense().add(newItem);
205         * </pre>
206         * 
207         * 
208         * <p>
209         * Objects of the following type(s) are allowed in the list
210         * {@link LicenseType }
211         * 
212         * 
213         */
214        public List<LicenseType> getLicense() {
215            if (license == null) {
216                license = new ArrayList<LicenseType>();
217            }
218            return this.license;
219        }
220    
221        /**
222         * Gets the value of the pluginArtifact property.
223         * 
224         * <p>
225         * This accessor method returns a reference to the live list,
226         * not a snapshot. Therefore any modification you make to the
227         * returned list will be present inside the JAXB object.
228         * This is why there is not a <CODE>set</CODE> method for the pluginArtifact property.
229         * 
230         * <p>
231         * For example, to add a new item, do as follows:
232         * <pre>
233         *    getPluginArtifact().add(newItem);
234         * </pre>
235         * 
236         * 
237         * <p>
238         * Objects of the following type(s) are allowed in the list
239         * {@link PluginArtifactType }
240         * 
241         * 
242         */
243        public List<PluginArtifactType> getPluginArtifact() {
244            if (pluginArtifact == null) {
245                pluginArtifact = new ArrayList<PluginArtifactType>();
246            }
247            return this.pluginArtifact;
248        }
249    
250    }