35d5f87d80cb17395f38bb55e0300a0d0a327d69
[jalview.git] / src / jalview / xml / binding / uniprot / LocationType.java
1 //
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: 2019.04.05 at 08:01:44 AM BST 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlType;
15
16
17 /**
18  * Describes a sequence location as either a range with a begin and end or as a position. The 'sequence' attribute is only used when the location is not on the canonical sequence displayed in the current entry.
19  * 
20  * <p>Java class for locationType complex type.
21  * 
22  * <p>The following schema fragment specifies the expected content contained within this class.
23  * 
24  * <pre>
25  * &lt;complexType name="locationType">
26  *   &lt;complexContent>
27  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28  *       &lt;choice>
29  *         &lt;sequence>
30  *           &lt;element name="begin" type="{http://uniprot.org/uniprot}positionType"/>
31  *           &lt;element name="end" type="{http://uniprot.org/uniprot}positionType"/>
32  *         &lt;/sequence>
33  *         &lt;element name="position" type="{http://uniprot.org/uniprot}positionType"/>
34  *       &lt;/choice>
35  *       &lt;attribute name="sequence" type="{http://www.w3.org/2001/XMLSchema}string" />
36  *     &lt;/restriction>
37  *   &lt;/complexContent>
38  * &lt;/complexType>
39  * </pre>
40  * 
41  * 
42  */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "locationType", propOrder = {
45     "begin",
46     "end",
47     "position"
48 })
49 public class LocationType {
50
51     protected PositionType begin;
52     protected PositionType end;
53     protected PositionType position;
54     @XmlAttribute(name = "sequence")
55     protected String sequence;
56
57     /**
58      * Gets the value of the begin property.
59      * 
60      * @return
61      *     possible object is
62      *     {@link PositionType }
63      *     
64      */
65     public PositionType getBegin() {
66         return begin;
67     }
68
69     /**
70      * Sets the value of the begin property.
71      * 
72      * @param value
73      *     allowed object is
74      *     {@link PositionType }
75      *     
76      */
77     public void setBegin(PositionType value) {
78         this.begin = value;
79     }
80
81     /**
82      * Gets the value of the end property.
83      * 
84      * @return
85      *     possible object is
86      *     {@link PositionType }
87      *     
88      */
89     public PositionType getEnd() {
90         return end;
91     }
92
93     /**
94      * Sets the value of the end property.
95      * 
96      * @param value
97      *     allowed object is
98      *     {@link PositionType }
99      *     
100      */
101     public void setEnd(PositionType value) {
102         this.end = value;
103     }
104
105     /**
106      * Gets the value of the position property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link PositionType }
111      *     
112      */
113     public PositionType getPosition() {
114         return position;
115     }
116
117     /**
118      * Sets the value of the position property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link PositionType }
123      *     
124      */
125     public void setPosition(PositionType value) {
126         this.position = value;
127     }
128
129     /**
130      * Gets the value of the sequence property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link String }
135      *     
136      */
137     public String getSequence() {
138         return sequence;
139     }
140
141     /**
142      * Sets the value of the sequence property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      *     
148      */
149     public void setSequence(String value) {
150         this.sequence = value;
151     }
152
153 }