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