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 java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.XmlValue;
22 * Describes isoforms in 'alternative products' annotations.
24 * <p>Java class for isoformType complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
29 * &lt;complexType name="isoformType"&gt;
30 * &lt;complexContent&gt;
31 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32 * &lt;sequence&gt;
33 * &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt;
34 * &lt;element name="name" maxOccurs="unbounded"&gt;
35 * &lt;complexType&gt;
36 * &lt;simpleContent&gt;
37 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
38 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
39 * &lt;/extension&gt;
40 * &lt;/simpleContent&gt;
41 * &lt;/complexType&gt;
42 * &lt;/element&gt;
43 * &lt;element name="sequence"&gt;
44 * &lt;complexType&gt;
45 * &lt;complexContent&gt;
46 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
47 * &lt;attribute name="type" use="required"&gt;
48 * &lt;simpleType&gt;
49 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
50 * &lt;enumeration value="not described"/&gt;
51 * &lt;enumeration value="described"/&gt;
52 * &lt;enumeration value="displayed"/&gt;
53 * &lt;enumeration value="external"/&gt;
54 * &lt;/restriction&gt;
55 * &lt;/simpleType&gt;
56 * &lt;/attribute&gt;
57 * &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
58 * &lt;/restriction&gt;
59 * &lt;/complexContent&gt;
60 * &lt;/complexType&gt;
61 * &lt;/element&gt;
62 * &lt;element name="text" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/&gt;
63 * &lt;/sequence&gt;
64 * &lt;/restriction&gt;
65 * &lt;/complexContent&gt;
66 * &lt;/complexType&gt;
71 @XmlAccessorType(XmlAccessType.FIELD)
72 @XmlType(name = "isoformType", propOrder = {
78 public class IsoformType {
80 @XmlElement(required = true)
81 protected List<String> id;
82 @XmlElement(required = true)
83 protected List<IsoformType.Name> name;
84 @XmlElement(required = true)
85 protected IsoformType.Sequence sequence;
86 protected List<EvidencedStringType> text;
89 * Gets the value of the id property.
92 * This accessor method returns a reference to the live list,
93 * not a snapshot. Therefore any modification you make to the
94 * returned list will be present inside the JAXB object.
95 * This is why there is not a <CODE>set</CODE> method for the id property.
98 * For example, to add a new item, do as follows:
100 * getId().add(newItem);
105 * Objects of the following type(s) are allowed in the list
110 public List<String> getId() {
112 id = new ArrayList<String>();
118 * Gets the value of the name property.
121 * This accessor method returns a reference to the live list,
122 * not a snapshot. Therefore any modification you make to the
123 * returned list will be present inside the JAXB object.
124 * This is why there is not a <CODE>set</CODE> method for the name property.
127 * For example, to add a new item, do as follows:
129 * getName().add(newItem);
134 * Objects of the following type(s) are allowed in the list
135 * {@link IsoformType.Name }
139 public List<IsoformType.Name> getName() {
141 name = new ArrayList<IsoformType.Name>();
147 * Gets the value of the sequence property.
151 * {@link IsoformType.Sequence }
154 public IsoformType.Sequence getSequence() {
159 * Sets the value of the sequence property.
163 * {@link IsoformType.Sequence }
166 public void setSequence(IsoformType.Sequence value) {
167 this.sequence = value;
171 * Gets the value of the text property.
174 * This accessor method returns a reference to the live list,
175 * not a snapshot. Therefore any modification you make to the
176 * returned list will be present inside the JAXB object.
177 * This is why there is not a <CODE>set</CODE> method for the text property.
180 * For example, to add a new item, do as follows:
182 * getText().add(newItem);
187 * Objects of the following type(s) are allowed in the list
188 * {@link EvidencedStringType }
192 public List<EvidencedStringType> getText() {
194 text = new ArrayList<EvidencedStringType>();
201 * <p>Java class for anonymous complex type.
203 * <p>The following schema fragment specifies the expected content contained within this class.
206 * &lt;complexType&gt;
207 * &lt;simpleContent&gt;
208 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
209 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
210 * &lt;/extension&gt;
211 * &lt;/simpleContent&gt;
212 * &lt;/complexType&gt;
217 @XmlAccessorType(XmlAccessType.FIELD)
218 @XmlType(name = "", propOrder = {
221 public static class Name {
224 protected String value;
225 @XmlAttribute(name = "evidence")
226 protected List<Integer> evidence;
229 * Gets the value of the value property.
236 public String getValue() {
241 * Sets the value of the value property.
248 public void setValue(String value) {
253 * Gets the value of the evidence property.
256 * This accessor method returns a reference to the live list,
257 * not a snapshot. Therefore any modification you make to the
258 * returned list will be present inside the JAXB object.
259 * This is why there is not a <CODE>set</CODE> method for the evidence property.
262 * For example, to add a new item, do as follows:
264 * getEvidence().add(newItem);
269 * Objects of the following type(s) are allowed in the list
274 public List<Integer> getEvidence() {
275 if (evidence == null) {
276 evidence = new ArrayList<Integer>();
278 return this.evidence;
285 * <p>Java class for anonymous complex type.
287 * <p>The following schema fragment specifies the expected content contained within this class.
290 * &lt;complexType&gt;
291 * &lt;complexContent&gt;
292 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
293 * &lt;attribute name="type" use="required"&gt;
294 * &lt;simpleType&gt;
295 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
296 * &lt;enumeration value="not described"/&gt;
297 * &lt;enumeration value="described"/&gt;
298 * &lt;enumeration value="displayed"/&gt;
299 * &lt;enumeration value="external"/&gt;
300 * &lt;/restriction&gt;
301 * &lt;/simpleType&gt;
302 * &lt;/attribute&gt;
303 * &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
304 * &lt;/restriction&gt;
305 * &lt;/complexContent&gt;
306 * &lt;/complexType&gt;
311 @XmlAccessorType(XmlAccessType.FIELD)
313 public static class Sequence {
315 @XmlAttribute(name = "type", required = true)
316 protected String type;
317 @XmlAttribute(name = "ref")
318 protected String ref;
321 * Gets the value of the type property.
328 public String getType() {
333 * Sets the value of the type property.
340 public void setType(String value) {
345 * Gets the value of the ref property.
352 public String getRef() {
357 * Sets the value of the ref property.
364 public void setRef(String value) {