Clover icon

Coverage Report

  1. Project Clover database Mon Dec 1 2025 15:35:32 GMT
  2. Package jalview.xml.binding.jalview

File WebServiceParameterSet.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
60% of files have more coverage

Code metrics

2
11
9
1
243
63
10
0.91
1.22
9
1.11

Classes

Class Line # Actions
WebServiceParameterSet 55 11 10
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    //
2    // This file was generated by the Eclipse Implementation of JAXB, v2.3.9
3    // See https://eclipse-ee4j.github.io/jaxb-ri
4    // Any modifications to this file will be lost upon recompilation of the source schema.
5    // Generated on: 2025.04.17 at 04:05:44 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</p>.
24    *
25    * <p>The following schema fragment specifies the expected content contained within this class.</p>
26    *
27    * <pre>
28    * &lt;complexType name="WebServiceParameterSet"&gt;
29    * &lt;complexContent&gt;
30    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31    * &lt;sequence&gt;
32    * &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
33    * &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
34    * &lt;element name="serviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/&gt;
35    * &lt;element name="parameters" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
36    * &lt;/sequence&gt;
37    * &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
38    * &lt;/restriction&gt;
39    * &lt;/complexContent&gt;
40    * &lt;/complexType&gt;
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    /**
58    * A Jalview Web Service Parameter Set container
59    * version number.
60    * Version 1 created for storing Jaba user presets.
61    *
62    */
63    @XmlElement(name = "Version", namespace = "")
64    protected String version;
65    /**
66    * Short description - as utf8 encoded text. This is
67    * usually displayed
68    * in the body of an HTML capable tooltip, so HTML tags may be embedded
69    * using standard UTF8 encoding.
70    *
71    */
72    @XmlElement(namespace = "")
73    protected String description;
74    /**
75    * URL for which the parameter set is valid. Jalview will use it to
76    * match up parameter sets to service instances that can parse the
77    * parameter set payload.
78    *
79    */
80    @XmlElement(namespace = "", required = true)
81    @XmlSchemaType(name = "anyURI")
82    protected List<String> serviceURL;
83    /**
84    * UTF8 encoded string to be processed into a specific web services'
85    * parameter set. Note - newlines may be important to the structure
86    * of this file.
87    *
88    */
89    @XmlElement(namespace = "", required = true)
90    protected String parameters;
91    /**
92    * The short name for the parameter set. This will be shown amongst the
93    * other presets for the web service.
94    *
95    */
96    @XmlAttribute(name = "name", required = true)
97    protected String name;
98   
99    /**
100    * A Jalview Web Service Parameter Set container
101    * version number.
102    * Version 1 created for storing Jaba user presets.
103    *
104    * @return
105    * possible object is
106    * {@link String }
107    *
108    */
 
109  0 toggle public String getVersion() {
110  0 return version;
111    }
112   
113    /**
114    * Sets the value of the version property.
115    *
116    * @param value
117    * allowed object is
118    * {@link String }
119    *
120    * @see #getVersion()
121    */
 
122  0 toggle public void setVersion(String value) {
123  0 this.version = value;
124    }
125   
126    /**
127    * Short description - as utf8 encoded text. This is
128    * usually displayed
129    * in the body of an HTML capable tooltip, so HTML tags may be embedded
130    * using standard UTF8 encoding.
131    *
132    * @return
133    * possible object is
134    * {@link String }
135    *
136    */
 
137  0 toggle public String getDescription() {
138  0 return description;
139    }
140   
141    /**
142    * Sets the value of the description property.
143    *
144    * @param value
145    * allowed object is
146    * {@link String }
147    *
148    * @see #getDescription()
149    */
 
150  0 toggle public void setDescription(String value) {
151  0 this.description = value;
152    }
153   
154    /**
155    * URL for which the parameter set is valid. Jalview will use it to
156    * match up parameter sets to service instances that can parse the
157    * parameter set payload.
158    *
159    * Gets the value of the serviceURL property.
160    *
161    * <p>This accessor method returns a reference to the live list,
162    * not a snapshot. Therefore any modification you make to the
163    * returned list will be present inside the JAXB object.
164    * This is why there is not a <CODE>set</CODE> method for the serviceURL property.</p>
165    *
166    * <p>
167    * For example, to add a new item, do as follows:
168    * </p>
169    * <pre>
170    * getServiceURL().add(newItem);
171    * </pre>
172    *
173    *
174    * <p>
175    * Objects of the following type(s) are allowed in the list
176    * {@link String }
177    * </p>
178    *
179    *
180    * @return
181    * The value of the serviceURL property.
182    */
 
183  0 toggle public List<String> getServiceURL() {
184  0 if (serviceURL == null) {
185  0 serviceURL = new ArrayList<String>();
186    }
187  0 return this.serviceURL;
188    }
189   
190    /**
191    * UTF8 encoded string to be processed into a specific web services'
192    * parameter set. Note - newlines may be important to the structure
193    * of this file.
194    *
195    * @return
196    * possible object is
197    * {@link String }
198    *
199    */
 
200  0 toggle public String getParameters() {
201  0 return parameters;
202    }
203   
204    /**
205    * Sets the value of the parameters property.
206    *
207    * @param value
208    * allowed object is
209    * {@link String }
210    *
211    * @see #getParameters()
212    */
 
213  0 toggle public void setParameters(String value) {
214  0 this.parameters = value;
215    }
216   
217    /**
218    * The short name for the parameter set. This will be shown amongst the
219    * other presets for the web service.
220    *
221    * @return
222    * possible object is
223    * {@link String }
224    *
225    */
 
226  0 toggle public String getName() {
227  0 return name;
228    }
229   
230    /**
231    * Sets the value of the name property.
232    *
233    * @param value
234    * allowed object is
235    * {@link String }
236    *
237    * @see #getName()
238    */
 
239  0 toggle public void setName(String value) {
240  0 this.name = value;
241    }
242   
243    }