/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* Copyright (c) 2013, MPL CodeInside http://codeinside.ru
*/
package ru.roskazna.xsd.requesttemplate;
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.datatype.XMLGregorianCalendar;
import ru.roskazna.xsd.pgu_datarequest.DataRequest;
import ru.roskazna.xsd.postblock.PostBlock;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestTemplate", propOrder = {
"postBlock",
"startDate",
"endDate"
})
@XmlSeeAlso({
DataRequest.class
})
public class RequestTemplate {
@XmlElement(name = "PostBlock", required = true)
protected PostBlock postBlock;
@XmlElement(name = "StartDate")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar startDate;
@XmlElement(name = "EndDate")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar endDate;
@XmlAttribute(name = "kind")
protected String kind;
/**
* Gets the value of the postBlock property.
*
* @return
* possible object is
* {@link PostBlock }
*
*/
public PostBlock getPostBlock() {
return postBlock;
}
/**
* Sets the value of the postBlock property.
*
* @param value
* allowed object is
* {@link PostBlock }
*
*/
public void setPostBlock(PostBlock value) {
this.postBlock = value;
}
/**
* Gets the value of the startDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDate() {
return startDate;
}
/**
* Sets the value of the startDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setStartDate(XMLGregorianCalendar value) {
this.startDate = value;
}
/**
* Gets the value of the endDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEndDate() {
return endDate;
}
/**
* Sets the value of the endDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setEndDate(XMLGregorianCalendar value) {
this.endDate = value;
}
/**
* Gets the value of the kind property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKind() {
return kind;
}
/**
* Sets the value of the kind property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKind(String value) {
this.kind = value;
}
}