All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nmdp.ngs.hml.jaxb.ReferenceDatabase Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
//
// 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.03 at 09:54:38 AM CDT 
//


package org.nmdp.ngs.hml.jaxb;

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.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
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;


/**
 * 

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="reference-sequence" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *                 <attribute name="name">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <minLength value="1"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="description">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <minLength value="1"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="start" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
 *                 <attribute name="end" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
 *                 <attribute name="accession">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <minLength value="1"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="strand">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="-1"/>
 *                       <enumeration value="1"/>
 *                       <enumeration value="+"/>
 *                       <enumeration value="-"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="name">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="description">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="version">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="availability" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="public"/>
 *             <enumeration value="private"/>
 *             <enumeration value="none"/>
 *             <enumeration value="PUBLIC"/>
 *             <enumeration value="PRIVATE"/>
 *             <enumeration value="NONE"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="curated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "referenceSequence" }) @XmlRootElement(name = "reference-database") public class ReferenceDatabase { @XmlElement(name = "reference-sequence", required = true) protected List referenceSequence; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "description") protected String description; @XmlAttribute(name = "version") protected String version; @XmlAttribute(name = "availability", required = true) protected String availability; @XmlAttribute(name = "curated") protected Boolean curated; @XmlAttribute(name = "uri") @XmlSchemaType(name = "anyURI") protected String uri; /** * Gets the value of the referenceSequence 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 referenceSequence property. * *

* For example, to add a new item, do as follows: *

     *    getReferenceSequence().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ReferenceDatabase.ReferenceSequence } * * */ public List getReferenceSequence() { if (referenceSequence == null) { referenceSequence = new ArrayList(); } return this.referenceSequence; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * 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 version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the availability property. * * @return * possible object is * {@link String } * */ public String getAvailability() { return availability; } /** * Sets the value of the availability property. * * @param value * allowed object is * {@link String } * */ public void setAvailability(String value) { this.availability = value; } /** * Gets the value of the curated property. * * @return * possible object is * {@link Boolean } * */ public boolean isCurated() { if (curated == null) { return true; } else { return curated; } } /** * Sets the value of the curated property. * * @param value * allowed object is * {@link Boolean } * */ public void setCurated(Boolean value) { this.curated = value; } /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = 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="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     *       <attribute name="name">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <minLength value="1"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="description">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <minLength value="1"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="start" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
     *       <attribute name="end" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
     *       <attribute name="accession">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <minLength value="1"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="strand">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="-1"/>
     *             <enumeration value="1"/>
     *             <enumeration value="+"/>
     *             <enumeration value="-"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class ReferenceSequence { @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "description") protected String description; @XmlAttribute(name = "start") protected Long start; @XmlAttribute(name = "end") protected Long end; @XmlAttribute(name = "accession") protected String accession; @XmlAttribute(name = "strand") protected String strand; @XmlAttribute(name = "uri") @XmlSchemaType(name = "anyURI") protected String uri; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * 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 start property. * * @return * possible object is * {@link Long } * */ public Long getStart() { return start; } /** * Sets the value of the start property. * * @param value * allowed object is * {@link Long } * */ public void setStart(Long value) { this.start = value; } /** * Gets the value of the end property. * * @return * possible object is * {@link Long } * */ public Long getEnd() { return end; } /** * Sets the value of the end property. * * @param value * allowed object is * {@link Long } * */ public void setEnd(Long value) { this.end = 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; } /** * Gets the value of the strand property. * * @return * possible object is * {@link String } * */ public String getStrand() { return strand; } /** * Sets the value of the strand property. * * @param value * allowed object is * {@link String } * */ public void setStrand(String value) { this.strand = value; } /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy