Clover icon

Coverage Report

  1. Project Clover database Thu Aug 13 2020 12:04:21 BST
  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
247
68
12
0.92
1.18
5.5
1.09

Classes

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

Contributing tests

This file is covered by 9 tests. .

Source view

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: 2019.06.07 at 02:21:15 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.
22    *
23    * <p>The following schema fragment specifies the expected content contained within this class.
24    *
25    * <pre>
26    * &lt;complexType name="pdbentry">
27    * &lt;complexContent>
28    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29    * &lt;sequence maxOccurs="unbounded" minOccurs="0">
30    * &lt;element name="property" maxOccurs="unbounded" minOccurs="0">
31    * &lt;complexType>
32    * &lt;complexContent>
33    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34    * &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
35    * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36    * &lt;/restriction>
37    * &lt;/complexContent>
38    * &lt;/complexType>
39    * &lt;/element>
40    * &lt;/sequence>
41    * &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
42    * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
43    * &lt;attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
44    * &lt;/restriction>
45    * &lt;/complexContent>
46    * &lt;/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    * <p>
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 <CODE>set</CODE> method for the property property.
76    *
77    * <p>
78    * For example, to add a new item, do as follows:
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    *
88    *
89    */
 
90  300 toggle public List<Pdbentry.Property> getProperty() {
91  300 if (property == null) {
92  278 property = new ArrayList<Pdbentry.Property>();
93    }
94  300 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  568 toggle public String getId() {
106  568 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  62 toggle public void setId(String value) {
118  62 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  330 toggle public String getType() {
130  330 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  62 toggle public void setType(String value) {
142  62 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  642 toggle public String getFile() {
154  642 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  46 toggle public void setFile(String value) {
166  46 this.file = value;
167    }
168   
169   
170    /**
171    * <p>Java class for anonymous complex type.
172    *
173    * <p>The following schema fragment specifies the expected content contained within this class.
174    *
175    * <pre>
176    * &lt;complexType>
177    * &lt;complexContent>
178    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
179    * &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
180    * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
181    * &lt;/restriction>
182    * &lt;/complexContent>
183    * &lt;/complexType>
184    * </pre>
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  22 toggle public String getName() {
206  22 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  46 toggle public void setName(String value) {
218  46 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  22 toggle public String getValue() {
230  22 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  46 toggle public void setValue(String value) {
242  46 this.value = value;
243    }
244   
245    }
246   
247    }