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
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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
19 * Describes a citation and a summary of its content. Equivalent to the flat
20 * file RN-, RP-, RC-, RX-, RG-, RA-, RT- and RL-lines.
23 * Java class for referenceType complex type.
26 * The following schema fragment specifies the expected content contained within
30 * <complexType name="referenceType">
32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <element name="citation" type="{http://uniprot.org/uniprot}citationType"/>
35 * <group ref="{http://uniprot.org/uniprot}sptrCitationGroup"/>
37 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
38 * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * </complexContent>
46 @XmlAccessorType(XmlAccessType.FIELD)
48 name = "referenceType",
50 { "citation", "scope", "source" })
51 public class ReferenceType
54 @XmlElement(required = true)
55 protected CitationType citation;
57 @XmlElement(required = true)
58 protected List<String> scope;
60 protected SourceDataType source;
62 @XmlAttribute(name = "evidence")
63 protected List<Integer> evidence;
65 @XmlAttribute(name = "key", required = true)
69 * Gets the value of the citation property.
71 * @return possible object is {@link CitationType }
74 public CitationType getCitation()
80 * Sets the value of the citation property.
83 * allowed object is {@link CitationType }
86 public void setCitation(CitationType value)
88 this.citation = value;
92 * Gets the value of the scope 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 scope property.
101 * For example, to add a new item, do as follows:
104 * getScope().add(newItem);
109 * Objects of the following type(s) are allowed in the list {@link String }
113 public List<String> getScope()
117 scope = new ArrayList<String>();
123 * Gets the value of the source property.
125 * @return possible object is {@link SourceDataType }
128 public SourceDataType getSource()
134 * Sets the value of the source property.
137 * allowed object is {@link SourceDataType }
140 public void setSource(SourceDataType value)
146 * Gets the value of the evidence property.
149 * This accessor method returns a reference to the live list, not a snapshot.
150 * Therefore any modification you make to the returned list will be present
151 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
152 * for the evidence property.
155 * For example, to add a new item, do as follows:
158 * getEvidence().add(newItem);
163 * Objects of the following type(s) are allowed in the list {@link Integer }
167 public List<Integer> getEvidence()
169 if (evidence == null)
171 evidence = new ArrayList<Integer>();
173 return this.evidence;
177 * Gets the value of the key property.
179 * @return possible object is {@link String }
182 public String getKey()
188 * Sets the value of the key property.
191 * allowed object is {@link String }
194 public void setKey(String value)