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