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 java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
17 import javax.xml.bind.annotation.XmlValue;
20 * Describes isoforms in 'alternative products' annotations.
23 * Java class for isoformType complex type.
26 * The following schema fragment specifies the expected content contained within
30 * <complexType name="isoformType">
32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
35 * <element name="name" maxOccurs="unbounded">
38 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
39 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
44 * <element name="sequence">
47 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
48 * <attribute name="type" use="required">
50 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
51 * <enumeration value="not described"/>
52 * <enumeration value="described"/>
53 * <enumeration value="displayed"/>
54 * <enumeration value="external"/>
58 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
60 * </complexContent>
63 * <element name="text" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
66 * </complexContent>
72 @XmlAccessorType(XmlAccessType.FIELD)
76 { "id", "name", "sequence", "text" })
77 public class IsoformType
80 @XmlElement(required = true)
81 protected List<String> id;
83 @XmlElement(required = true)
84 protected List<IsoformType.Name> name;
86 @XmlElement(required = true)
87 protected IsoformType.Sequence sequence;
89 protected List<EvidencedStringType> text;
92 * Gets the value of the id property.
95 * This accessor method returns a reference to the live list, not a snapshot.
96 * Therefore any modification you make to the returned list will be present
97 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
98 * for the id property.
101 * For example, to add a new item, do as follows:
104 * getId().add(newItem);
109 * Objects of the following type(s) are allowed in the list {@link String }
113 public List<String> getId()
117 id = new ArrayList<String>();
123 * Gets the value of the name property.
126 * This accessor method returns a reference to the live list, not a snapshot.
127 * Therefore any modification you make to the returned list will be present
128 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
129 * for the name property.
132 * For example, to add a new item, do as follows:
135 * getName().add(newItem);
140 * Objects of the following type(s) are allowed in the list
141 * {@link IsoformType.Name }
145 public List<IsoformType.Name> getName()
149 name = new ArrayList<IsoformType.Name>();
155 * Gets the value of the sequence property.
157 * @return possible object is {@link IsoformType.Sequence }
160 public IsoformType.Sequence getSequence()
166 * Sets the value of the sequence property.
169 * allowed object is {@link IsoformType.Sequence }
172 public void setSequence(IsoformType.Sequence value)
174 this.sequence = value;
178 * Gets the value of the text property.
181 * This accessor method returns a reference to the live list, not a snapshot.
182 * Therefore any modification you make to the returned list will be present
183 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
184 * for the text property.
187 * For example, to add a new item, do as follows:
190 * getText().add(newItem);
195 * Objects of the following type(s) are allowed in the list
196 * {@link EvidencedStringType }
200 public List<EvidencedStringType> getText()
204 text = new ArrayList<EvidencedStringType>();
211 * Java class for anonymous complex type.
214 * The following schema fragment specifies the expected content contained
220 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
221 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
223 * </simpleContent>
229 @XmlAccessorType(XmlAccessType.FIELD)
230 @XmlType(name = "", propOrder = { "value" })
231 public static class Name
235 protected String value;
237 @XmlAttribute(name = "evidence")
238 protected List<Integer> evidence;
241 * Gets the value of the value property.
243 * @return possible object is {@link String }
246 public String getValue()
252 * Sets the value of the value property.
255 * allowed object is {@link String }
258 public void setValue(String value)
264 * Gets the value of the evidence property.
267 * This accessor method returns a reference to the live list, not a
268 * snapshot. Therefore any modification you make to the returned list will
269 * be present inside the JAXB object. This is why there is not a
270 * <CODE>set</CODE> method for the evidence property.
273 * For example, to add a new item, do as follows:
276 * getEvidence().add(newItem);
281 * Objects of the following type(s) are allowed in the list {@link Integer }
285 public List<Integer> getEvidence()
287 if (evidence == null)
289 evidence = new ArrayList<Integer>();
291 return this.evidence;
298 * Java class for anonymous complex type.
301 * The following schema fragment specifies the expected content contained
306 * <complexContent>
307 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
308 * <attribute name="type" use="required">
310 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
311 * <enumeration value="not described"/>
312 * <enumeration value="described"/>
313 * <enumeration value="displayed"/>
314 * <enumeration value="external"/>
318 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
320 * </complexContent>
326 @XmlAccessorType(XmlAccessType.FIELD)
328 public static class Sequence
331 @XmlAttribute(name = "type", required = true)
332 protected String type;
334 @XmlAttribute(name = "ref")
335 protected String ref;
338 * Gets the value of the type property.
340 * @return possible object is {@link String }
343 public String getType()
349 * Sets the value of the type property.
352 * allowed object is {@link String }
355 public void setType(String value)
361 * Gets the value of the ref property.
363 * @return possible object is {@link String }
366 public String getRef()
372 * Sets the value of the ref property.
375 * allowed object is {@link String }
378 public void setRef(String value)