2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT
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.XmlType;
20 * Describes a database cross-reference.
21 * Equivalent to the flat file DR-line.
24 * <p>Java class for dbReferenceType complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
29 * &lt;complexType name="dbReferenceType"&gt;
30 * &lt;complexContent&gt;
31 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32 * &lt;sequence&gt;
33 * &lt;element name="molecule" type="{http://uniprot.org/uniprot}moleculeType" minOccurs="0"/&gt;
34 * &lt;element name="property" type="{http://uniprot.org/uniprot}propertyType" maxOccurs="unbounded" minOccurs="0"/&gt;
35 * &lt;/sequence&gt;
36 * &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
37 * &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
38 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
39 * &lt;/restriction&gt;
40 * &lt;/complexContent&gt;
41 * &lt;/complexType&gt;
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "dbReferenceType", propOrder = {
51 public class DbReferenceType {
53 protected MoleculeType molecule;
54 protected List<PropertyType> property;
55 @XmlAttribute(name = "type", required = true)
56 protected String type;
57 @XmlAttribute(name = "id", required = true)
59 @XmlAttribute(name = "evidence")
60 protected List<Integer> evidence;
63 * Gets the value of the molecule property.
67 * {@link MoleculeType }
70 public MoleculeType getMolecule() {
75 * Sets the value of the molecule property.
79 * {@link MoleculeType }
82 public void setMolecule(MoleculeType value) {
83 this.molecule = value;
87 * Gets the value of the property property.
90 * This accessor method returns a reference to the live list,
91 * not a snapshot. Therefore any modification you make to the
92 * returned list will be present inside the JAXB object.
93 * This is why there is not a <CODE>set</CODE> method for the property property.
96 * For example, to add a new item, do as follows:
98 * getProperty().add(newItem);
103 * Objects of the following type(s) are allowed in the list
104 * {@link PropertyType }
108 public List<PropertyType> getProperty() {
109 if (property == null) {
110 property = new ArrayList<PropertyType>();
112 return this.property;
116 * Gets the value of the type property.
123 public String getType() {
128 * Sets the value of the type property.
135 public void setType(String value) {
140 * Gets the value of the id property.
147 public String getId() {
152 * Sets the value of the id property.
159 public void setId(String value) {
164 * Gets the value of the evidence property.
167 * This accessor method returns a reference to the live list,
168 * not a snapshot. Therefore any modification you make to the
169 * returned list will be present inside the JAXB object.
170 * This is why there is not a <CODE>set</CODE> method for the evidence property.
173 * For example, to add a new item, do as follows:
175 * getEvidence().add(newItem);
180 * Objects of the following type(s) are allowed in the list
185 public List<Integer> getEvidence() {
186 if (evidence == null) {
187 evidence = new ArrayList<Integer>();
189 return this.evidence;