X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FMatrixType.java;h=c4055973989b7520d2aa7c2c3357affb7cfb1d1f;hb=beb2fee66dde629e3bbb7febb38d0116e1a64df2;hp=ac79fa84f326fb9232a945bb0ab6b1b206319a15;hpb=f3d6a13271e3f34dfb4e40d6a2a7df1d392f8014;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/MatrixType.java b/src/jalview/xml/binding/jalview/MatrixType.java index ac79fa8..c405597 100644 --- a/src/jalview/xml/binding/jalview/MatrixType.java +++ b/src/jalview/xml/binding/jalview/MatrixType.java @@ -19,9 +19,12 @@ import javax.xml.bind.annotation.XmlType; /** - *

Java class for MatrixType complex type. + *

+ * Java class for MatrixType 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 name="MatrixType">
@@ -48,311 +51,317 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "MatrixType", propOrder = {
-    "elements",
-    "groups",
-    "newick",
-    "property",
-    "mapping"
-})
-public class MatrixType {
-
-    @XmlElement(required = true)
-    protected String elements;
-    protected List groups;
-    protected List newick;
-    protected List property;
-    protected MapListType mapping;
-    @XmlAttribute(name = "type", required = true)
-    protected String type;
-    @XmlAttribute(name = "rows", required = true)
-    protected BigInteger rows;
-    @XmlAttribute(name = "cols", required = true)
-    protected BigInteger cols;
-    @XmlAttribute(name = "treeMethod")
-    protected String treeMethod;
-    @XmlAttribute(name = "cutHeight")
-    protected Double cutHeight;
-    @XmlAttribute(name = "id")
-    protected String id;
-
-    /**
-     * Gets the value of the elements property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getElements() {
-        return elements;
-    }
+@XmlType(
+  name = "MatrixType",
+  propOrder =
+  { "elements", "groups", "newick", "property", "mapping" })
+public class MatrixType
+{
 
-    /**
-     * Sets the value of the elements property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setElements(String value) {
-        this.elements = value;
-    }
+  @XmlElement(required = true)
+  protected String elements;
 
-    /**
-     * Gets the value of the groups 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 groups property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getGroups() { - if (groups == null) { - groups = new ArrayList(); - } - return this.groups; - } + protected List groups; - /** - * Gets the value of the newick 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 newick property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getNewick() { - if (newick == null) { - newick = new ArrayList(); - } - return this.newick; - } + protected List newick; - /** - * 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 Property } - * - * - */ - public List getProperty() { - if (property == null) { - property = new ArrayList(); - } - return this.property; - } + protected List property; - /** - * Gets the value of the mapping property. - * - * @return - * possible object is - * {@link MapListType } - * - */ - public MapListType getMapping() { - return mapping; - } + protected MapListType mapping; - /** - * Sets the value of the mapping property. - * - * @param value - * allowed object is - * {@link MapListType } - * - */ - public void setMapping(MapListType value) { - this.mapping = value; - } + @XmlAttribute(name = "type", required = true) + protected String type; - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } + @XmlAttribute(name = "rows", required = true) + protected BigInteger rows; - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } + @XmlAttribute(name = "cols", required = true) + protected BigInteger cols; - /** - * Gets the value of the rows property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getRows() { - return rows; - } + @XmlAttribute(name = "treeMethod") + protected String treeMethod; - /** - * Sets the value of the rows property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setRows(BigInteger value) { - this.rows = value; - } + @XmlAttribute(name = "cutHeight") + protected Double cutHeight; - /** - * Gets the value of the cols property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getCols() { - return cols; - } + @XmlAttribute(name = "id") + protected String id; - /** - * Sets the value of the cols property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setCols(BigInteger value) { - this.cols = value; - } + /** + * Gets the value of the elements property. + * + * @return possible object is {@link String } + * + */ + public String getElements() + { + return elements; + } - /** - * Gets the value of the treeMethod property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTreeMethod() { - return treeMethod; - } + /** + * Sets the value of the elements property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setElements(String value) + { + this.elements = value; + } - /** - * Sets the value of the treeMethod property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTreeMethod(String value) { - this.treeMethod = value; + /** + * Gets the value of the groups 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 groups property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list {@link String } + * + * + */ + public List getGroups() + { + if (groups == null) + { + groups = new ArrayList(); } + return this.groups; + } - /** - * Gets the value of the cutHeight property. - * - * @return - * possible object is - * {@link Double } - * - */ - public Double getCutHeight() { - return cutHeight; + /** + * Gets the value of the newick 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 newick property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list {@link String } + * + * + */ + public List getNewick() + { + if (newick == null) + { + newick = new ArrayList(); } + return this.newick; + } - /** - * Sets the value of the cutHeight property. - * - * @param value - * allowed object is - * {@link Double } - * - */ - public void setCutHeight(Double value) { - this.cutHeight = value; + /** + * 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 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; - } + /** + * Gets the value of the mapping property. + * + * @return possible object is {@link MapListType } + * + */ + public MapListType getMapping() + { + return mapping; + } - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } + /** + * Sets the value of the mapping property. + * + * @param value + * allowed object is {@link MapListType } + * + */ + public void setMapping(MapListType value) + { + this.mapping = 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 rows property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getRows() + { + return rows; + } + + /** + * Sets the value of the rows property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setRows(BigInteger value) + { + this.rows = value; + } + + /** + * Gets the value of the cols property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getCols() + { + return cols; + } + + /** + * Sets the value of the cols property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setCols(BigInteger value) + { + this.cols = value; + } + + /** + * Gets the value of the treeMethod property. + * + * @return possible object is {@link String } + * + */ + public String getTreeMethod() + { + return treeMethod; + } + + /** + * Sets the value of the treeMethod property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setTreeMethod(String value) + { + this.treeMethod = value; + } + + /** + * Gets the value of the cutHeight property. + * + * @return possible object is {@link Double } + * + */ + public Double getCutHeight() + { + return cutHeight; + } + + /** + * Sets the value of the cutHeight property. + * + * @param value + * allowed object is {@link Double } + * + */ + public void setCutHeight(Double value) + { + this.cutHeight = value; + } + + /** + * 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; + } }