Class | Line # | Actions | |||
---|---|---|---|---|---|
Uniprot | 44 | 5 | 4 |
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: 2023.05.13 at 06:58:42 PM 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.XmlElement; | |
15 | import javax.xml.bind.annotation.XmlRootElement; | |
16 | import javax.xml.bind.annotation.XmlType; | |
17 | ||
18 | /** | |
19 | * <p> | |
20 | * Java class for anonymous complex type. | |
21 | * | |
22 | * <p> | |
23 | * The following schema fragment specifies the expected content contained within | |
24 | * this class. | |
25 | * | |
26 | * <pre> | |
27 | * <complexType> | |
28 | * <complexContent> | |
29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
30 | * <sequence> | |
31 | * <element ref="{http://uniprot.org/uniprot}entry" maxOccurs="unbounded"/> | |
32 | * <element ref="{http://uniprot.org/uniprot}copyright" minOccurs="0"/> | |
33 | * </sequence> | |
34 | * </restriction> | |
35 | * </complexContent> | |
36 | * </complexType> | |
37 | * </pre> | |
38 | * | |
39 | * | |
40 | */ | |
41 | @XmlAccessorType(XmlAccessType.FIELD) | |
42 | @XmlType(name = "", propOrder = { "entry", "copyright" }) | |
43 | @XmlRootElement(name = "uniprot") | |
44 | public class Uniprot | |
45 | { | |
46 | ||
47 | @XmlElement(required = true) | |
48 | protected List<Entry> entry; | |
49 | ||
50 | protected String copyright; | |
51 | ||
52 | /** | |
53 | * Gets the value of the entry property. | |
54 | * | |
55 | * <p> | |
56 | * This accessor method returns a reference to the live list, not a snapshot. | |
57 | * Therefore any modification you make to the returned list will be present | |
58 | * inside the JAXB object. This is why there is not a <CODE>set</CODE> method | |
59 | * for the entry property. | |
60 | * | |
61 | * <p> | |
62 | * For example, to add a new item, do as follows: | |
63 | * | |
64 | * <pre> | |
65 | * getEntry().add(newItem); | |
66 | * </pre> | |
67 | * | |
68 | * | |
69 | * <p> | |
70 | * Objects of the following type(s) are allowed in the list {@link Entry } | |
71 | * | |
72 | * | |
73 | */ | |
74 | 10 | public List<Entry> getEntry() |
75 | { | |
76 | 10 | if (entry == null) |
77 | { | |
78 | 0 | entry = new ArrayList<Entry>(); |
79 | } | |
80 | 10 | return this.entry; |
81 | } | |
82 | ||
83 | /** | |
84 | * Gets the value of the copyright property. | |
85 | * | |
86 | * @return possible object is {@link String } | |
87 | * | |
88 | */ | |
89 | 0 | public String getCopyright() |
90 | { | |
91 | 0 | return copyright; |
92 | } | |
93 | ||
94 | /** | |
95 | * Sets the value of the copyright property. | |
96 | * | |
97 | * @param value | |
98 | * allowed object is {@link String } | |
99 | * | |
100 | */ | |
101 | 0 | public void setCopyright(String value) |
102 | { | |
103 | 0 | this.copyright = value; |
104 | } | |
105 | ||
106 | } |