X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotation.java;h=0dd0c991b194b6dc0551ee890d9c50617da0292c;hb=335e6b12c126bcb6825cd3f66422677db7cd91c7;hp=8c07465f944fa9cd7d36fb2e28c3ee6a8f706bdc;hpb=9d9ad2a9237a50e305349a63eb01bb5548d028d0;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Annotation.java b/src/jalview/xml/binding/jalview/Annotation.java index 8c07465..0dd0c99 100644 --- a/src/jalview/xml/binding/jalview/Annotation.java +++ b/src/jalview/xml/binding/jalview/Annotation.java @@ -2,7 +2,7 @@ // 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 // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2023.01.31 at 04:07:08 PM GMT +// Generated on: 2023.02.22 at 05:27:55 PM GMT // @@ -42,6 +42,7 @@ import javax.xml.bind.annotation.XmlType; * </complexContent> * </complexType> * </element> + * <element name="contactmatrix" type="{www.vamsas.ac.uk/jalview/version2}MatrixType" maxOccurs="unbounded" minOccurs="0"/> * <element name="property" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> @@ -83,6 +84,7 @@ import javax.xml.bind.annotation.XmlType; "label", "description", "thresholdLine", + "contactmatrix", "property" }) @XmlRootElement(name = "Annotation") @@ -93,6 +95,7 @@ public class Annotation { protected String label; protected String description; protected Annotation.ThresholdLine thresholdLine; + protected List contactmatrix; protected List property; @XmlAttribute(name = "graph", required = true) protected boolean graph; @@ -231,6 +234,35 @@ public class Annotation { } /** + * Gets the value of the contactmatrix 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 contactmatrix property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link MatrixType } + * + * + */ + public List getContactmatrix() { + if (contactmatrix == null) { + contactmatrix = new ArrayList(); + } + return this.contactmatrix; + } + + /** * Gets the value of the property property. * *