001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2015.06.22 at 10:48:10 AM CDT 
006//
007
008
009package org.nmdp.ngs.sra.jaxb.submission;
010
011import java.math.BigInteger;
012import javax.xml.bind.annotation.XmlAccessType;
013import javax.xml.bind.annotation.XmlAccessorType;
014import javax.xml.bind.annotation.XmlElement;
015import javax.xml.bind.annotation.XmlSchemaType;
016import javax.xml.bind.annotation.XmlType;
017
018
019/**
020 * 
021 *                 Reusable external links type to encode URL links, Entrez links, and db_xref links.
022 *             
023 * 
024 * <p>Java class for LinkType complex type.
025 * 
026 * <p>The following schema fragment specifies the expected content contained within this class.
027 * 
028 * <pre>
029 * &lt;complexType name="LinkType">
030 *   &lt;complexContent>
031 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032 *       &lt;choice>
033 *         &lt;element name="URL_LINK">
034 *           &lt;complexType>
035 *             &lt;complexContent>
036 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037 *                 &lt;all>
038 *                   &lt;element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string"/>
039 *                   &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
040 *                 &lt;/all>
041 *               &lt;/restriction>
042 *             &lt;/complexContent>
043 *           &lt;/complexType>
044 *         &lt;/element>
045 *         &lt;element name="XREF_LINK" type="{SRA.common}XRefType"/>
046 *         &lt;element name="ENTREZ_LINK">
047 *           &lt;complexType>
048 *             &lt;complexContent>
049 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
050 *                 &lt;sequence>
051 *                   &lt;element name="DB" type="{http://www.w3.org/2001/XMLSchema}string"/>
052 *                   &lt;choice>
053 *                     &lt;element name="ID" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
054 *                     &lt;element name="QUERY" type="{http://www.w3.org/2001/XMLSchema}string"/>
055 *                   &lt;/choice>
056 *                   &lt;element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
057 *                 &lt;/sequence>
058 *               &lt;/restriction>
059 *             &lt;/complexContent>
060 *           &lt;/complexType>
061 *         &lt;/element>
062 *       &lt;/choice>
063 *     &lt;/restriction>
064 *   &lt;/complexContent>
065 * &lt;/complexType>
066 * </pre>
067 * 
068 * 
069 */
070@XmlAccessorType(XmlAccessType.FIELD)
071@XmlType(name = "LinkType", propOrder = {
072    "entrezLink",
073    "xrefLink",
074    "urlLink"
075})
076public class LinkType {
077
078    @XmlElement(name = "ENTREZ_LINK")
079    protected LinkType.EntrezLink entrezLink;
080    @XmlElement(name = "XREF_LINK")
081    protected XRefType xrefLink;
082    @XmlElement(name = "URL_LINK")
083    protected LinkType.UrlLink urlLink;
084
085    /**
086     * Gets the value of the entrezLink property.
087     * 
088     * @return
089     *     possible object is
090     *     {@link LinkType.EntrezLink }
091     *     
092     */
093    public LinkType.EntrezLink getEntrezLink() {
094        return entrezLink;
095    }
096
097    /**
098     * Sets the value of the entrezLink property.
099     * 
100     * @param value
101     *     allowed object is
102     *     {@link LinkType.EntrezLink }
103     *     
104     */
105    public void setEntrezLink(LinkType.EntrezLink value) {
106        this.entrezLink = value;
107    }
108
109    /**
110     * Gets the value of the xrefLink property.
111     * 
112     * @return
113     *     possible object is
114     *     {@link XRefType }
115     *     
116     */
117    public XRefType getXrefLink() {
118        return xrefLink;
119    }
120
121    /**
122     * Sets the value of the xrefLink property.
123     * 
124     * @param value
125     *     allowed object is
126     *     {@link XRefType }
127     *     
128     */
129    public void setXrefLink(XRefType value) {
130        this.xrefLink = value;
131    }
132
133    /**
134     * Gets the value of the urlLink property.
135     * 
136     * @return
137     *     possible object is
138     *     {@link LinkType.UrlLink }
139     *     
140     */
141    public LinkType.UrlLink getUrlLink() {
142        return urlLink;
143    }
144
145    /**
146     * Sets the value of the urlLink property.
147     * 
148     * @param value
149     *     allowed object is
150     *     {@link LinkType.UrlLink }
151     *     
152     */
153    public void setUrlLink(LinkType.UrlLink value) {
154        this.urlLink = value;
155    }
156
157
158    /**
159     * <p>Java class for anonymous complex type.
160     * 
161     * <p>The following schema fragment specifies the expected content contained within this class.
162     * 
163     * <pre>
164     * &lt;complexType>
165     *   &lt;complexContent>
166     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
167     *       &lt;sequence>
168     *         &lt;element name="DB" type="{http://www.w3.org/2001/XMLSchema}string"/>
169     *         &lt;choice>
170     *           &lt;element name="ID" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
171     *           &lt;element name="QUERY" type="{http://www.w3.org/2001/XMLSchema}string"/>
172     *         &lt;/choice>
173     *         &lt;element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
174     *       &lt;/sequence>
175     *     &lt;/restriction>
176     *   &lt;/complexContent>
177     * &lt;/complexType>
178     * </pre>
179     * 
180     * 
181     */
182    @XmlAccessorType(XmlAccessType.FIELD)
183    @XmlType(name = "", propOrder = {
184        "db",
185        "query",
186        "id",
187        "label"
188    })
189    public static class EntrezLink {
190
191        @XmlElement(name = "DB", required = true)
192        protected String db;
193        @XmlElement(name = "QUERY")
194        protected String query;
195        @XmlElement(name = "ID")
196        @XmlSchemaType(name = "nonNegativeInteger")
197        protected BigInteger id;
198        @XmlElement(name = "LABEL")
199        protected String label;
200
201        /**
202         * Gets the value of the db property.
203         * 
204         * @return
205         *     possible object is
206         *     {@link String }
207         *     
208         */
209        public String getDb() {
210            return db;
211        }
212
213        /**
214         * Sets the value of the db property.
215         * 
216         * @param value
217         *     allowed object is
218         *     {@link String }
219         *     
220         */
221        public void setDb(String value) {
222            this.db = value;
223        }
224
225        /**
226         * Gets the value of the query property.
227         * 
228         * @return
229         *     possible object is
230         *     {@link String }
231         *     
232         */
233        public String getQuery() {
234            return query;
235        }
236
237        /**
238         * Sets the value of the query property.
239         * 
240         * @param value
241         *     allowed object is
242         *     {@link String }
243         *     
244         */
245        public void setQuery(String value) {
246            this.query = value;
247        }
248
249        /**
250         * Gets the value of the id property.
251         * 
252         * @return
253         *     possible object is
254         *     {@link BigInteger }
255         *     
256         */
257        public BigInteger getId() {
258            return id;
259        }
260
261        /**
262         * Sets the value of the id property.
263         * 
264         * @param value
265         *     allowed object is
266         *     {@link BigInteger }
267         *     
268         */
269        public void setId(BigInteger value) {
270            this.id = value;
271        }
272
273        /**
274         * Gets the value of the label property.
275         * 
276         * @return
277         *     possible object is
278         *     {@link String }
279         *     
280         */
281        public String getLabel() {
282            return label;
283        }
284
285        /**
286         * Sets the value of the label property.
287         * 
288         * @param value
289         *     allowed object is
290         *     {@link String }
291         *     
292         */
293        public void setLabel(String value) {
294            this.label = value;
295        }
296
297    }
298
299
300    /**
301     * <p>Java class for anonymous complex type.
302     * 
303     * <p>The following schema fragment specifies the expected content contained within this class.
304     * 
305     * <pre>
306     * &lt;complexType>
307     *   &lt;complexContent>
308     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
309     *       &lt;all>
310     *         &lt;element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string"/>
311     *         &lt;element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
312     *       &lt;/all>
313     *     &lt;/restriction>
314     *   &lt;/complexContent>
315     * &lt;/complexType>
316     * </pre>
317     * 
318     * 
319     */
320    @XmlAccessorType(XmlAccessType.FIELD)
321    @XmlType(name = "", propOrder = {
322
323    })
324    public static class UrlLink {
325
326        @XmlElement(name = "LABEL", required = true)
327        protected String label;
328        @XmlElement(name = "URL", required = true)
329        @XmlSchemaType(name = "anyURI")
330        protected String url;
331
332        /**
333         * Gets the value of the label property.
334         * 
335         * @return
336         *     possible object is
337         *     {@link String }
338         *     
339         */
340        public String getLabel() {
341            return label;
342        }
343
344        /**
345         * Sets the value of the label property.
346         * 
347         * @param value
348         *     allowed object is
349         *     {@link String }
350         *     
351         */
352        public void setLabel(String value) {
353            this.label = value;
354        }
355
356        /**
357         * Gets the value of the url property.
358         * 
359         * @return
360         *     possible object is
361         *     {@link String }
362         *     
363         */
364        public String getUrl() {
365            return url;
366        }
367
368        /**
369         * Sets the value of the url property.
370         * 
371         * @param value
372         *     allowed object is
373         *     {@link String }
374         *     
375         */
376        public void setUrl(String value) {
377            this.url = value;
378        }
379
380    }
381
382}