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