//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.10.27 at 11:21:39 AM EDT
//
package 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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="message_body" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}header"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}request"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}response"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}sql"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"messageBody"
})
@XmlRootElement(name = "examples")
public class Examples {
@XmlElement(name = "message_body", required = true)
protected List<Examples.MessageBody> messageBody;
/**
* Gets the value of the messageBody property.
*
* <p>
* 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 <CODE>set</CODE> method for the messageBody property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getMessageBody().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Examples.MessageBody }
*
*
*/
public List<Examples.MessageBody> getMessageBody() {
if (messageBody == null) {
messageBody = new ArrayList<Examples.MessageBody>();
}
return this.messageBody;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}header"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}request"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}response"/>
* <element ref="{http://i2b2.mgh.harvard.edu/querytool}sql"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"header",
"request",
"response",
"sql"
})
public static class MessageBody {
@XmlElement(namespace = "http://i2b2.mgh.harvard.edu/querytool", required = true)
protected HeaderType header;
@XmlElement(namespace = "http://i2b2.mgh.harvard.edu/querytool", required = true)
protected RequestType request;
@XmlElement(namespace = "http://i2b2.mgh.harvard.edu/querytool", required = true)
protected ResponseType response;
@XmlElement(namespace = "http://i2b2.mgh.harvard.edu/querytool", required = true)
protected String sql;
/**
* Gets the value of the header property.
*
* @return
* possible object is
* {@link HeaderType }
*
*/
public HeaderType getHeader() {
return header;
}
/**
* Sets the value of the header property.
*
* @param value
* allowed object is
* {@link HeaderType }
*
*/
public void setHeader(HeaderType value) {
this.header = value;
}
/**
* Gets the value of the request property.
*
* @return
* possible object is
* {@link RequestType }
*
*/
public RequestType getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is
* {@link RequestType }
*
*/
public void setRequest(RequestType value) {
this.request = value;
}
/**
* Gets the value of the response property.
*
* @return
* possible object is
* {@link ResponseType }
*
*/
public ResponseType getResponse() {
return response;
}
/**
* Sets the value of the response property.
*
* @param value
* allowed object is
* {@link ResponseType }
*
*/
public void setResponse(ResponseType value) {
this.response = value;
}
/**
* Gets the value of the sql property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSql() {
return sql;
}
/**
* Sets the value of the sql property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSql(String value) {
this.sql = value;
}
}
}