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: 2023.05.13 at 06:58:42 PM BST
8 package jalview.xml.binding.uniprot;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlType;
18 * Describes the subcellular location and optionally the topology and
19 * orientation of a molecule.
22 * Java class for subcellularLocationType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="subcellularLocationType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="location" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded"/>
34 * <element name="topology" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
35 * <element name="orientation" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
38 * </complexContent>
44 @XmlAccessorType(XmlAccessType.FIELD)
46 name = "subcellularLocationType",
48 { "location", "topology", "orientation" })
49 public class SubcellularLocationType
52 @XmlElement(required = true)
53 protected List<EvidencedStringType> location;
55 protected List<EvidencedStringType> topology;
57 protected List<EvidencedStringType> orientation;
60 * Gets the value of the location property.
63 * This accessor method returns a reference to the live list, not a snapshot.
64 * Therefore any modification you make to the returned list will be present
65 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
66 * for the location property.
69 * For example, to add a new item, do as follows:
72 * getLocation().add(newItem);
77 * Objects of the following type(s) are allowed in the list
78 * {@link EvidencedStringType }
82 public List<EvidencedStringType> getLocation()
86 location = new ArrayList<EvidencedStringType>();
92 * Gets the value of the topology property.
95 * This accessor method returns a reference to the live list, not a snapshot.
96 * Therefore any modification you make to the returned list will be present
97 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
98 * for the topology property.
101 * For example, to add a new item, do as follows:
104 * getTopology().add(newItem);
109 * Objects of the following type(s) are allowed in the list
110 * {@link EvidencedStringType }
114 public List<EvidencedStringType> getTopology()
116 if (topology == null)
118 topology = new ArrayList<EvidencedStringType>();
120 return this.topology;
124 * Gets the value of the orientation property.
127 * This accessor method returns a reference to the live list, not a snapshot.
128 * Therefore any modification you make to the returned list will be present
129 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
130 * for the orientation property.
133 * For example, to add a new item, do as follows:
136 * getOrientation().add(newItem);
141 * Objects of the following type(s) are allowed in the list
142 * {@link EvidencedStringType }
146 public List<EvidencedStringType> getOrientation()
148 if (orientation == null)
150 orientation = new ArrayList<EvidencedStringType>();
152 return this.orientation;