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