Merge branch 'develop' into features/JAL-4134_use_annotation_row_for_colours_and_groups
[jalview.git] / src / jalview / xml / binding / jalview / Pdbentry.java
1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2023.05.13 at 06:58:41 PM BST 
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.XmlSeeAlso;
16 import javax.xml.bind.annotation.XmlType;
17
18 /**
19  * <p>
20  * Java class for pdbentry complex type.
21  * 
22  * <p>
23  * The following schema fragment specifies the expected content contained within
24  * this class.
25  * 
26  * <pre>
27  * &lt;complexType name="pdbentry">
28  *   &lt;complexContent>
29  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30  *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
31  *         &lt;element name="property" maxOccurs="unbounded" minOccurs="0">
32  *           &lt;complexType>
33  *             &lt;complexContent>
34  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35  *                 &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36  *                 &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37  *               &lt;/restriction>
38  *             &lt;/complexContent>
39  *           &lt;/complexType>
40  *         &lt;/element>
41  *       &lt;/sequence>
42  *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
43  *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
44  *       &lt;attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
45  *     &lt;/restriction>
46  *   &lt;/complexContent>
47  * &lt;/complexType>
48  * </pre>
49  * 
50  * 
51  */
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(
54   name = "pdbentry",
55   namespace = "www.jalview.org",
56   propOrder =
57   { "property" })
58 @XmlSeeAlso({ jalview.xml.binding.jalview.JalviewModel.JSeq.Pdbids.class })
59 public class Pdbentry
60 {
61
62   protected List<Pdbentry.Property> property;
63
64   @XmlAttribute(name = "id", required = true)
65   protected String id;
66
67   @XmlAttribute(name = "type")
68   protected String type;
69
70   @XmlAttribute(name = "file")
71   protected String file;
72
73   /**
74    * Gets the value of the property property.
75    * 
76    * <p>
77    * This accessor method returns a reference to the live list, not a snapshot.
78    * Therefore any modification you make to the returned list will be present
79    * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
80    * for the property property.
81    * 
82    * <p>
83    * For example, to add a new item, do as follows:
84    * 
85    * <pre>
86    * getProperty().add(newItem);
87    * </pre>
88    * 
89    * 
90    * <p>
91    * Objects of the following type(s) are allowed in the list
92    * {@link Pdbentry.Property }
93    * 
94    * 
95    */
96   public List<Pdbentry.Property> getProperty()
97   {
98     if (property == null)
99     {
100       property = new ArrayList<Pdbentry.Property>();
101     }
102     return this.property;
103   }
104
105   /**
106    * Gets the value of the id property.
107    * 
108    * @return possible object is {@link String }
109    * 
110    */
111   public String getId()
112   {
113     return id;
114   }
115
116   /**
117    * Sets the value of the id property.
118    * 
119    * @param value
120    *          allowed object is {@link String }
121    * 
122    */
123   public void setId(String value)
124   {
125     this.id = value;
126   }
127
128   /**
129    * Gets the value of the type property.
130    * 
131    * @return possible object is {@link String }
132    * 
133    */
134   public String getType()
135   {
136     return type;
137   }
138
139   /**
140    * Sets the value of the type property.
141    * 
142    * @param value
143    *          allowed object is {@link String }
144    * 
145    */
146   public void setType(String value)
147   {
148     this.type = value;
149   }
150
151   /**
152    * Gets the value of the file property.
153    * 
154    * @return possible object is {@link String }
155    * 
156    */
157   public String getFile()
158   {
159     return file;
160   }
161
162   /**
163    * Sets the value of the file property.
164    * 
165    * @param value
166    *          allowed object is {@link String }
167    * 
168    */
169   public void setFile(String value)
170   {
171     this.file = value;
172   }
173
174   /**
175    * <p>
176    * Java class for anonymous complex type.
177    * 
178    * <p>
179    * The following schema fragment specifies the expected content contained
180    * within this class.
181    * 
182    * <pre>
183    * &lt;complexType>
184    *   &lt;complexContent>
185    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
186    *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
187    *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
188    *     &lt;/restriction>
189    *   &lt;/complexContent>
190    * &lt;/complexType>
191    * </pre>
192    * 
193    * 
194    */
195   @XmlAccessorType(XmlAccessType.FIELD)
196   @XmlType(name = "")
197   public static class Property
198   {
199
200     @XmlAttribute(name = "name", required = true)
201     protected String name;
202
203     @XmlAttribute(name = "value", required = true)
204     protected String value;
205
206     /**
207      * Gets the value of the name property.
208      * 
209      * @return possible object is {@link String }
210      * 
211      */
212     public String getName()
213     {
214       return name;
215     }
216
217     /**
218      * Sets the value of the name property.
219      * 
220      * @param value
221      *          allowed object is {@link String }
222      * 
223      */
224     public void setName(String value)
225     {
226       this.name = value;
227     }
228
229     /**
230      * Gets the value of the value property.
231      * 
232      * @return possible object is {@link String }
233      * 
234      */
235     public String getValue()
236     {
237       return value;
238     }
239
240     /**
241      * Sets the value of the value property.
242      * 
243      * @param value
244      *          allowed object is {@link String }
245      * 
246      */
247     public void setValue(String value)
248     {
249       this.value = value;
250     }
251
252   }
253
254 }