X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FPdbentry.java;h=144076bf92cd5d28e4c45877f4c401e1ec4e2797;hb=6ca8a32d88328b8f2162512f41c657c87e131045;hp=c0bedff9ef3954d111eeb0a7df422845da95f726;hpb=4b7d3640209c4434d569c746672cf9eed4250ace;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Pdbentry.java b/src/jalview/xml/binding/jalview/Pdbentry.java index c0bedff..144076b 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 JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 -// See http://java.sun.com/xml/jaxb +// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 +// See https://eclipse-ee4j.github.io/jaxb-ri // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2023.03.17 at 05:31:44 PM GMT +// Generated on: 2023.11.01 at 07:03:09 PM GMT // + package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -15,240 +16,232 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; + /** - *

- * Java class for pdbentry complex type. + * <p>Java class for pdbentry complex type. * - *

- * The following schema fragment specifies the expected content contained within - * this class. + * <p>The following schema fragment specifies the expected content contained within this class. * - *

- * <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>
- * 
+ * <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> * * */ @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. - * - *

- * 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 } - * - * - */ - 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; - } - - /** - *

- * 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; +@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. + * + * <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 } + * * - * @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; } - } + + /** + * <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; + + /** + * 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; + } + + } }