Clover icon

Coverage Report

  1. Project Clover database Thu Aug 13 2020 12:04:21 BST
  2. Package jalview.xml.binding.uniprot

File Uniprot.java

 

Coverage histogram

../../../../img/srcFileCovDistChart4.png
44% of files have more coverage

Code metrics

2
5
3
1
105
31
4
0.8
1.67
3
1.33

Classes

Class Line # Actions
Uniprot 46 5 4
0.440%
 

Contributing tests

This file is covered by 4 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.04.05 at 08:01:44 AM BST
6    //
7   
8   
9    package jalview.xml.binding.uniprot;
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.XmlElement;
16    import javax.xml.bind.annotation.XmlRootElement;
17    import javax.xml.bind.annotation.XmlType;
18   
19   
20    /**
21    * <p>Java class for anonymous complex type.
22    *
23    * <p>The following schema fragment specifies the expected content contained within this class.
24    *
25    * <pre>
26    * &lt;complexType>
27    * &lt;complexContent>
28    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29    * &lt;sequence>
30    * &lt;element ref="{http://uniprot.org/uniprot}entry" maxOccurs="unbounded"/>
31    * &lt;element ref="{http://uniprot.org/uniprot}copyright" minOccurs="0"/>
32    * &lt;/sequence>
33    * &lt;/restriction>
34    * &lt;/complexContent>
35    * &lt;/complexType>
36    * </pre>
37    *
38    *
39    */
40    @XmlAccessorType(XmlAccessType.FIELD)
41    @XmlType(name = "", propOrder = {
42    "entry",
43    "copyright"
44    })
45    @XmlRootElement(name = "uniprot")
 
46    public class Uniprot {
47   
48    @XmlElement(required = true)
49    protected List<Entry> entry;
50    protected String copyright;
51   
52    /**
53    * Gets the value of the entry property.
54    *
55    * <p>
56    * This accessor method returns a reference to the live list,
57    * not a snapshot. Therefore any modification you make to the
58    * returned list will be present inside the JAXB object.
59    * This is why there is not a <CODE>set</CODE> method for the entry property.
60    *
61    * <p>
62    * For example, to add a new item, do as follows:
63    * <pre>
64    * getEntry().add(newItem);
65    * </pre>
66    *
67    *
68    * <p>
69    * Objects of the following type(s) are allowed in the list
70    * {@link Entry }
71    *
72    *
73    */
 
74  8 toggle public List<Entry> getEntry() {
75  8 if (entry == null) {
76  0 entry = new ArrayList<Entry>();
77    }
78  8 return this.entry;
79    }
80   
81    /**
82    * Gets the value of the copyright property.
83    *
84    * @return
85    * possible object is
86    * {@link String }
87    *
88    */
 
89  0 toggle public String getCopyright() {
90  0 return copyright;
91    }
92   
93    /**
94    * Sets the value of the copyright property.
95    *
96    * @param value
97    * allowed object is
98    * {@link String }
99    *
100    */
 
101  0 toggle public void setCopyright(String value) {
102  0 this.copyright = value;
103    }
104   
105    }