JAL-3785 JAL- Merge branch 'bug/JAL-3785autoOverviewTitle' into 2_11_2_develop
[jalview.git] / src / jalview / xml / binding / uniprot / StatusType.java
1 //
2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 
3 // See https://eclipse-ee4j.github.io/jaxb-ri 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlType;
15 import javax.xml.bind.annotation.XmlValue;
16
17
18 /**
19  * Indicates whether the name of a plasmid is known or unknown.
20  * 
21  * <p>Java class for statusType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * <complexType name="statusType">
27  *   <simpleContent>
28  *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
29  *       <attribute name="status" default="known">
30  *         <simpleType>
31  *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
32  *             <enumeration value="known"/>
33  *             <enumeration value="unknown"/>
34  *           </restriction>
35  *         </simpleType>
36  *       </attribute>
37  *     </extension>
38  *   </simpleContent>
39  * </complexType>
40  * </pre>
41  * 
42  * 
43  */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "statusType", propOrder = {
46     "value"
47 })
48 public class StatusType {
49
50     @XmlValue
51     protected String value;
52     @XmlAttribute(name = "status")
53     protected String status;
54
55     /**
56      * Gets the value of the value property.
57      * 
58      * @return
59      *     possible object is
60      *     {@link String }
61      *     
62      */
63     public String getValue() {
64         return value;
65     }
66
67     /**
68      * Sets the value of the value property.
69      * 
70      * @param value
71      *     allowed object is
72      *     {@link String }
73      *     
74      */
75     public void setValue(String value) {
76         this.value = value;
77     }
78
79     /**
80      * Gets the value of the status property.
81      * 
82      * @return
83      *     possible object is
84      *     {@link String }
85      *     
86      */
87     public String getStatus() {
88         if (status == null) {
89             return "known";
90         } else {
91             return status;
92         }
93     }
94
95     /**
96      * Sets the value of the status property.
97      * 
98      * @param value
99      *     allowed object is
100      *     {@link String }
101      *     
102      */
103     public void setStatus(String value) {
104         this.status = value;
105     }
106
107 }