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: 2018.09.13 at 10:18:53 AM BST
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 * <complexType name="isoformType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
34 * <element name="name" maxOccurs="unbounded">
37 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
38 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
43 * <element name="sequence">
46 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47 * <attribute name="type" use="required">
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
50 * <enumeration value="not described"/>
51 * <enumeration value="described"/>
52 * <enumeration value="displayed"/>
53 * <enumeration value="external"/>
57 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
59 * </complexContent>
62 * <element name="text" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
65 * </complexContent>
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.
208 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
209 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
211 * </simpleContent>
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.
291 * <complexContent>
292 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
293 * <attribute name="type" use="required">
295 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
296 * <enumeration value="not described"/>
297 * <enumeration value="described"/>
298 * <enumeration value="displayed"/>
299 * <enumeration value="external"/>
303 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
305 * </complexContent>
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) {