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