2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT
9 package jalview.xml.binding.uniprot;
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;
21 * <p>Java class for sequenceType complex type.
23 * <p>The following schema fragment specifies the expected content contained within this class.
26 * &lt;complexType name="sequenceType"&gt;
27 * &lt;simpleContent&gt;
28 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
29 * &lt;attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
30 * &lt;attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
31 * &lt;attribute name="checksum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
32 * &lt;attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /&gt;
33 * &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
34 * &lt;attribute name="precursor" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
35 * &lt;attribute name="fragment"&gt;
36 * &lt;simpleType&gt;
37 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
38 * &lt;enumeration value="single"/&gt;
39 * &lt;enumeration value="multiple"/&gt;
40 * &lt;/restriction&gt;
41 * &lt;/simpleType&gt;
42 * &lt;/attribute&gt;
43 * &lt;/extension&gt;
44 * &lt;/simpleContent&gt;
45 * &lt;/complexType&gt;
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "sequenceType", propOrder = {
54 public class SequenceType {
57 protected String value;
58 @XmlAttribute(name = "length", required = true)
60 @XmlAttribute(name = "mass", required = true)
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;
75 * Gets the value of the value property.
82 public String getValue() {
87 * Sets the value of the value property.
94 public void setValue(String value) {
99 * Gets the value of the length property.
102 public int getLength() {
107 * Sets the value of the length property.
110 public void setLength(int value) {
115 * Gets the value of the mass property.
118 public int getMass() {
123 * Sets the value of the mass property.
126 public void setMass(int value) {
131 * Gets the value of the checksum property.
138 public String getChecksum() {
143 * Sets the value of the checksum property.
150 public void setChecksum(String value) {
151 this.checksum = value;
155 * Gets the value of the modified property.
159 * {@link XMLGregorianCalendar }
162 public XMLGregorianCalendar getModified() {
167 * Sets the value of the modified property.
171 * {@link XMLGregorianCalendar }
174 public void setModified(XMLGregorianCalendar value) {
175 this.modified = value;
179 * Gets the value of the version property.
182 public int getVersion() {
187 * Sets the value of the version property.
190 public void setVersion(int value) {
191 this.version = value;
195 * Gets the value of the precursor property.
202 public Boolean isPrecursor() {
207 * Sets the value of the precursor property.
214 public void setPrecursor(Boolean value) {
215 this.precursor = value;
219 * Gets the value of the fragment property.
226 public String getFragment() {
231 * Sets the value of the fragment property.
238 public void setFragment(String value) {
239 this.fragment = value;