example.simpleraml08.Cats Maven / Gradle / Ivy
package example.simpleraml08;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
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.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="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="DateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date"/>
* <element name="Address" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HouseNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="PostCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Car" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Make" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Model" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name",
"dateOfBirth",
"address",
"car"
})
@XmlRootElement(name = "Cats")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public class Cats {
@XmlElement(name = "Name", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected String name;
@XmlElement(name = "DateOfBirth", required = true)
@XmlSchemaType(name = "date")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected XMLGregorianCalendar dateOfBirth;
@XmlElement(name = "Address")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected Cats.Address address;
@XmlElement(name = "Car")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected List car;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the dateOfBirth property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public XMLGregorianCalendar getDateOfBirth() {
return dateOfBirth;
}
/**
* Sets the value of the dateOfBirth property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setDateOfBirth(XMLGregorianCalendar value) {
this.dateOfBirth = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link Cats.Address }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public Cats.Address getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link Cats.Address }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setAddress(Cats.Address value) {
this.address = value;
}
/**
* Gets the value of the car 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 car property.
*
*
* For example, to add a new item, do as follows:
*
* getCar().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Cats.Car }
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public List getCar() {
if (car == null) {
car = new ArrayList();
}
return this.car;
}
/**
* 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="HouseNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="PostCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"houseNo",
"postCode"
})
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public static class Address {
@XmlElement(name = "HouseNo")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected int houseNo;
@XmlElement(name = "PostCode", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected String postCode;
/**
* Gets the value of the houseNo property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public int getHouseNo() {
return houseNo;
}
/**
* Sets the value of the houseNo property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setHouseNo(int value) {
this.houseNo = value;
}
/**
* Gets the value of the postCode property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public String getPostCode() {
return postCode;
}
/**
* Sets the value of the postCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setPostCode(String value) {
this.postCode = 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="Make" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Model" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"make",
"model"
})
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public static class Car {
@XmlElement(name = "Make", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected String make;
@XmlElement(name = "Model", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
protected String model;
/**
* Gets the value of the make property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public String getMake() {
return make;
}
/**
* Sets the value of the make property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setMake(String value) {
this.make = value;
}
/**
* Gets the value of the model property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public String getModel() {
return model;
}
/**
* Sets the value of the model property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-07T01:26:54+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-520")
public void setModel(String value) {
this.model = value;
}
}
}