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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
20 * Describes the subcellular location and optionally the topology and orientation of a molecule.
22 * <p>Java class for subcellularLocationType complex type.
24 * <p>The following schema fragment specifies the expected content contained within this class.
27 * <complexType name="subcellularLocationType">
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <element name="location" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded"/>
32 * <element name="topology" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
33 * <element name="orientation" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
36 * </complexContent>
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "subcellularLocationType", propOrder = {
48 public class SubcellularLocationType {
50 @XmlElement(required = true)
51 protected List<EvidencedStringType> location;
52 protected List<EvidencedStringType> topology;
53 protected List<EvidencedStringType> orientation;
56 * Gets the value of the location property.
59 * This accessor method returns a reference to the live list,
60 * not a snapshot. Therefore any modification you make to the
61 * returned list will be present inside the JAXB object.
62 * This is why there is not a <CODE>set</CODE> method for the location property.
65 * For example, to add a new item, do as follows:
67 * getLocation().add(newItem);
72 * Objects of the following type(s) are allowed in the list
73 * {@link EvidencedStringType }
77 public List<EvidencedStringType> getLocation() {
78 if (location == null) {
79 location = new ArrayList<EvidencedStringType>();
85 * Gets the value of the topology property.
88 * This accessor method returns a reference to the live list,
89 * not a snapshot. Therefore any modification you make to the
90 * returned list will be present inside the JAXB object.
91 * This is why there is not a <CODE>set</CODE> method for the topology property.
94 * For example, to add a new item, do as follows:
96 * getTopology().add(newItem);
101 * Objects of the following type(s) are allowed in the list
102 * {@link EvidencedStringType }
106 public List<EvidencedStringType> getTopology() {
107 if (topology == null) {
108 topology = new ArrayList<EvidencedStringType>();
110 return this.topology;
114 * Gets the value of the orientation property.
117 * This accessor method returns a reference to the live list,
118 * not a snapshot. Therefore any modification you make to the
119 * returned list will be present inside the JAXB object.
120 * This is why there is not a <CODE>set</CODE> method for the orientation property.
123 * For example, to add a new item, do as follows:
125 * getOrientation().add(newItem);
130 * Objects of the following type(s) are allowed in the list
131 * {@link EvidencedStringType }
135 public List<EvidencedStringType> getOrientation() {
136 if (orientation == null) {
137 orientation = new ArrayList<EvidencedStringType>();
139 return this.orientation;