org.nmdp.ngs.hml.jaxb.Hml 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.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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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="property" type="{http://schemas.nmdp.org/spec/hml/1.0.1}property" maxOccurs="unbounded" minOccurs="0"/>
* <element name="hmlid" type="{http://schemas.nmdp.org/spec/hml/1.0.1}hmlid" minOccurs="0"/>
* <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}reporting-center" minOccurs="0"/>
* <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}sample" maxOccurs="unbounded"/>
* <element name="typing-test-names" type="{http://schemas.nmdp.org/spec/hml/1.0.1}typing-test-names" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="version" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="1\.0\.[0-9]|1\.0"/>
* <maxLength value="5"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="project-name">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"property",
"hmlid",
"reportingCenter",
"sample",
"typingTestNames"
})
@XmlRootElement(name = "hml")
public class Hml {
protected List property;
protected Hmlid hmlid;
@XmlElement(name = "reporting-center")
protected ReportingCenter reportingCenter;
@XmlElement(required = true)
protected List sample;
@XmlElement(name = "typing-test-names")
protected List typingTestNames;
@XmlAttribute(name = "version", required = true)
protected String version;
@XmlAttribute(name = "project-name")
protected String projectName;
/**
* Gets the value of the property 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 property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
/**
* Gets the value of the hmlid property.
*
* @return
* possible object is
* {@link Hmlid }
*
*/
public Hmlid getHmlid() {
return hmlid;
}
/**
* Sets the value of the hmlid property.
*
* @param value
* allowed object is
* {@link Hmlid }
*
*/
public void setHmlid(Hmlid value) {
this.hmlid = value;
}
/**
* Gets the value of the reportingCenter property.
*
* @return
* possible object is
* {@link ReportingCenter }
*
*/
public ReportingCenter getReportingCenter() {
return reportingCenter;
}
/**
* Sets the value of the reportingCenter property.
*
* @param value
* allowed object is
* {@link ReportingCenter }
*
*/
public void setReportingCenter(ReportingCenter value) {
this.reportingCenter = value;
}
/**
* Gets the value of the sample 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 sample property.
*
*
* For example, to add a new item, do as follows:
*
* getSample().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Sample }
*
*
*/
public List getSample() {
if (sample == null) {
sample = new ArrayList();
}
return this.sample;
}
/**
* Gets the value of the typingTestNames 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 typingTestNames property.
*
*
* For example, to add a new item, do as follows:
*
* getTypingTestNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TypingTestNames }
*
*
*/
public List getTypingTestNames() {
if (typingTestNames == null) {
typingTestNames = new ArrayList();
}
return this.typingTestNames;
}
/**
* 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 projectName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProjectName() {
return projectName;
}
/**
* Sets the value of the projectName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProjectName(String value) {
this.projectName = value;
}
}