JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / uniprot / StatusType.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 javax.xml.bind.annotation.XmlAccessType;
11 import javax.xml.bind.annotation.XmlAccessorType;
12 import javax.xml.bind.annotation.XmlAttribute;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.bind.annotation.XmlValue;
15
16 /**
17  * Indicates whether the name of a plasmid is known or unknown.
18  * 
19  * <p>
20  * Java class for statusType 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 name="statusType">
28  *   &lt;simpleContent>
29  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
30  *       &lt;attribute name="status" default="known">
31  *         &lt;simpleType>
32  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
33  *             &lt;enumeration value="known"/>
34  *             &lt;enumeration value="unknown"/>
35  *           &lt;/restriction>
36  *         &lt;/simpleType>
37  *       &lt;/attribute>
38  *     &lt;/extension>
39  *   &lt;/simpleContent>
40  * &lt;/complexType>
41  * </pre>
42  * 
43  * 
44  */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "statusType", propOrder = { "value" })
47 public class StatusType
48 {
49
50   @XmlValue
51   protected String value;
52
53   @XmlAttribute(name = "status")
54   protected String status;
55
56   /**
57    * Gets the value of the value property.
58    * 
59    * @return possible object is {@link String }
60    * 
61    */
62   public String getValue()
63   {
64     return value;
65   }
66
67   /**
68    * Sets the value of the value property.
69    * 
70    * @param value
71    *          allowed object is {@link String }
72    * 
73    */
74   public void setValue(String value)
75   {
76     this.value = value;
77   }
78
79   /**
80    * Gets the value of the status property.
81    * 
82    * @return possible object is {@link String }
83    * 
84    */
85   public String getStatus()
86   {
87     if (status == null)
88     {
89       return "known";
90     }
91     else
92     {
93       return status;
94     }
95   }
96
97   /**
98    * Sets the value of the status property.
99    * 
100    * @param value
101    *          allowed object is {@link String }
102    * 
103    */
104   public void setStatus(String value)
105   {
106     this.status = value;
107   }
108
109 }