8c10faf42e907c671784cb01254be63f801846f4
[jalview.git] / src / jalview / xml / binding / uniprot / SequenceType.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.XmlSchemaType;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.XmlValue;
17 import javax.xml.datatype.XMLGregorianCalendar;
18
19
20 /**
21  * <p>Java class for sequenceType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * &lt;complexType name="sequenceType">
27  *   &lt;simpleContent>
28  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
29  *       &lt;attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
30  *       &lt;attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
31  *       &lt;attribute name="checksum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
32  *       &lt;attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
33  *       &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
34  *       &lt;attribute name="precursor" type="{http://www.w3.org/2001/XMLSchema}boolean" />
35  *       &lt;attribute name="fragment">
36  *         &lt;simpleType>
37  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
38  *             &lt;enumeration value="single"/>
39  *             &lt;enumeration value="multiple"/>
40  *           &lt;/restriction>
41  *         &lt;/simpleType>
42  *       &lt;/attribute>
43  *     &lt;/extension>
44  *   &lt;/simpleContent>
45  * &lt;/complexType>
46  * </pre>
47  * 
48  * 
49  */
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "sequenceType", propOrder = {
52     "value"
53 })
54 public class SequenceType {
55
56     @XmlValue
57     protected String value;
58     @XmlAttribute(name = "length", required = true)
59     protected int length;
60     @XmlAttribute(name = "mass", required = true)
61     protected int mass;
62     @XmlAttribute(name = "checksum", required = true)
63     protected String checksum;
64     @XmlAttribute(name = "modified", required = true)
65     @XmlSchemaType(name = "date")
66     protected XMLGregorianCalendar modified;
67     @XmlAttribute(name = "version", required = true)
68     protected int version;
69     @XmlAttribute(name = "precursor")
70     protected Boolean precursor;
71     @XmlAttribute(name = "fragment")
72     protected String fragment;
73
74     /**
75      * Gets the value of the value property.
76      * 
77      * @return
78      *     possible object is
79      *     {@link String }
80      *     
81      */
82     public String getValue() {
83         return value;
84     }
85
86     /**
87      * Sets the value of the value property.
88      * 
89      * @param value
90      *     allowed object is
91      *     {@link String }
92      *     
93      */
94     public void setValue(String value) {
95         this.value = value;
96     }
97
98     /**
99      * Gets the value of the length property.
100      * 
101      */
102     public int getLength() {
103         return length;
104     }
105
106     /**
107      * Sets the value of the length property.
108      * 
109      */
110     public void setLength(int value) {
111         this.length = value;
112     }
113
114     /**
115      * Gets the value of the mass property.
116      * 
117      */
118     public int getMass() {
119         return mass;
120     }
121
122     /**
123      * Sets the value of the mass property.
124      * 
125      */
126     public void setMass(int value) {
127         this.mass = value;
128     }
129
130     /**
131      * Gets the value of the checksum property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     public String getChecksum() {
139         return checksum;
140     }
141
142     /**
143      * Sets the value of the checksum property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     public void setChecksum(String value) {
151         this.checksum = value;
152     }
153
154     /**
155      * Gets the value of the modified property.
156      * 
157      * @return
158      *     possible object is
159      *     {@link XMLGregorianCalendar }
160      *     
161      */
162     public XMLGregorianCalendar getModified() {
163         return modified;
164     }
165
166     /**
167      * Sets the value of the modified property.
168      * 
169      * @param value
170      *     allowed object is
171      *     {@link XMLGregorianCalendar }
172      *     
173      */
174     public void setModified(XMLGregorianCalendar value) {
175         this.modified = value;
176     }
177
178     /**
179      * Gets the value of the version property.
180      * 
181      */
182     public int getVersion() {
183         return version;
184     }
185
186     /**
187      * Sets the value of the version property.
188      * 
189      */
190     public void setVersion(int value) {
191         this.version = value;
192     }
193
194     /**
195      * Gets the value of the precursor property.
196      * 
197      * @return
198      *     possible object is
199      *     {@link Boolean }
200      *     
201      */
202     public Boolean isPrecursor() {
203         return precursor;
204     }
205
206     /**
207      * Sets the value of the precursor property.
208      * 
209      * @param value
210      *     allowed object is
211      *     {@link Boolean }
212      *     
213      */
214     public void setPrecursor(Boolean value) {
215         this.precursor = value;
216     }
217
218     /**
219      * Gets the value of the fragment property.
220      * 
221      * @return
222      *     possible object is
223      *     {@link String }
224      *     
225      */
226     public String getFragment() {
227         return fragment;
228     }
229
230     /**
231      * Sets the value of the fragment property.
232      * 
233      * @param value
234      *     allowed object is
235      *     {@link String }
236      *     
237      */
238     public void setFragment(String value) {
239         this.fragment = value;
240     }
241
242 }