org.nmdp.ngs.sra.jaxb.common.ReferenceAssemblyType 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:05 AM CDT
//
package org.nmdp.ngs.sra.jaxb.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Reference assembly details.
*
* Java class for ReferenceAssemblyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ReferenceAssemblyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element name="STANDARD">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="refname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="accession" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CUSTOM">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DESCRIPTION" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="URL_LINK" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ReferenceAssemblyType", propOrder = {
"custom",
"standard"
})
public class ReferenceAssemblyType {
@XmlElement(name = "CUSTOM")
protected ReferenceAssemblyType.Custom custom;
@XmlElement(name = "STANDARD")
protected ReferenceAssemblyType.Standard standard;
/**
* Gets the value of the custom property.
*
* @return
* possible object is
* {@link ReferenceAssemblyType.Custom }
*
*/
public ReferenceAssemblyType.Custom getCustom() {
return custom;
}
/**
* Sets the value of the custom property.
*
* @param value
* allowed object is
* {@link ReferenceAssemblyType.Custom }
*
*/
public void setCustom(ReferenceAssemblyType.Custom value) {
this.custom = value;
}
/**
* Gets the value of the standard property.
*
* @return
* possible object is
* {@link ReferenceAssemblyType.Standard }
*
*/
public ReferenceAssemblyType.Standard getStandard() {
return standard;
}
/**
* Sets the value of the standard property.
*
* @param value
* allowed object is
* {@link ReferenceAssemblyType.Standard }
*
*/
public void setStandard(ReferenceAssemblyType.Standard value) {
this.standard = 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="DESCRIPTION" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="URL_LINK" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LABEL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"description",
"urlLinks"
})
public static class Custom {
@XmlElement(name = "DESCRIPTION")
protected String description;
@XmlElement(name = "URL_LINK", required = true)
protected List urlLinks;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the urlLinks property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the urlLinks property.
*
*
* For example, to add a new item, do as follows:
*
* getUrlLinks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ReferenceAssemblyType.Custom.UrlLink }
*
*
*/
public List getUrlLinks() {
if (urlLinks == null) {
urlLinks = new ArrayList();
}
return this.urlLinks;
}
/**
* 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" minOccurs="0"/>
* <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")
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;
}
}
}
/**
* 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">
* <attribute name="refname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="accession" type="{http://www.w3.org/2001/XMLSchema}token" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Standard {
@XmlAttribute(name = "refname")
protected String refname;
@XmlAttribute(name = "accession")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String accession;
/**
* Gets the value of the refname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRefname() {
return refname;
}
/**
* Sets the value of the refname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRefname(String value) {
this.refname = value;
}
/**
* Gets the value of the accession property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccession() {
return accession;
}
/**
* Sets the value of the accession property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccession(String value) {
this.accession = value;
}
}
}