uk.gov.legislation.namespaces.metadata.ComingIntoForce Maven / Gradle / Ivy
Show all versions of legislation-gov-uk Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.08.07 at 06:17:52 PM CEST
//
package uk.gov.legislation.namespaces.metadata;
import javax.xml.bind.annotation.*;
import javax.xml.datatype.XMLGregorianCalendar;
import java.util.ArrayList;
import java.util.List;
/**
* 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 maxOccurs="unbounded">
* <element name="DateTime">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Date" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
* <attribute name="Time" type="{http://www.w3.org/2001/XMLSchema}time" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"dateTimes"
})
@XmlRootElement(name = "ComingIntoForce")
public class ComingIntoForce {
@XmlElement(name = "DateTime", required = true)
protected List dateTimes;
/**
* Gets the value of the dateTimes 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 dateTimes property.
*
*
* For example, to add a new item, do as follows:
*
* getDateTimes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ComingIntoForce.DateTime }
*
*
*/
public List getDateTimes() {
if (dateTimes == null) {
dateTimes = new ArrayList<>();
}
return this.dateTimes;
}
/**
* 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="Date" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
* <attribute name="Time" type="{http://www.w3.org/2001/XMLSchema}time" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DateTime {
@XmlAttribute(name = "Date", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
@XmlAttribute(name = "Time")
@XmlSchemaType(name = "time")
protected XMLGregorianCalendar time;
/**
* 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;
}
}
}