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