3f956c3abe198f68f9c3982023854480614f9637
[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
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  * &lt;complexType name="statusType">
27  *   &lt;simpleContent>
28  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
29  *       &lt;attribute name="status" default="known">
30  *         &lt;simpleType>
31  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
32  *             &lt;enumeration value="known"/>
33  *             &lt;enumeration value="unknown"/>
34  *           &lt;/restriction>
35  *         &lt;/simpleType>
36  *       &lt;/attribute>
37  *     &lt;/extension>
38  *   &lt;/simpleContent>
39  * &lt;/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 }