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
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.XmlElement;
17 import javax.xml.bind.annotation.XmlType;
21 * Describes a citation and a summary of its content.
22 * Equivalent to the flat file RN-, RP-, RC-, RX-, RG-, RA-, RT- and RL-lines.
24 * <p>Java class for referenceType complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
29 * <complexType name="referenceType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="citation" type="{http://uniprot.org/uniprot}citationType"/>
34 * <group ref="{http://uniprot.org/uniprot}sptrCitationGroup"/>
36 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
37 * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
39 * </complexContent>
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "referenceType", propOrder = {
51 public class ReferenceType {
53 @XmlElement(required = true)
54 protected CitationType citation;
55 @XmlElement(required = true)
56 protected List<String> scope;
57 protected SourceDataType source;
58 @XmlAttribute(name = "evidence")
59 protected List<Integer> evidence;
60 @XmlAttribute(name = "key", required = true)
64 * Gets the value of the citation property.
68 * {@link CitationType }
71 public CitationType getCitation() {
76 * Sets the value of the citation property.
80 * {@link CitationType }
83 public void setCitation(CitationType value) {
84 this.citation = value;
88 * Gets the value of the scope property.
91 * This accessor method returns a reference to the live list,
92 * not a snapshot. Therefore any modification you make to the
93 * returned list will be present inside the JAXB object.
94 * This is why there is not a <CODE>set</CODE> method for the scope property.
97 * For example, to add a new item, do as follows:
99 * getScope().add(newItem);
104 * Objects of the following type(s) are allowed in the list
109 public List<String> getScope() {
111 scope = new ArrayList<String>();
117 * Gets the value of the source property.
121 * {@link SourceDataType }
124 public SourceDataType getSource() {
129 * Sets the value of the source property.
133 * {@link SourceDataType }
136 public void setSource(SourceDataType value) {
141 * Gets the value of the evidence property.
144 * This accessor method returns a reference to the live list,
145 * not a snapshot. Therefore any modification you make to the
146 * returned list will be present inside the JAXB object.
147 * This is why there is not a <CODE>set</CODE> method for the evidence property.
150 * For example, to add a new item, do as follows:
152 * getEvidence().add(newItem);
157 * Objects of the following type(s) are allowed in the list
162 public List<Integer> getEvidence() {
163 if (evidence == null) {
164 evidence = new ArrayList<Integer>();
166 return this.evidence;
170 * Gets the value of the key property.
177 public String getKey() {
182 * Sets the value of the key property.
189 public void setKey(String value) {