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.01.31 at 04:07:10 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.XmlElement;
17 import javax.xml.bind.annotation.XmlType;
21 * Describes a cofactor.
23 * <p>Java class for cofactorType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * <complexType name="cofactorType">
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
33 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType"/>
35 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
37 * </complexContent>
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "cofactorType", propOrder = {
48 public class CofactorType {
50 @XmlElement(required = true)
51 protected String name;
52 @XmlElement(required = true)
53 protected DbReferenceType dbReference;
54 @XmlAttribute(name = "evidence")
55 protected List<Integer> evidence;
58 * Gets the value of the name property.
65 public String getName() {
70 * Sets the value of the name property.
77 public void setName(String value) {
82 * Gets the value of the dbReference property.
86 * {@link DbReferenceType }
89 public DbReferenceType getDbReference() {
94 * Sets the value of the dbReference property.
98 * {@link DbReferenceType }
101 public void setDbReference(DbReferenceType value) {
102 this.dbReference = value;
106 * Gets the value of the evidence property.
109 * This accessor method returns a reference to the live list,
110 * not a snapshot. Therefore any modification you make to the
111 * returned list will be present inside the JAXB object.
112 * This is why there is not a <CODE>set</CODE> method for the evidence property.
115 * For example, to add a new item, do as follows:
117 * getEvidence().add(newItem);
122 * Objects of the following type(s) are allowed in the list
127 public List<Integer> getEvidence() {
128 if (evidence == null) {
129 evidence = new ArrayList<Integer>();
131 return this.evidence;