X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAlcodonFrame.java;h=5dcc0bd63db18266709c90e5c0e34f07a935d5a3;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=2a40e11fcfc8a424c657954bb9d9fe3157c49060;hpb=b3fb6325a8bc315c5c938faf10ffd2e73d965f16;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AlcodonFrame.java b/src/jalview/xml/binding/jalview/AlcodonFrame.java index 2a40e11..5dcc0bd 100644 --- a/src/jalview/xml/binding/jalview/AlcodonFrame.java +++ b/src/jalview/xml/binding/jalview/AlcodonFrame.java @@ -5,7 +5,6 @@ // Generated on: 2023.03.17 at 05:31:44 PM GMT // - package jalview.xml.binding.jalview; import java.math.BigInteger; @@ -18,11 +17,13 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; - /** - *

Java class for anonymous complex type. + *

+ * Java class for anonymous complex type. * - *

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

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

  * <complexType>
@@ -61,266 +62,275 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @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.
+   * 
+   * 

+ * 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 alcodon property. + * + *

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

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

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

+ * 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 alcodMap property. + * + *

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

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

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

+ * 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">
+   *       <sequence>
+   *         <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/>
+   *       </sequence>
+   *       <attribute name="dnasq" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @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. * - *

- * 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 alcodon property. + * a Mapping entry and an associated protein sequence * - *

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

-     *    getAlcodon().add(newItem);
-     * 
- * - * - *

- * 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. - * - *

- * 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 alcodMap property. - * - *

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

-     *    getAlcodMap().add(newItem);
-     * 
- * - * - *

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

Java class for anonymous complex type. + * Gets the value of the dnasq property. * - *

The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping"/>
-     *       </sequence>
-     *       <attribute name="dnasq" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + 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). + * + * + *

+ * 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="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" />
+   *       <attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" />
+   *       <attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @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 } * - *

Java class for anonymous complex type. + */ + public void setPos1(BigInteger value) + { + this.pos1 = value; + } + + /** + * Gets the value of the pos2 property. * - *

The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link BigInteger } * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <attribute name="pos1" type="{http://www.w3.org/2001/XMLSchema}integer" />
-     *       <attribute name="pos2" type="{http://www.w3.org/2001/XMLSchema}integer" />
-     *       <attribute name="pos3" type="{http://www.w3.org/2001/XMLSchema}integer" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + 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; } + } + }