JAL-3063 top level element added to JalviewWsParamSet.xsd
[jalview.git] / src / jalview / xml / binding / jalview / WebServiceParameterSet.java
1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
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: 2018.09.28 at 12:18:54 PM BST 
6 //
7
8
9 package jalview.xml.binding.jalview;
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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlSchemaType;
18 import javax.xml.bind.annotation.XmlSeeAlso;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /**
23  * <p>Java class for WebServiceParameterSet complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * &lt;complexType name="WebServiceParameterSet">
29  *   &lt;complexContent>
30  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       &lt;sequence>
32  *         &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33  *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34  *         &lt;element name="serviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
35  *         &lt;element name="parameters" type="{http://www.w3.org/2001/XMLSchema}string"/>
36  *       &lt;/sequence>
37  *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
38  *     &lt;/restriction>
39  *   &lt;/complexContent>
40  * &lt;/complexType>
41  * </pre>
42  * 
43  * 
44  */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "WebServiceParameterSet", namespace = "www.jalview.org/xml/wsparamset", propOrder = {
47     "version",
48     "description",
49     "serviceURL",
50     "parameters"
51 })
52 @XmlSeeAlso({
53     jalview.xml.binding.jalview.JalviewModel.Viewport.CalcIdParam.class
54 })
55 public class WebServiceParameterSet {
56
57     @XmlElement(name = "Version", namespace = "")
58     protected String version;
59     @XmlElement(namespace = "")
60     protected String description;
61     @XmlElement(namespace = "", required = true)
62     @XmlSchemaType(name = "anyURI")
63     protected List<String> serviceURL;
64     @XmlElement(namespace = "", required = true)
65     protected String parameters;
66     @XmlAttribute(name = "name", required = true)
67     protected String name;
68
69     /**
70      * Gets the value of the version property.
71      * 
72      * @return
73      *     possible object is
74      *     {@link String }
75      *     
76      */
77     public String getVersion() {
78         return version;
79     }
80
81     /**
82      * Sets the value of the version property.
83      * 
84      * @param value
85      *     allowed object is
86      *     {@link String }
87      *     
88      */
89     public void setVersion(String value) {
90         this.version = value;
91     }
92
93     /**
94      * Gets the value of the description property.
95      * 
96      * @return
97      *     possible object is
98      *     {@link String }
99      *     
100      */
101     public String getDescription() {
102         return description;
103     }
104
105     /**
106      * Sets the value of the description property.
107      * 
108      * @param value
109      *     allowed object is
110      *     {@link String }
111      *     
112      */
113     public void setDescription(String value) {
114         this.description = value;
115     }
116
117     /**
118      * Gets the value of the serviceURL property.
119      * 
120      * <p>
121      * This accessor method returns a reference to the live list,
122      * not a snapshot. Therefore any modification you make to the
123      * returned list will be present inside the JAXB object.
124      * This is why there is not a <CODE>set</CODE> method for the serviceURL property.
125      * 
126      * <p>
127      * For example, to add a new item, do as follows:
128      * <pre>
129      *    getServiceURL().add(newItem);
130      * </pre>
131      * 
132      * 
133      * <p>
134      * Objects of the following type(s) are allowed in the list
135      * {@link String }
136      * 
137      * 
138      */
139     public List<String> getServiceURL() {
140         if (serviceURL == null) {
141             serviceURL = new ArrayList<String>();
142         }
143         return this.serviceURL;
144     }
145
146     /**
147      * Gets the value of the parameters property.
148      * 
149      * @return
150      *     possible object is
151      *     {@link String }
152      *     
153      */
154     public String getParameters() {
155         return parameters;
156     }
157
158     /**
159      * Sets the value of the parameters property.
160      * 
161      * @param value
162      *     allowed object is
163      *     {@link String }
164      *     
165      */
166     public void setParameters(String value) {
167         this.parameters = value;
168     }
169
170     /**
171      * Gets the value of the name property.
172      * 
173      * @return
174      *     possible object is
175      *     {@link String }
176      *     
177      */
178     public String getName() {
179         return name;
180     }
181
182     /**
183      * Sets the value of the name property.
184      * 
185      * @param value
186      *     allowed object is
187      *     {@link String }
188      *     
189      */
190     public void setName(String value) {
191         this.name = value;
192     }
193
194 }