Clover icon

Coverage Report

  1. Project Clover database Wed Dec 3 2025 16:47:11 GMT
  2. Package jalview.xml.binding.jalview

File Pdbentry.java

 

Coverage histogram

../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

2
13
11
2
250
68
12
0.92
1.18
5.5
1.09

Classes

Class Line # Actions
Pdbentry 58 9 8
1.0100%
Pdbentry.Property 193 4 4
1.0100%
 

Contributing tests

This file is covered by 11 tests. .

Source view

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