// // 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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for patient_setType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="patient_setType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="cohort_patient" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="set_index" type="{http://i2b2.mgh.harvard.edu/querytool}set_indexType"/> * <element name="patient_num" type="{http://i2b2.mgh.harvard.edu/querytool}patient_numType"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="patient_set_coll_id" use="required" type="{http://i2b2.mgh.harvard.edu/querytool}patient_set_coll_idType" /> * <attribute name="result_instance_id" type="{http://i2b2.mgh.harvard.edu/querytool}result_instance_idType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "patient_setType", propOrder = { "cohortPatient" }) public class PatientSetType { @XmlElement(name = "cohort_patient", required = true) protected List<PatientSetType.CohortPatient> cohortPatient; @XmlAttribute(name = "patient_set_coll_id", required = true) protected int patientSetCollId; @XmlAttribute(name = "result_instance_id") protected Integer resultInstanceId; /** * Gets the value of the cohortPatient 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 cohortPatient property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCohortPatient().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link PatientSetType.CohortPatient } * * */ public List<PatientSetType.CohortPatient> getCohortPatient() { if (cohortPatient == null) { cohortPatient = new ArrayList<PatientSetType.CohortPatient>(); } return this.cohortPatient; } /** * Gets the value of the patientSetCollId property. * */ public int getPatientSetCollId() { return patientSetCollId; } /** * Sets the value of the patientSetCollId property. * */ public void setPatientSetCollId(int value) { this.patientSetCollId = value; } /** * Gets the value of the resultInstanceId property. * * @return * possible object is * {@link Integer } * */ public Integer getResultInstanceId() { return resultInstanceId; } /** * Sets the value of the resultInstanceId property. * * @param value * allowed object is * {@link Integer } * */ public void setResultInstanceId(Integer value) { this.resultInstanceId = value; } /** * <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="set_index" type="{http://i2b2.mgh.harvard.edu/querytool}set_indexType"/> * <element name="patient_num" type="{http://i2b2.mgh.harvard.edu/querytool}patient_numType"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "setIndex", "patientNum" }) public static class CohortPatient { @XmlElement(name = "set_index") protected int setIndex; @XmlElement(name = "patient_num") protected int patientNum; /** * Gets the value of the setIndex property. * */ public int getSetIndex() { return setIndex; } /** * Sets the value of the setIndex property. * */ public void setSetIndex(int value) { this.setIndex = value; } /** * Gets the value of the patientNum property. * */ public int getPatientNum() { return patientNum; } /** * Sets the value of the patientNum property. * */ public void setPatientNum(int value) { this.patientNum = value; } } }