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