edu.wustl.nrg.xnat.VolumetricRegion Maven / Gradle / Ivy
//
// 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.XmlType;
/**
* Generic volumetric region type
*
* Java class for volumetricRegion complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="volumetricRegion">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence minOccurs="0">
* <element name="subregions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="subregion" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="voxels" type="{http://www.w3.org/2001/XMLSchema}float" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="units" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="voxels" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="hemisphere">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="both"/>
* <enumeration value="left"/>
* <enumeration value="right"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "volumetricRegion", propOrder = {
"subregions"
})
public class VolumetricRegion {
protected VolumetricRegion.Subregions subregions;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "units")
protected String units;
@XmlAttribute(name = "voxels")
protected BigInteger voxels;
@XmlAttribute(name = "hemisphere")
protected String hemisphere;
/**
* Gets the value of the subregions property.
*
* @return
* possible object is
* {@link VolumetricRegion.Subregions }
*
*/
public VolumetricRegion.Subregions getSubregions() {
return subregions;
}
/**
* Sets the value of the subregions property.
*
* @param value
* allowed object is
* {@link VolumetricRegion.Subregions }
*
*/
public void setSubregions(VolumetricRegion.Subregions value) {
this.subregions = 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 units property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnits() {
return units;
}
/**
* Sets the value of the units property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnits(String value) {
this.units = value;
}
/**
* Gets the value of the voxels property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVoxels() {
return voxels;
}
/**
* Sets the value of the voxels property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVoxels(BigInteger value) {
this.voxels = value;
}
/**
* Gets the value of the hemisphere property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHemisphere() {
return hemisphere;
}
/**
* Sets the value of the hemisphere property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHemisphere(String value) {
this.hemisphere = 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="subregion" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="voxels" type="{http://www.w3.org/2001/XMLSchema}float" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"subregion"
})
public static class Subregions {
protected List subregion;
/**
* Gets the value of the subregion 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 subregion property.
*
*
* For example, to add a new item, do as follows:
*
* getSubregion().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VolumetricRegion.Subregions.Subregion }
*
*
*/
public List getSubregion() {
if (subregion == null) {
subregion = new ArrayList();
}
return this.subregion;
}
/**
* 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="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="voxels" type="{http://www.w3.org/2001/XMLSchema}float" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Subregion {
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "voxels")
protected Float voxels;
/**
* 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 voxels property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getVoxels() {
return voxels;
}
/**
* Sets the value of the voxels property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setVoxels(Float value) {
this.voxels = value;
}
}
}
}