JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / uniprot / CofactorType.java
1 //
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 
6 //
7
8 package jalview.xml.binding.uniprot;
9
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;
17
18 /**
19  * Describes a cofactor.
20  * 
21  * <p>
22  * Java class for cofactorType complex type.
23  * 
24  * <p>
25  * The following schema fragment specifies the expected content contained within
26  * this class.
27  * 
28  * <pre>
29  * &lt;complexType name="cofactorType">
30  *   &lt;complexContent>
31  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32  *       &lt;sequence>
33  *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
34  *         &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType"/>
35  *       &lt;/sequence>
36  *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
37  *     &lt;/restriction>
38  *   &lt;/complexContent>
39  * &lt;/complexType>
40  * </pre>
41  * 
42  * 
43  */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "cofactorType", propOrder = { "name", "dbReference" })
46 public class CofactorType
47 {
48
49   @XmlElement(required = true)
50   protected String name;
51
52   @XmlElement(required = true)
53   protected DbReferenceType dbReference;
54
55   @XmlAttribute(name = "evidence")
56   protected List<Integer> evidence;
57
58   /**
59    * Gets the value of the name property.
60    * 
61    * @return possible object is {@link String }
62    * 
63    */
64   public String getName()
65   {
66     return name;
67   }
68
69   /**
70    * Sets the value of the name property.
71    * 
72    * @param value
73    *          allowed object is {@link String }
74    * 
75    */
76   public void setName(String value)
77   {
78     this.name = value;
79   }
80
81   /**
82    * Gets the value of the dbReference property.
83    * 
84    * @return possible object is {@link DbReferenceType }
85    * 
86    */
87   public DbReferenceType getDbReference()
88   {
89     return dbReference;
90   }
91
92   /**
93    * Sets the value of the dbReference property.
94    * 
95    * @param value
96    *          allowed object is {@link DbReferenceType }
97    * 
98    */
99   public void setDbReference(DbReferenceType value)
100   {
101     this.dbReference = value;
102   }
103
104   /**
105    * Gets the value of the evidence property.
106    * 
107    * <p>
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.
112    * 
113    * <p>
114    * For example, to add a new item, do as follows:
115    * 
116    * <pre>
117    * getEvidence().add(newItem);
118    * </pre>
119    * 
120    * 
121    * <p>
122    * Objects of the following type(s) are allowed in the list {@link Integer }
123    * 
124    * 
125    */
126   public List<Integer> getEvidence()
127   {
128     if (evidence == null)
129     {
130       evidence = new ArrayList<Integer>();
131     }
132     return this.evidence;
133   }
134
135 }