X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FWebServiceParameterSet.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FWebServiceParameterSet.java;h=fea0324c05ff5a7363d72aaa0038600d7e95d2ca;hp=0000000000000000000000000000000000000000;hb=181cd6607ecd631aa5972582ff1d99c5bea75b23;hpb=c2763e1b13c4796b29b9d4c6deca52a769b42f79 diff --git a/src/jalview/xml/binding/jalview/WebServiceParameterSet.java b/src/jalview/xml/binding/jalview/WebServiceParameterSet.java new file mode 100644 index 0000000..fea0324 --- /dev/null +++ b/src/jalview/xml/binding/jalview/WebServiceParameterSet.java @@ -0,0 +1,194 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2018.09.28 at 12:18:54 PM BST +// + + +package jalview.xml.binding.jalview; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for WebServiceParameterSet complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="WebServiceParameterSet">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="serviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/>
+ *         <element name="parameters" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "WebServiceParameterSet", namespace = "www.jalview.org/xml/wsparamset", propOrder = { + "version", + "description", + "serviceURL", + "parameters" +}) +@XmlSeeAlso({ + jalview.xml.binding.jalview.JalviewModel.Viewport.CalcIdParam.class +}) +public class WebServiceParameterSet { + + @XmlElement(name = "Version", namespace = "") + protected String version; + @XmlElement(namespace = "") + protected String description; + @XmlElement(namespace = "", required = true) + @XmlSchemaType(name = "anyURI") + protected List serviceURL; + @XmlElement(namespace = "", required = true) + protected String parameters; + @XmlAttribute(name = "name", required = true) + protected String name; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the description property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the serviceURL property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the serviceURL property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getServiceURL().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getServiceURL() { + if (serviceURL == null) { + serviceURL = new ArrayList(); + } + return this.serviceURL; + } + + /** + * Gets the value of the parameters property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getParameters() { + return parameters; + } + + /** + * Sets the value of the parameters property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setParameters(String value) { + this.parameters = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + +}