Merge branch 'develop' into patch/JAL-4281_idwidthandannotHeight_in_project
[jalview.git] / src / jalview / xml / binding / jalview / MapOnAMatrixType.java
1 //
2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 
3 // See https://eclipse-ee4j.github.io/jaxb-ri 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2023.11.01 at 07:03:09 PM GMT 
6 //
7
8
9 package jalview.xml.binding.jalview;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlType;
17
18
19 /**
20  * Defines a mapping from the local frame to a matrix
21  *                              and its associated data specified by MatrixType
22  *                      
23  * 
24  * <p>Java class for MapOnAMatrixType complex type.
25  * 
26  * <p>The following schema fragment specifies the expected content contained within this class.
27  * 
28  * <pre>
29  * <complexType name="MapOnAMatrixType">
30  *   <complexContent>
31  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  *       <sequence>
33  *         <element name="property" type="{www.vamsas.ac.uk/jalview/version2}property" maxOccurs="unbounded" minOccurs="0"/>
34  *         <element name="mapping" type="{www.vamsas.ac.uk/jalview/version2}mapListType" minOccurs="0"/>
35  *       </sequence>
36  *       <attribute name="matrix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37  *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
38  *     </restriction>
39  *   </complexContent>
40  * </complexType>
41  * </pre>
42  * 
43  * 
44  */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "MapOnAMatrixType", propOrder = {
47     "property",
48     "mapping"
49 })
50 public class MapOnAMatrixType {
51
52     protected List<Property> property;
53     protected MapListType mapping;
54     @XmlAttribute(name = "matrix", required = true)
55     protected String matrix;
56     @XmlAttribute(name = "id")
57     protected String id;
58
59     /**
60      * Gets the value of the property property.
61      * 
62      * &lt;p&gt;
63      * This accessor method returns a reference to the live list,
64      * not a snapshot. Therefore any modification you make to the
65      * returned list will be present inside the JAXB object.
66      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the property property.
67      * 
68      * &lt;p&gt;
69      * For example, to add a new item, do as follows:
70      * &lt;pre&gt;
71      *    getProperty().add(newItem);
72      * &lt;/pre&gt;
73      * 
74      * 
75      * &lt;p&gt;
76      * Objects of the following type(s) are allowed in the list
77      * {@link Property }
78      * 
79      * 
80      */
81     public List<Property> getProperty() {
82         if (property == null) {
83             property = new ArrayList<Property>();
84         }
85         return this.property;
86     }
87
88     /**
89      * Gets the value of the mapping property.
90      * 
91      * @return
92      *     possible object is
93      *     {@link MapListType }
94      *     
95      */
96     public MapListType getMapping() {
97         return mapping;
98     }
99
100     /**
101      * Sets the value of the mapping property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link MapListType }
106      *     
107      */
108     public void setMapping(MapListType value) {
109         this.mapping = value;
110     }
111
112     /**
113      * Gets the value of the matrix property.
114      * 
115      * @return
116      *     possible object is
117      *     {@link String }
118      *     
119      */
120     public String getMatrix() {
121         return matrix;
122     }
123
124     /**
125      * Sets the value of the matrix property.
126      * 
127      * @param value
128      *     allowed object is
129      *     {@link String }
130      *     
131      */
132     public void setMatrix(String value) {
133         this.matrix = value;
134     }
135
136     /**
137      * Gets the value of the id property.
138      * 
139      * @return
140      *     possible object is
141      *     {@link String }
142      *     
143      */
144     public String getId() {
145         return id;
146     }
147
148     /**
149      * Sets the value of the id property.
150      * 
151      * @param value
152      *     allowed object is
153      *     {@link String }
154      *     
155      */
156     public void setId(String value) {
157         this.id = value;
158     }
159
160 }