fc0ba681da59f5574c26c93066bb32b2618ec05e
[jalview.git] / src / jalview / xml / binding / uniprot / OrganismNameType.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  * Describes different types of source organism names.
20  * 
21  * <p>Java class for organismNameType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * &lt;complexType name="organismNameType">
27  *   &lt;simpleContent>
28  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
29  *       &lt;attribute name="type" use="required">
30  *         &lt;simpleType>
31  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
32  *             &lt;enumeration value="common"/>
33  *             &lt;enumeration value="full"/>
34  *             &lt;enumeration value="scientific"/>
35  *             &lt;enumeration value="synonym"/>
36  *             &lt;enumeration value="abbreviation"/>
37  *           &lt;/restriction>
38  *         &lt;/simpleType>
39  *       &lt;/attribute>
40  *     &lt;/extension>
41  *   &lt;/simpleContent>
42  * &lt;/complexType>
43  * </pre>
44  * 
45  * 
46  */
47 @XmlAccessorType(XmlAccessType.FIELD)
48 @XmlType(name = "organismNameType", propOrder = {
49     "value"
50 })
51 public class OrganismNameType {
52
53     @XmlValue
54     protected String value;
55     @XmlAttribute(name = "type", required = true)
56     protected String type;
57
58     /**
59      * Gets the value of the value property.
60      * 
61      * @return
62      *     possible object is
63      *     {@link String }
64      *     
65      */
66     public String getValue() {
67         return value;
68     }
69
70     /**
71      * Sets the value of the value property.
72      * 
73      * @param value
74      *     allowed object is
75      *     {@link String }
76      *     
77      */
78     public void setValue(String value) {
79         this.value = value;
80     }
81
82     /**
83      * Gets the value of the type property.
84      * 
85      * @return
86      *     possible object is
87      *     {@link String }
88      *     
89      */
90     public String getType() {
91         return type;
92     }
93
94     /**
95      * Sets the value of the type property.
96      * 
97      * @param value
98      *     allowed object is
99      *     {@link String }
100      *     
101      */
102     public void setType(String value) {
103         this.type = value;
104     }
105
106 }