Clover icon

Coverage Report

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

File PositionType.java

 

Coverage histogram

../../../../img/srcFileCovDistChart3.png
47% of files have more coverage

Code metrics

4
9
5
1
143
42
7
0.78
1.8
5
1.4

Classes

Class Line # Actions
PositionType 52 9 7
0.2222222222.2%
 

Contributing tests

This file is covered by 3 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.math.BigInteger;
12    import java.util.ArrayList;
13    import java.util.List;
14    import javax.xml.bind.annotation.XmlAccessType;
15    import javax.xml.bind.annotation.XmlAccessorType;
16    import javax.xml.bind.annotation.XmlAttribute;
17    import javax.xml.bind.annotation.XmlSchemaType;
18    import javax.xml.bind.annotation.XmlType;
19   
20   
21    /**
22    * <p>Java class for positionType complex type.
23    *
24    * <p>The following schema fragment specifies the expected content contained within this class.
25    *
26    * <pre>
27    * &lt;complexType name="positionType">
28    * &lt;complexContent>
29    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30    * &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" />
31    * &lt;attribute name="status" default="certain">
32    * &lt;simpleType>
33    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
34    * &lt;enumeration value="certain"/>
35    * &lt;enumeration value="uncertain"/>
36    * &lt;enumeration value="less than"/>
37    * &lt;enumeration value="greater than"/>
38    * &lt;enumeration value="unknown"/>
39    * &lt;/restriction>
40    * &lt;/simpleType>
41    * &lt;/attribute>
42    * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
43    * &lt;/restriction>
44    * &lt;/complexContent>
45    * &lt;/complexType>
46    * </pre>
47    *
48    *
49    */
50    @XmlAccessorType(XmlAccessType.FIELD)
51    @XmlType(name = "positionType")
 
52    public class PositionType {
53   
54    @XmlAttribute(name = "position")
55    @XmlSchemaType(name = "unsignedLong")
56    protected BigInteger position;
57    @XmlAttribute(name = "status")
58    protected String status;
59    @XmlAttribute(name = "evidence")
60    protected List<Integer> evidence;
61   
62    /**
63    * Gets the value of the position property.
64    *
65    * @return
66    * possible object is
67    * {@link BigInteger }
68    *
69    */
 
70  49 toggle public BigInteger getPosition() {
71  49 return position;
72    }
73   
74    /**
75    * Sets the value of the position property.
76    *
77    * @param value
78    * allowed object is
79    * {@link BigInteger }
80    *
81    */
 
82  1 toggle public void setPosition(BigInteger value) {
83  1 this.position = value;
84    }
85   
86    /**
87    * Gets the value of the status property.
88    *
89    * @return
90    * possible object is
91    * {@link String }
92    *
93    */
 
94  0 toggle public String getStatus() {
95  0 if (status == null) {
96  0 return "certain";
97    } else {
98  0 return status;
99    }
100    }
101   
102    /**
103    * Sets the value of the status property.
104    *
105    * @param value
106    * allowed object is
107    * {@link String }
108    *
109    */
 
110  0 toggle public void setStatus(String value) {
111  0 this.status = value;
112    }
113   
114    /**
115    * Gets the value of the evidence property.
116    *
117    * <p>
118    * This accessor method returns a reference to the live list,
119    * not a snapshot. Therefore any modification you make to the
120    * returned list will be present inside the JAXB object.
121    * This is why there is not a <CODE>set</CODE> method for the evidence property.
122    *
123    * <p>
124    * For example, to add a new item, do as follows:
125    * <pre>
126    * getEvidence().add(newItem);
127    * </pre>
128    *
129    *
130    * <p>
131    * Objects of the following type(s) are allowed in the list
132    * {@link Integer }
133    *
134    *
135    */
 
136  0 toggle public List<Integer> getEvidence() {
137  0 if (evidence == null) {
138  0 evidence = new ArrayList<Integer>();
139    }
140  0 return this.evidence;
141    }
142   
143    }