org.nmdp.ngs.sra.jaxb.experiment.LinkType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.22 at 10:48:06 AM CDT
//
package org.nmdp.ngs.sra.jaxb.experiment;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Reusable external links type to encode URL links, Entrez links, and db_xref links.
*
*
* Java class for LinkType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LinkType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="URL_LINK">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="XREF_LINK" type="{SRA.common}XRefType"/>
* <element name="ENTREZ_LINK">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DB" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <choice>
* <element name="ID" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
* <element name="QUERY" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LinkType", propOrder = {
"entrezLink",
"xrefLink",
"urlLink"
})
public class LinkType {
@XmlElement(name = "ENTREZ_LINK")
protected LinkType.EntrezLink entrezLink;
@XmlElement(name = "XREF_LINK")
protected XRefType xrefLink;
@XmlElement(name = "URL_LINK")
protected LinkType.UrlLink urlLink;
/**
* Gets the value of the entrezLink property.
*
* @return
* possible object is
* {@link LinkType.EntrezLink }
*
*/
public LinkType.EntrezLink getEntrezLink() {
return entrezLink;
}
/**
* Sets the value of the entrezLink property.
*
* @param value
* allowed object is
* {@link LinkType.EntrezLink }
*
*/
public void setEntrezLink(LinkType.EntrezLink value) {
this.entrezLink = value;
}
/**
* Gets the value of the xrefLink property.
*
* @return
* possible object is
* {@link XRefType }
*
*/
public XRefType getXrefLink() {
return xrefLink;
}
/**
* Sets the value of the xrefLink property.
*
* @param value
* allowed object is
* {@link XRefType }
*
*/
public void setXrefLink(XRefType value) {
this.xrefLink = value;
}
/**
* Gets the value of the urlLink property.
*
* @return
* possible object is
* {@link LinkType.UrlLink }
*
*/
public LinkType.UrlLink getUrlLink() {
return urlLink;
}
/**
* Sets the value of the urlLink property.
*
* @param value
* allowed object is
* {@link LinkType.UrlLink }
*
*/
public void setUrlLink(LinkType.UrlLink value) {
this.urlLink = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DB" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <choice>
* <element name="ID" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
* <element name="QUERY" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"db",
"query",
"id",
"label"
})
public static class EntrezLink {
@XmlElement(name = "DB", required = true)
protected String db;
@XmlElement(name = "QUERY")
protected String query;
@XmlElement(name = "ID")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger id;
@XmlElement(name = "LABEL")
protected String label;
/**
* Gets the value of the db property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDb() {
return db;
}
/**
* Sets the value of the db property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDb(String value) {
this.db = value;
}
/**
* Gets the value of the query property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getQuery() {
return query;
}
/**
* Sets the value of the query property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setQuery(String value) {
this.query = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setId(BigInteger value) {
this.id = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class UrlLink {
@XmlElement(name = "LABEL", required = true)
protected String label;
@XmlElement(name = "URL", required = true)
@XmlSchemaType(name = "anyURI")
protected String url;
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
}
}