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.05.13 at 06:58:42 PM 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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
19 * Describes a cofactor.
22 * Java class for cofactorType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="cofactorType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
34 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType"/>
36 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
38 * </complexContent>
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "cofactorType", propOrder = { "name", "dbReference" })
46 public class CofactorType
49 @XmlElement(required = true)
50 protected String name;
52 @XmlElement(required = true)
53 protected DbReferenceType dbReference;
55 @XmlAttribute(name = "evidence")
56 protected List<Integer> evidence;
59 * Gets the value of the name property.
61 * @return possible object is {@link String }
64 public String getName()
70 * Sets the value of the name property.
73 * allowed object is {@link String }
76 public void setName(String value)
82 * Gets the value of the dbReference property.
84 * @return possible object is {@link DbReferenceType }
87 public DbReferenceType getDbReference()
93 * Sets the value of the dbReference property.
96 * allowed object is {@link DbReferenceType }
99 public void setDbReference(DbReferenceType value)
101 this.dbReference = value;
105 * Gets the value of the evidence property.
108 * This accessor method returns a reference to the live list, not a snapshot.
109 * Therefore any modification you make to the returned list will be present
110 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
111 * for the evidence property.
114 * 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 {@link Integer }
126 public List<Integer> getEvidence()
128 if (evidence == null)
130 evidence = new ArrayList<Integer>();
132 return this.evidence;