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

edu.wustl.nrg.xnat.ExperimentData Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.09.16 at 05:54:20 PM EDT 
//


package edu.wustl.nrg.xnat;

/*-
 * #%L
 * XNAT Data Source Backend
 * %%
 * Copyright (C) 2015 - 2016 Emory University
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

import java.math.BigInteger;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * A specific individual event in which primary data is obtained
 * 
 * 

Java class for experimentData complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="experimentData">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence minOccurs="0">
 *         <element name="sharing" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence minOccurs="0">
 *                   <element name="share" maxOccurs="unbounded" minOccurs="0">
 *                     <complexType>
 *                       <simpleContent>
 *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                           <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="project" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="visit" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </extension>
 *                       </simpleContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="date" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
 *         <element name="duration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
 *         <element name="delay" minOccurs="0">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://www.w3.org/2001/XMLSchema>integer">
 *                 <attribute name="ref_expt_id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *         <element name="note" minOccurs="0">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <maxLength value="1500"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <element name="investigator" type="{http://nrg.wustl.edu/xnat}investigatorData" minOccurs="0"/>
 *         <element name="validation" type="{http://nrg.wustl.edu/xnat}validationData" minOccurs="0"/>
 *         <element name="resources" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="resource" type="{http://nrg.wustl.edu/xnat}abstractResource" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="fields" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence minOccurs="0">
 *                   <element name="field" maxOccurs="unbounded" minOccurs="0">
 *                     <complexType>
 *                       <simpleContent>
 *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
 *                           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </extension>
 *                       </simpleContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="acquisition_site" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="project" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="visit_id" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="visit" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *       <attribute name="original" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "experimentData", propOrder = { "sharing", "date", "time", "duration", "delay", "note", "investigator", "validation", "resources", "fields", "acquisitionSite" }) @XmlSeeAlso({ GenericData.class, SubjectAssessorData.class, DerivedData.class }) public class ExperimentData { protected ExperimentData.Sharing sharing; @XmlSchemaType(name = "date") protected XMLGregorianCalendar date; @XmlSchemaType(name = "time") protected XMLGregorianCalendar time; protected Duration duration; protected ExperimentData.Delay delay; protected String note; protected InvestigatorData investigator; protected ValidationData validation; protected ExperimentData.Resources resources; protected ExperimentData.Fields fields; @XmlElement(name = "acquisition_site") protected String acquisitionSite; @XmlAttribute(name = "ID", required = true) protected String id; @XmlAttribute(name = "project") protected String project; @XmlAttribute(name = "visit_id") protected String visitId; @XmlAttribute(name = "visit") protected String visit; @XmlAttribute(name = "version") protected BigInteger version; @XmlAttribute(name = "original") protected String original; @XmlAttribute(name = "protocol") protected String protocol; @XmlAttribute(name = "label") protected String label; /** * Gets the value of the sharing property. * * @return * possible object is * {@link ExperimentData.Sharing } * */ public ExperimentData.Sharing getSharing() { return sharing; } /** * Sets the value of the sharing property. * * @param value * allowed object is * {@link ExperimentData.Sharing } * */ public void setSharing(ExperimentData.Sharing value) { this.sharing = value; } /** * Gets the value of the date property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDate(XMLGregorianCalendar value) { this.date = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTime(XMLGregorianCalendar value) { this.time = value; } /** * Gets the value of the duration property. * * @return * possible object is * {@link Duration } * */ public Duration getDuration() { return duration; } /** * Sets the value of the duration property. * * @param value * allowed object is * {@link Duration } * */ public void setDuration(Duration value) { this.duration = value; } /** * Gets the value of the delay property. * * @return * possible object is * {@link ExperimentData.Delay } * */ public ExperimentData.Delay getDelay() { return delay; } /** * Sets the value of the delay property. * * @param value * allowed object is * {@link ExperimentData.Delay } * */ public void setDelay(ExperimentData.Delay value) { this.delay = value; } /** * Gets the value of the note property. * * @return * possible object is * {@link String } * */ public String getNote() { return note; } /** * Sets the value of the note property. * * @param value * allowed object is * {@link String } * */ public void setNote(String value) { this.note = value; } /** * Gets the value of the investigator property. * * @return * possible object is * {@link InvestigatorData } * */ public InvestigatorData getInvestigator() { return investigator; } /** * Sets the value of the investigator property. * * @param value * allowed object is * {@link InvestigatorData } * */ public void setInvestigator(InvestigatorData value) { this.investigator = value; } /** * Gets the value of the validation property. * * @return * possible object is * {@link ValidationData } * */ public ValidationData getValidation() { return validation; } /** * Sets the value of the validation property. * * @param value * allowed object is * {@link ValidationData } * */ public void setValidation(ValidationData value) { this.validation = value; } /** * Gets the value of the resources property. * * @return * possible object is * {@link ExperimentData.Resources } * */ public ExperimentData.Resources getResources() { return resources; } /** * Sets the value of the resources property. * * @param value * allowed object is * {@link ExperimentData.Resources } * */ public void setResources(ExperimentData.Resources value) { this.resources = value; } /** * Gets the value of the fields property. * * @return * possible object is * {@link ExperimentData.Fields } * */ public ExperimentData.Fields getFields() { return fields; } /** * Sets the value of the fields property. * * @param value * allowed object is * {@link ExperimentData.Fields } * */ public void setFields(ExperimentData.Fields value) { this.fields = value; } /** * Gets the value of the acquisitionSite property. * * @return * possible object is * {@link String } * */ public String getAcquisitionSite() { return acquisitionSite; } /** * Sets the value of the acquisitionSite property. * * @param value * allowed object is * {@link String } * */ public void setAcquisitionSite(String value) { this.acquisitionSite = value; } /** * 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 project property. * * @return * possible object is * {@link String } * */ public String getProject() { return project; } /** * Sets the value of the project property. * * @param value * allowed object is * {@link String } * */ public void setProject(String value) { this.project = value; } /** * Gets the value of the visitId property. * * @return * possible object is * {@link String } * */ public String getVisitId() { return visitId; } /** * Sets the value of the visitId property. * * @param value * allowed object is * {@link String } * */ public void setVisitId(String value) { this.visitId = value; } /** * Gets the value of the visit property. * * @return * possible object is * {@link String } * */ public String getVisit() { return visit; } /** * Sets the value of the visit property. * * @param value * allowed object is * {@link String } * */ public void setVisit(String value) { this.visit = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link BigInteger } * */ public void setVersion(BigInteger value) { this.version = value; } /** * Gets the value of the original property. * * @return * possible object is * {@link String } * */ public String getOriginal() { return original; } /** * Sets the value of the original property. * * @param value * allowed object is * {@link String } * */ public void setOriginal(String value) { this.original = value; } /** * Gets the value of the protocol property. * * @return * possible object is * {@link String } * */ public String getProtocol() { return protocol; } /** * Sets the value of the protocol property. * * @param value * allowed object is * {@link String } * */ public void setProtocol(String value) { this.protocol = value; } /** * 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; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://www.w3.org/2001/XMLSchema>integer">
     *       <attribute name="ref_expt_id" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Delay { @XmlValue protected BigInteger value; @XmlAttribute(name = "ref_expt_id") protected String refExptId; /** * Gets the value of the value property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigInteger } * */ public void setValue(BigInteger value) { this.value = value; } /** * Gets the value of the refExptId property. * * @return * possible object is * {@link String } * */ public String getRefExptId() { return refExptId; } /** * Sets the value of the refExptId property. * * @param value * allowed object is * {@link String } * */ public void setRefExptId(String value) { this.refExptId = 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 minOccurs="0">
     *         <element name="field" maxOccurs="unbounded" minOccurs="0">
     *           <complexType>
     *             <simpleContent>
     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
     *                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </extension>
     *             </simpleContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "field" }) public static class Fields { protected List field; /** * Gets the value of the field 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 field property. * *

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

         *    getField().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ExperimentData.Fields.Field } * * */ public List getField() { if (field == null) { field = new ArrayList(); } return this.field; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <simpleContent>
         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
         *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </extension>
         *   </simpleContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Field { @XmlValue protected String value; @XmlAttribute(name = "name") protected String name; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = 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; } } } /** *

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="resource" type="{http://nrg.wustl.edu/xnat}abstractResource" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "resource" }) public static class Resources { protected List resource; /** * Gets the value of the resource 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 resource property. * *

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

         *    getResource().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AbstractResource } * * */ public List getResource() { if (resource == null) { resource = new ArrayList(); } return this.resource; } } /** *

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 minOccurs="0">
     *         <element name="share" maxOccurs="unbounded" minOccurs="0">
     *           <complexType>
     *             <simpleContent>
     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
     *                 <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="project" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="visit" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </extension>
     *             </simpleContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "share" }) public static class Sharing { protected List share; /** * Gets the value of the share 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 share property. * *

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

         *    getShare().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ExperimentData.Sharing.Share } * * */ public List getShare() { if (share == null) { share = new ArrayList(); } return this.share; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <simpleContent>
         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
         *       <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="project" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="visit" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </extension>
         *   </simpleContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Share { @XmlValue protected String value; @XmlAttribute(name = "label") protected String label; @XmlAttribute(name = "project") protected String project; @XmlAttribute(name = "visit") protected String visit; @XmlAttribute(name = "protocol") protected String protocol; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * 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 project property. * * @return * possible object is * {@link String } * */ public String getProject() { return project; } /** * Sets the value of the project property. * * @param value * allowed object is * {@link String } * */ public void setProject(String value) { this.project = value; } /** * Gets the value of the visit property. * * @return * possible object is * {@link String } * */ public String getVisit() { return visit; } /** * Sets the value of the visit property. * * @param value * allowed object is * {@link String } * */ public void setVisit(String value) { this.visit = value; } /** * Gets the value of the protocol property. * * @return * possible object is * {@link String } * */ public String getProtocol() { return protocol; } /** * Sets the value of the protocol property. * * @param value * allowed object is * {@link String } * */ public void setProtocol(String value) { this.protocol = value; } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy