Clover icon

Coverage Report

  1. Project Clover database Wed Nov 13 2024 16:12:26 GMT
  2. Package jalview.xml.binding.uniprot

File Uniprot.java

 

Coverage histogram

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

Code metrics

2
5
3
1
106
33
4
0.8
1.67
3
1.33

Classes

Class Line # Actions
Uniprot 44 5 4
0.440%
 

Contributing tests

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