X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FPdbentry.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FPdbentry.java;h=fd2e3367eddf9ae6bd0b7503efd1b7a0261cc3e0;hb=50caa2bce4379ecdb02a2c0eccc44078487f2f0b;hp=7d5447b41559204ca7ac2435052a6a6513b89748;hpb=327e8459a091858b0207ddac4cadd8cb23f4cdeb;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Pdbentry.java b/src/jalview/xml/binding/jalview/Pdbentry.java index 7d5447b..fd2e336 100644 --- a/src/jalview/xml/binding/jalview/Pdbentry.java +++ b/src/jalview/xml/binding/jalview/Pdbentry.java @@ -1,10 +1,11 @@ // -// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 -// See https://eclipse-ee4j.github.io/jaxb-ri +// 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: 2021.08.30 at 11:05:22 AM BST +// Generated on: 2023.01.31 at 04:07:08 PM GMT // + package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -15,223 +16,232 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; + /** - * <p>Java class for pdbentry complex type. + *

Java class for pdbentry complex type. * - * <p>The following schema fragment specifies the expected content - * contained within this class. + *

The following schema fragment specifies the expected content contained within this class. * - * <pre> &lt;complexType name="pdbentry"&gt; - * &lt;complexContent&gt; &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence - * maxOccurs="unbounded" minOccurs="0"&gt; &lt;element name="property" - * maxOccurs="unbounded" minOccurs="0"&gt; &lt;complexType&gt; - * &lt;complexContent&gt; &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute - * name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" - * /&gt; &lt;attribute name="value" use="required" - * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; - * &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; &lt;/element&gt; - * &lt;/sequence&gt; &lt;attribute name="id" use="required" - * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute - * name="type" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; - * &lt;attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" - * /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; </pre> + *

+ * <complexType name="pdbentry">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="property" maxOccurs="unbounded" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType( - name = "pdbentry", - namespace = "www.jalview.org", - propOrder = - { "property" }) -@XmlSeeAlso({ jalview.xml.binding.jalview.JalviewModel.JSeq.Pdbids.class }) -public class Pdbentry -{ - - protected List property; - - @XmlAttribute(name = "id", required = true) - protected String id; - - @XmlAttribute(name = "type") - protected String type; - - @XmlAttribute(name = "file") - protected String file; - - /** - * Gets the value of the property property. - * - * <p> 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 - * <CODE>set</CODE> method for the property property. - * - * <p> For example, to add a new item, do as follows: <pre> - * getProperty().add(newItem); </pre> - * - * - * <p> Objects of the following type(s) are allowed in the list - * {@link Pdbentry.Property } - * - * - */ - public List getProperty() - { - if (property == null) - { - property = new ArrayList(); - } - return this.property; - } - - /** - * Gets the value of the id property. - * - * @return possible object is {@link String } - * - */ - public String getId() - { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setId(String value) - { - this.id = value; - } - - /** - * Gets the value of the type property. - * - * @return possible object is {@link String } - * - */ - public String getType() - { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setType(String value) - { - this.type = value; - } - - /** - * Gets the value of the file property. - * - * @return possible object is {@link String } - * - */ - public String getFile() - { - return file; - } - - /** - * Sets the value of the file property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setFile(String value) - { - this.file = value; - } - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content - * contained within this class. - * - * <pre> &lt;complexType&gt; &lt;complexContent&gt; - * &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute - * name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" - * /&gt; &lt;attribute name="value" use="required" - * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; - * &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Property - { - - @XmlAttribute(name = "name", required = true) - protected String name; - - @XmlAttribute(name = "value", required = true) - protected String value; +@XmlType(name = "pdbentry", namespace = "www.jalview.org", propOrder = { + "property" +}) +@XmlSeeAlso({ + jalview.xml.binding.jalview.JalviewModel.JSeq.Pdbids.class +}) +public class Pdbentry { + + protected List property; + @XmlAttribute(name = "id", required = true) + protected String id; + @XmlAttribute(name = "type") + protected String type; + @XmlAttribute(name = "file") + protected String file; /** - * Gets the value of the name property. + * Gets the value of the property 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 property property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link Pdbentry.Property } + * * - * @return possible object is {@link String } + */ + public List getProperty() { + if (property == null) { + property = new ArrayList(); + } + return this.property; + } + + /** + * Gets the value of the id property. * + * @return + * possible object is + * {@link String } + * */ - public String getName() - { - return name; + public String getId() { + return id; } /** - * Sets the value of the name property. + * Sets the value of the id property. * * @param value - * allowed object is {@link String } + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the type property. * + * @return + * possible object is + * {@link String } + * */ - public void setName(String value) - { - this.name = value; + public String getType() { + return type; } /** - * Gets the value of the value property. + * Sets the value of the type property. * - * @return possible object is {@link String } + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the file property. * + * @return + * possible object is + * {@link String } + * */ - public String getValue() - { - return value; + public String getFile() { + return file; } /** - * Sets the value of the value property. + * Sets the value of the file property. * * @param value - * allowed object is {@link String } - * + * allowed object is + * {@link String } + * */ - public void setValue(String value) - { - this.value = value; + public void setFile(String value) { + this.file = value; } - } + + /** + *

Java class for anonymous complex type. + * + *

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

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Property { + + @XmlAttribute(name = "name", required = true) + protected String name; + @XmlAttribute(name = "value", required = true) + protected String 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; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + } }