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: 2023.05.13 at 06:58:42 PM BST
8 package jalview.xml.binding.uniprot;
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;
20 * Java class for sequenceType complex type.
23 * The following schema fragment specifies the expected content contained within
27 * <complexType name="sequenceType">
29 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
30 * <attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
31 * <attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
32 * <attribute name="checksum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
33 * <attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
34 * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
35 * <attribute name="precursor" type="{http://www.w3.org/2001/XMLSchema}boolean" />
36 * <attribute name="fragment">
38 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
39 * <enumeration value="single"/>
40 * <enumeration value="multiple"/>
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "sequenceType", propOrder = { "value" })
53 public class SequenceType
57 protected String value;
59 @XmlAttribute(name = "length", required = true)
62 @XmlAttribute(name = "mass", required = true)
65 @XmlAttribute(name = "checksum", required = true)
66 protected String checksum;
68 @XmlAttribute(name = "modified", required = true)
69 @XmlSchemaType(name = "date")
70 protected XMLGregorianCalendar modified;
72 @XmlAttribute(name = "version", required = true)
73 protected int version;
75 @XmlAttribute(name = "precursor")
76 protected Boolean precursor;
78 @XmlAttribute(name = "fragment")
79 protected String fragment;
82 * Gets the value of the value property.
84 * @return possible object is {@link String }
87 public String getValue()
93 * Sets the value of the value property.
96 * allowed object is {@link String }
99 public void setValue(String value)
105 * Gets the value of the length property.
108 public int getLength()
114 * Sets the value of the length property.
117 public void setLength(int value)
123 * Gets the value of the mass property.
132 * Sets the value of the mass property.
135 public void setMass(int value)
141 * Gets the value of the checksum property.
143 * @return possible object is {@link String }
146 public String getChecksum()
152 * Sets the value of the checksum property.
155 * allowed object is {@link String }
158 public void setChecksum(String value)
160 this.checksum = value;
164 * Gets the value of the modified property.
166 * @return possible object is {@link XMLGregorianCalendar }
169 public XMLGregorianCalendar getModified()
175 * Sets the value of the modified property.
178 * allowed object is {@link XMLGregorianCalendar }
181 public void setModified(XMLGregorianCalendar value)
183 this.modified = value;
187 * Gets the value of the version property.
190 public int getVersion()
196 * Sets the value of the version property.
199 public void setVersion(int value)
201 this.version = value;
205 * Gets the value of the precursor property.
207 * @return possible object is {@link Boolean }
210 public Boolean isPrecursor()
216 * Sets the value of the precursor property.
219 * allowed object is {@link Boolean }
222 public void setPrecursor(Boolean value)
224 this.precursor = value;
228 * Gets the value of the fragment property.
230 * @return possible object is {@link String }
233 public String getFragment()
239 * Sets the value of the fragment property.
242 * allowed object is {@link String }
245 public void setFragment(String value)
247 this.fragment = value;