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;
21 * Describes different types of sequence annotations.
22 * Equivalent to the flat file FT-line.
24 * <p>Java class for featureType complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
29 * &lt;complexType name="featureType"&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="original" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
34 * &lt;element name="variation" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt;
35 * &lt;element name="location" type="{http://uniprot.org/uniprot}locationType"/&gt;
36 * &lt;/sequence&gt;
37 * &lt;attribute name="type" use="required"&gt;
38 * &lt;simpleType&gt;
39 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
40 * &lt;enumeration value="active site"/&gt;
41 * &lt;enumeration value="binding site"/&gt;
42 * &lt;enumeration value="calcium-binding region"/&gt;
43 * &lt;enumeration value="chain"/&gt;
44 * &lt;enumeration value="coiled-coil region"/&gt;
45 * &lt;enumeration value="compositionally biased region"/&gt;
46 * &lt;enumeration value="cross-link"/&gt;
47 * &lt;enumeration value="disulfide bond"/&gt;
48 * &lt;enumeration value="DNA-binding region"/&gt;
49 * &lt;enumeration value="domain"/&gt;
50 * &lt;enumeration value="glycosylation site"/&gt;
51 * &lt;enumeration value="helix"/&gt;
52 * &lt;enumeration value="initiator methionine"/&gt;
53 * &lt;enumeration value="lipid moiety-binding region"/&gt;
54 * &lt;enumeration value="metal ion-binding site"/&gt;
55 * &lt;enumeration value="modified residue"/&gt;
56 * &lt;enumeration value="mutagenesis site"/&gt;
57 * &lt;enumeration value="non-consecutive residues"/&gt;
58 * &lt;enumeration value="non-terminal residue"/&gt;
59 * &lt;enumeration value="nucleotide phosphate-binding region"/&gt;
60 * &lt;enumeration value="peptide"/&gt;
61 * &lt;enumeration value="propeptide"/&gt;
62 * &lt;enumeration value="region of interest"/&gt;
63 * &lt;enumeration value="repeat"/&gt;
64 * &lt;enumeration value="non-standard amino acid"/&gt;
65 * &lt;enumeration value="sequence conflict"/&gt;
66 * &lt;enumeration value="sequence variant"/&gt;
67 * &lt;enumeration value="short sequence motif"/&gt;
68 * &lt;enumeration value="signal peptide"/&gt;
69 * &lt;enumeration value="site"/&gt;
70 * &lt;enumeration value="splice variant"/&gt;
71 * &lt;enumeration value="strand"/&gt;
72 * &lt;enumeration value="topological domain"/&gt;
73 * &lt;enumeration value="transit peptide"/&gt;
74 * &lt;enumeration value="transmembrane region"/&gt;
75 * &lt;enumeration value="turn"/&gt;
76 * &lt;enumeration value="unsure residue"/&gt;
77 * &lt;enumeration value="zinc finger region"/&gt;
78 * &lt;enumeration value="intramembrane region"/&gt;
79 * &lt;/restriction&gt;
80 * &lt;/simpleType&gt;
81 * &lt;/attribute&gt;
82 * &lt;attribute name="status"&gt;
83 * &lt;simpleType&gt;
84 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
85 * &lt;enumeration value="by similarity"/&gt;
86 * &lt;enumeration value="probable"/&gt;
87 * &lt;enumeration value="potential"/&gt;
88 * &lt;/restriction&gt;
89 * &lt;/simpleType&gt;
90 * &lt;/attribute&gt;
91 * &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
92 * &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
93 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
94 * &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
95 * &lt;/restriction&gt;
96 * &lt;/complexContent&gt;
97 * &lt;/complexType&gt;
102 @XmlAccessorType(XmlAccessType.FIELD)
103 @XmlType(name = "featureType", propOrder = {
108 public class FeatureType {
110 protected String original;
111 protected List<String> variation;
112 @XmlElement(required = true)
113 protected LocationType location;
114 @XmlAttribute(name = "type", required = true)
115 protected String type;
116 @XmlAttribute(name = "status")
117 protected String status;
118 @XmlAttribute(name = "id")
120 @XmlAttribute(name = "description")
121 protected String description;
122 @XmlAttribute(name = "evidence")
123 protected List<Integer> evidence;
124 @XmlAttribute(name = "ref")
125 protected String ref;
128 * Gets the value of the original property.
135 public String getOriginal() {
140 * Sets the value of the original property.
147 public void setOriginal(String value) {
148 this.original = value;
152 * Gets the value of the variation property.
155 * This accessor method returns a reference to the live list,
156 * not a snapshot. Therefore any modification you make to the
157 * returned list will be present inside the JAXB object.
158 * This is why there is not a <CODE>set</CODE> method for the variation property.
161 * For example, to add a new item, do as follows:
163 * getVariation().add(newItem);
168 * Objects of the following type(s) are allowed in the list
173 public List<String> getVariation() {
174 if (variation == null) {
175 variation = new ArrayList<String>();
177 return this.variation;
181 * Gets the value of the location property.
185 * {@link LocationType }
188 public LocationType getLocation() {
193 * Sets the value of the location property.
197 * {@link LocationType }
200 public void setLocation(LocationType value) {
201 this.location = value;
205 * Gets the value of the type property.
212 public String getType() {
217 * Sets the value of the type property.
224 public void setType(String value) {
229 * Gets the value of the status property.
236 public String getStatus() {
241 * Sets the value of the status property.
248 public void setStatus(String value) {
253 * Gets the value of the id property.
260 public String getId() {
265 * Sets the value of the id property.
272 public void setId(String value) {
277 * Gets the value of the description property.
284 public String getDescription() {
289 * Sets the value of the description property.
296 public void setDescription(String value) {
297 this.description = value;
301 * Gets the value of the evidence property.
304 * This accessor method returns a reference to the live list,
305 * not a snapshot. Therefore any modification you make to the
306 * returned list will be present inside the JAXB object.
307 * This is why there is not a <CODE>set</CODE> method for the evidence property.
310 * For example, to add a new item, do as follows:
312 * getEvidence().add(newItem);
317 * Objects of the following type(s) are allowed in the list
322 public List<Integer> getEvidence() {
323 if (evidence == null) {
324 evidence = new ArrayList<Integer>();
326 return this.evidence;
330 * Gets the value of the ref property.
337 public String getRef() {
342 * Sets the value of the ref property.
349 public void setRef(String value) {