types.xsd.Multi Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.07.09 at 05:11:55 PM EDT
//
package types.xsd;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.HexBinaryAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* 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="single" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="str" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="int" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="long" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="datetime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="binary" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
* <element name="array" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"single"
})
@XmlRootElement(name = "multi")
public class Multi {
protected List single;
/**
* Gets the value of the single 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 single property.
*
*
* For example, to add a new item, do as follows:
*
* getSingle().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Multi.Single }
*
*
*/
public List getSingle() {
if (single == null) {
single = new ArrayList();
}
return this.single;
}
/**
* 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="str" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="int" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="long" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="datetime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="binary" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
* <element name="array" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"str",
"_int",
"_long",
"date",
"datetime",
"binary",
"array"
})
public static class Single {
@XmlElement(required = true)
protected String str;
@XmlElement(name = "int")
protected int _int;
@XmlElement(name = "long")
protected long _long;
@XmlElement(required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar datetime;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@XmlSchemaType(name = "hexBinary")
protected byte[] binary;
protected List array;
/**
* Gets the value of the str property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStr() {
return str;
}
/**
* Sets the value of the str property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStr(String value) {
this.str = value;
}
/**
* Gets the value of the int property.
*
*/
public int getInt() {
return _int;
}
/**
* Sets the value of the int property.
*
*/
public void setInt(int value) {
this._int = value;
}
/**
* Gets the value of the long property.
*
*/
public long getLong() {
return _long;
}
/**
* Sets the value of the long property.
*
*/
public void setLong(long value) {
this._long = 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 datetime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDatetime() {
return datetime;
}
/**
* Sets the value of the datetime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDatetime(XMLGregorianCalendar value) {
this.datetime = value;
}
/**
* Gets the value of the binary property.
*
* @return
* possible object is
* {@link String }
*
*/
public byte[] getBinary() {
return binary;
}
/**
* Sets the value of the binary property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBinary(byte[] value) {
this.binary = ((byte[]) value);
}
/**
* Gets the value of the array 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 array property.
*
*
* For example, to add a new item, do as follows:
*
* getArray().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getArray() {
if (array == null) {
array = new ArrayList();
}
return this.array;
}
}
}