package com.rapid_i.rapidhome.wsimport; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for statisticsReport complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="statisticsReport"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="records" type="{http://ws.rapidhome.rapid_i.com/}statisticsRecord" maxOccurs="unbounded" minOccurs="0"/> * <element name="reportId" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="to" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="userKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "statisticsReport", propOrder = { "from", "records", "reportId", "to", "userKey" }) public class StatisticsReport { @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar from; @XmlElement(nillable = true) protected List<StatisticsRecord> records; protected int reportId; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar to; protected String userKey; /** * Gets the value of the from property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getFrom() { return from; } /** * Sets the value of the from property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setFrom(XMLGregorianCalendar value) { this.from = value; } /** * Gets the value of the records property. * * <p> * 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 <CODE>set</CODE> method for the records property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRecords().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link StatisticsRecord } * * */ public List<StatisticsRecord> getRecords() { if (records == null) { records = new ArrayList<StatisticsRecord>(); } return this.records; } /** * Gets the value of the reportId property. * */ public int getReportId() { return reportId; } /** * Sets the value of the reportId property. * */ public void setReportId(int value) { this.reportId = value; } /** * Gets the value of the to property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTo() { return to; } /** * Sets the value of the to property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTo(XMLGregorianCalendar value) { this.to = value; } /** * Gets the value of the userKey property. * * @return * possible object is * {@link String } * */ public String getUserKey() { return userKey; } /** * Sets the value of the userKey property. * * @param value * allowed object is * {@link String } * */ public void setUserKey(String value) { this.userKey = value; } }