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
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.XmlAttribute;
15 import javax.xml.bind.annotation.XmlType;
18 * Describes a database cross-reference. Equivalent to the flat file DR-line.
22 * Java class for dbReferenceType complex type.
25 * The following schema fragment specifies the expected content contained within
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 = { "molecule", "property" })
48 public class DbReferenceType
51 protected MoleculeType molecule;
53 protected List<PropertyType> property;
55 @XmlAttribute(name = "type", required = true)
56 protected String type;
58 @XmlAttribute(name = "id", required = true)
61 @XmlAttribute(name = "evidence")
62 protected List<Integer> evidence;
65 * Gets the value of the molecule property.
67 * @return possible object is {@link MoleculeType }
70 public MoleculeType getMolecule()
76 * Sets the value of the molecule property.
79 * allowed object is {@link MoleculeType }
82 public void setMolecule(MoleculeType value)
84 this.molecule = value;
88 * Gets the value of the property property.
91 * This accessor method returns a reference to the live list, not a snapshot.
92 * Therefore any modification you make to the returned list will be present
93 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
94 * for the property property.
97 * For example, to add a new item, do as follows:
100 * getProperty().add(newItem);
105 * Objects of the following type(s) are allowed in the list
106 * {@link PropertyType }
110 public List<PropertyType> getProperty()
112 if (property == null)
114 property = new ArrayList<PropertyType>();
116 return this.property;
120 * Gets the value of the type property.
122 * @return possible object is {@link String }
125 public String getType()
131 * Sets the value of the type property.
134 * allowed object is {@link String }
137 public void setType(String value)
143 * Gets the value of the id property.
145 * @return possible object is {@link String }
148 public String getId()
154 * Sets the value of the id property.
157 * allowed object is {@link String }
160 public void setId(String value)
166 * Gets the value of the evidence property.
169 * This accessor method returns a reference to the live list, not a snapshot.
170 * Therefore any modification you make to the returned list will be present
171 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
172 * for the evidence property.
175 * For example, to add a new item, do as follows:
178 * getEvidence().add(newItem);
183 * Objects of the following type(s) are allowed in the list {@link Integer }
187 public List<Integer> getEvidence()
189 if (evidence == null)
191 evidence = new ArrayList<Integer>();
193 return this.evidence;