X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAlcodonFrame.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAlcodonFrame.java;h=bb263038a90303639d936d8c80bc14beb82e7992;hb=eb3e681d6e82ccdd5d312d1981dfb306e7f479f0;hp=c412c36eeb78e9c02b21c1c196aea46e78f1ca9d;hpb=cb31e23d9138e481479623374aed7767bf8934d2;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AlcodonFrame.java b/src/jalview/xml/binding/jalview/AlcodonFrame.java index c412c36..bb26303 100644 --- a/src/jalview/xml/binding/jalview/AlcodonFrame.java +++ b/src/jalview/xml/binding/jalview/AlcodonFrame.java @@ -5,7 +5,6 @@ // Generated on: 2023.11.01 at 07:03:09 PM GMT // - package jalview.xml.binding.jalview; import java.math.BigInteger; @@ -18,314 +17,288 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; - /** * <p>Java class for anonymous 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&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; - * &lt;element name="alcodon" 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="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;element name="alcodMap" maxOccurs="unbounded" minOccurs="0"&gt; - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; - * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/&gt; - * &lt;/sequence&gt; - * &lt;attribute name="dnasq" 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;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + * <pre> &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; &lt;element name="alcodon" 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="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; + * &lt;attribute name="pos2" + * type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; &lt;attribute + * name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; &lt;/element&gt; &lt;element + * name="alcodMap" maxOccurs="unbounded" minOccurs="0"&gt; + * &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; &lt;element + * ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/&gt; + * &lt;/sequence&gt; &lt;attribute name="dnasq" 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;/restriction&gt; + * &lt;/complexContent&gt; &lt;/complexType&gt; </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "alcodon", - "alcodMap" -}) +@XmlType(name = "", propOrder = { "alcodon", "alcodMap" }) @XmlRootElement(name = "AlcodonFrame") -public class AlcodonFrame { +public class AlcodonFrame +{ + + protected List alcodon; + + protected List alcodMap; - protected List alcodon; - protected List alcodMap; + /** + * Gets the value of the alcodon 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 alcodon property. + * + * <p> For example, to add a new item, do as follows: <pre> + * getAlcodon().add(newItem); </pre> + * + * + * <p> Objects of the following type(s) are allowed in the list + * {@link AlcodonFrame.Alcodon } + * + * + */ + public List getAlcodon() + { + if (alcodon == null) + { + alcodon = new ArrayList(); + } + return this.alcodon; + } + + /** + * Gets the value of the alcodMap 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 alcodMap property. + * + * <p> For example, to add a new item, do as follows: <pre> + * getAlcodMap().add(newItem); </pre> + * + * + * <p> Objects of the following type(s) are allowed in the list + * {@link AlcodonFrame.AlcodMap } + * + * + */ + public List getAlcodMap() + { + if (alcodMap == null) + { + alcodMap = new ArrayList(); + } + return this.alcodMap; + } + + /** + * <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;sequence&gt; &lt;element + * ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/&gt; + * &lt;/sequence&gt; &lt;attribute name="dnasq" 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 = "", propOrder = { "mapping" }) + public static class AlcodMap + { + + @XmlElement(name = "Mapping", required = true) + protected Mapping mapping; + + @XmlAttribute(name = "dnasq", required = true) + protected String dnasq; /** - * Gets the value of the alcodon 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 alcodon property. + * a Mapping entry and an associated protein sequence * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAlcodon().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AlcodonFrame.Alcodon } * + * @return possible object is {@link Mapping } * */ - public List getAlcodon() { - if (alcodon == null) { - alcodon = new ArrayList(); - } - return this.alcodon; + public Mapping getMapping() + { + return mapping; } /** - * Gets the value of the alcodMap 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 alcodMap property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAlcodMap().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link AlcodonFrame.AlcodMap } + * Sets the value of the mapping property. * + * @param value + * allowed object is {@link Mapping } * */ - public List getAlcodMap() { - if (alcodMap == null) { - alcodMap = new ArrayList(); - } - return this.alcodMap; + public void setMapping(Mapping value) + { + this.mapping = value; } - /** - * <p>Java class for anonymous complex type. + * Gets the value of the dnasq property. * - * <p>The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - * <pre> - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; - * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/&gt; - * &lt;/sequence&gt; - * &lt;attribute name="dnasq" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + */ + public String getDnasq() + { + return dnasq; + } + + /** + * Sets the value of the dnasq property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "mapping" - }) - public static class AlcodMap { + public void setDnasq(String value) + { + this.dnasq = value; + } - @XmlElement(name = "Mapping", required = true) - protected Mapping mapping; - @XmlAttribute(name = "dnasq", required = true) - protected String dnasq; + } - /** - * - * a Mapping entry and an associated protein - * sequence - * - * - * @return - * possible object is - * {@link Mapping } - * - */ - public Mapping getMapping() { - return mapping; - } + /** + * + * specifies a series of aligned codons from an associated DNA sequence + * alignment that when translated correspond to columns of a peptide + * alignment. Element may have either all pos1,2,3 attributes specified, or + * none at all (indicating a gapped column with no translated peptide). + * + * + * <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="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; + * &lt;attribute name="pos2" + * type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; + * &lt;attribute name="pos3" + * type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Alcodon + { - /** - * Sets the value of the mapping property. - * - * @param value - * allowed object is - * {@link Mapping } - * - */ - public void setMapping(Mapping value) { - this.mapping = value; - } + @XmlAttribute(name = "pos1") + protected BigInteger pos1; - /** - * Gets the value of the dnasq property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDnasq() { - return dnasq; - } + @XmlAttribute(name = "pos2") + protected BigInteger pos2; - /** - * Sets the value of the dnasq property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDnasq(String value) { - this.dnasq = value; - } + @XmlAttribute(name = "pos3") + protected BigInteger pos3; + /** + * Gets the value of the pos1 property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getPos1() + { + return pos1; } - /** + * Sets the value of the pos1 property. * - * specifies a series of aligned codons from an - * associated DNA sequence alignment that when translated - * correspond to columns of a peptide alignment. - * Element may have - * either all pos1,2,3 attributes specified, or none at all - * (indicating a gapped column with no translated peptide). - * + * @param value + * allowed object is {@link BigInteger } * - * <p>Java class for anonymous complex type. + */ + public void setPos1(BigInteger value) + { + this.pos1 = value; + } + + /** + * Gets the value of the pos2 property. * - * <p>The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link BigInteger } * - * <pre> - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;attribute name="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + */ + public BigInteger getPos2() + { + return pos2; + } + + /** + * Sets the value of the pos2 property. * + * @param value + * allowed object is {@link BigInteger } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Alcodon { - - @XmlAttribute(name = "pos1") - protected BigInteger pos1; - @XmlAttribute(name = "pos2") - protected BigInteger pos2; - @XmlAttribute(name = "pos3") - protected BigInteger pos3; - - /** - * Gets the value of the pos1 property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getPos1() { - return pos1; - } - - /** - * Sets the value of the pos1 property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setPos1(BigInteger value) { - this.pos1 = value; - } - - /** - * Gets the value of the pos2 property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getPos2() { - return pos2; - } - - /** - * Sets the value of the pos2 property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setPos2(BigInteger value) { - this.pos2 = value; - } - - /** - * Gets the value of the pos3 property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getPos3() { - return pos3; - } + public void setPos2(BigInteger value) + { + this.pos2 = value; + } - /** - * Sets the value of the pos3 property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setPos3(BigInteger value) { - this.pos3 = value; - } + /** + * Gets the value of the pos3 property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getPos3() + { + return pos3; + } + /** + * Sets the value of the pos3 property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setPos3(BigInteger value) + { + this.pos3 = value; } + } + }