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;
19 * Describes different types of sequence annotations. Equivalent to the flat
23 * Java class for featureType complex type.
26 * The following schema fragment specifies the expected content contained within
30 * <complexType name="featureType">
32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <element name="original" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35 * <element name="variation" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
36 * <element name="location" type="{http://uniprot.org/uniprot}locationType"/>
38 * <attribute name="type" use="required">
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
41 * <enumeration value="active site"/>
42 * <enumeration value="binding site"/>
43 * <enumeration value="calcium-binding region"/>
44 * <enumeration value="chain"/>
45 * <enumeration value="coiled-coil region"/>
46 * <enumeration value="compositionally biased region"/>
47 * <enumeration value="cross-link"/>
48 * <enumeration value="disulfide bond"/>
49 * <enumeration value="DNA-binding region"/>
50 * <enumeration value="domain"/>
51 * <enumeration value="glycosylation site"/>
52 * <enumeration value="helix"/>
53 * <enumeration value="initiator methionine"/>
54 * <enumeration value="lipid moiety-binding region"/>
55 * <enumeration value="metal ion-binding site"/>
56 * <enumeration value="modified residue"/>
57 * <enumeration value="mutagenesis site"/>
58 * <enumeration value="non-consecutive residues"/>
59 * <enumeration value="non-terminal residue"/>
60 * <enumeration value="nucleotide phosphate-binding region"/>
61 * <enumeration value="peptide"/>
62 * <enumeration value="propeptide"/>
63 * <enumeration value="region of interest"/>
64 * <enumeration value="repeat"/>
65 * <enumeration value="non-standard amino acid"/>
66 * <enumeration value="sequence conflict"/>
67 * <enumeration value="sequence variant"/>
68 * <enumeration value="short sequence motif"/>
69 * <enumeration value="signal peptide"/>
70 * <enumeration value="site"/>
71 * <enumeration value="splice variant"/>
72 * <enumeration value="strand"/>
73 * <enumeration value="topological domain"/>
74 * <enumeration value="transit peptide"/>
75 * <enumeration value="transmembrane region"/>
76 * <enumeration value="turn"/>
77 * <enumeration value="unsure residue"/>
78 * <enumeration value="zinc finger region"/>
79 * <enumeration value="intramembrane region"/>
83 * <attribute name="status">
85 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
86 * <enumeration value="by similarity"/>
87 * <enumeration value="probable"/>
88 * <enumeration value="potential"/>
92 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
93 * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
94 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
95 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
97 * </complexContent>
103 @XmlAccessorType(XmlAccessType.FIELD)
105 name = "featureType",
107 { "original", "variation", "location" })
108 public class FeatureType
111 protected String original;
113 protected List<String> variation;
115 @XmlElement(required = true)
116 protected LocationType location;
118 @XmlAttribute(name = "type", required = true)
119 protected String type;
121 @XmlAttribute(name = "status")
122 protected String status;
124 @XmlAttribute(name = "id")
127 @XmlAttribute(name = "description")
128 protected String description;
130 @XmlAttribute(name = "evidence")
131 protected List<Integer> evidence;
133 @XmlAttribute(name = "ref")
134 protected String ref;
137 * Gets the value of the original property.
139 * @return possible object is {@link String }
142 public String getOriginal()
148 * Sets the value of the original property.
151 * allowed object is {@link String }
154 public void setOriginal(String value)
156 this.original = value;
160 * Gets the value of the variation property.
163 * This accessor method returns a reference to the live list, not a snapshot.
164 * Therefore any modification you make to the returned list will be present
165 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
166 * for the variation property.
169 * For example, to add a new item, do as follows:
172 * getVariation().add(newItem);
177 * Objects of the following type(s) are allowed in the list {@link String }
181 public List<String> getVariation()
183 if (variation == null)
185 variation = new ArrayList<String>();
187 return this.variation;
191 * Gets the value of the location property.
193 * @return possible object is {@link LocationType }
196 public LocationType getLocation()
202 * Sets the value of the location property.
205 * allowed object is {@link LocationType }
208 public void setLocation(LocationType value)
210 this.location = value;
214 * Gets the value of the type property.
216 * @return possible object is {@link String }
219 public String getType()
225 * Sets the value of the type property.
228 * allowed object is {@link String }
231 public void setType(String value)
237 * Gets the value of the status property.
239 * @return possible object is {@link String }
242 public String getStatus()
248 * Sets the value of the status property.
251 * allowed object is {@link String }
254 public void setStatus(String value)
260 * Gets the value of the id property.
262 * @return possible object is {@link String }
265 public String getId()
271 * Sets the value of the id property.
274 * allowed object is {@link String }
277 public void setId(String value)
283 * Gets the value of the description property.
285 * @return possible object is {@link String }
288 public String getDescription()
294 * Sets the value of the description property.
297 * allowed object is {@link String }
300 public void setDescription(String value)
302 this.description = value;
306 * Gets the value of the evidence property.
309 * This accessor method returns a reference to the live list, not a snapshot.
310 * Therefore any modification you make to the returned list will be present
311 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
312 * for the evidence property.
315 * For example, to add a new item, do as follows:
318 * getEvidence().add(newItem);
323 * Objects of the following type(s) are allowed in the list {@link Integer }
327 public List<Integer> getEvidence()
329 if (evidence == null)
331 evidence = new ArrayList<Integer>();
333 return this.evidence;
337 * Gets the value of the ref property.
339 * @return possible object is {@link String }
342 public String getRef()
348 * Sets the value of the ref property.
351 * allowed object is {@link String }
354 public void setRef(String value)