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;
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 * <complexType name="featureType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="original" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34 * <element name="variation" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
35 * <element name="location" type="{http://uniprot.org/uniprot}locationType"/>
37 * <attribute name="type" use="required">
39 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
40 * <enumeration value="active site"/>
41 * <enumeration value="binding site"/>
42 * <enumeration value="calcium-binding region"/>
43 * <enumeration value="chain"/>
44 * <enumeration value="coiled-coil region"/>
45 * <enumeration value="compositionally biased region"/>
46 * <enumeration value="cross-link"/>
47 * <enumeration value="disulfide bond"/>
48 * <enumeration value="DNA-binding region"/>
49 * <enumeration value="domain"/>
50 * <enumeration value="glycosylation site"/>
51 * <enumeration value="helix"/>
52 * <enumeration value="initiator methionine"/>
53 * <enumeration value="lipid moiety-binding region"/>
54 * <enumeration value="metal ion-binding site"/>
55 * <enumeration value="modified residue"/>
56 * <enumeration value="mutagenesis site"/>
57 * <enumeration value="non-consecutive residues"/>
58 * <enumeration value="non-terminal residue"/>
59 * <enumeration value="nucleotide phosphate-binding region"/>
60 * <enumeration value="peptide"/>
61 * <enumeration value="propeptide"/>
62 * <enumeration value="region of interest"/>
63 * <enumeration value="repeat"/>
64 * <enumeration value="non-standard amino acid"/>
65 * <enumeration value="sequence conflict"/>
66 * <enumeration value="sequence variant"/>
67 * <enumeration value="short sequence motif"/>
68 * <enumeration value="signal peptide"/>
69 * <enumeration value="site"/>
70 * <enumeration value="splice variant"/>
71 * <enumeration value="strand"/>
72 * <enumeration value="topological domain"/>
73 * <enumeration value="transit peptide"/>
74 * <enumeration value="transmembrane region"/>
75 * <enumeration value="turn"/>
76 * <enumeration value="unsure residue"/>
77 * <enumeration value="zinc finger region"/>
78 * <enumeration value="intramembrane region"/>
82 * <attribute name="status">
84 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
85 * <enumeration value="by similarity"/>
86 * <enumeration value="probable"/>
87 * <enumeration value="potential"/>
91 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
92 * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
93 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
94 * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
96 * </complexContent>
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) {