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.03.17 at 05:31:46 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 * <complexType name="dbReferenceType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="molecule" type="{http://uniprot.org/uniprot}moleculeType" minOccurs="0"/>
34 * <element name="property" type="{http://uniprot.org/uniprot}propertyType" maxOccurs="unbounded" minOccurs="0"/>
36 * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
37 * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
38 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
40 * </complexContent>
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;