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=7d5447b41559204ca7ac2435052a6a6513b89748;hb=9c98d4bd666346f6ad3892c5394b7da3be82d93e;hp=6983c0418c30159c446be1e84e54a69dafdf9ccd;hpb=c7b2143c9cf7c5e05ad63251f7d3910751b16d20;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Pdbentry.java b/src/jalview/xml/binding/jalview/Pdbentry.java index 6983c04..7d5447b 100644 --- a/src/jalview/xml/binding/jalview/Pdbentry.java +++ b/src/jalview/xml/binding/jalview/Pdbentry.java @@ -5,7 +5,6 @@ // Generated on: 2021.08.30 at 11:05:22 AM BST // - package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -16,232 +15,223 @@ 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. * - * <p>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. * - * <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> + * <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. - * - * <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; +@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; /** - * Gets the value of the id property. + * Gets the value of the name property. + * + * @return possible object is {@link String } * - * @return - * possible object is - * {@link String } - * */ - public String getId() { - return id; + public String getName() + { + return name; } /** - * Sets the value of the id property. + * Sets the value of the name property. * * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the type property. + * allowed object is {@link String } * - * @return - * possible object is - * {@link String } - * */ - public String getType() { - return type; + public void setName(String value) + { + this.name = value; } /** - * Sets the value of the type property. + * Gets the value of the value 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 } * - * @return - * possible object is - * {@link String } - * */ - public String getFile() { - return file; + public String getValue() + { + return value; } /** - * Sets the value of the file property. + * Sets the value of the value 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> - * + * allowed object is {@link String } * */ - @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; - } - + public void setValue(String value) + { + this.value = value; } + } + }