/* * 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.fccland.portal.types; 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.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "getEventsResponseMessageType", propOrder = { "events", "errorMessage" }) public class GetEventsResponseMessageType { protected List<Events> events; protected String errorMessage; /** * Gets the value of the events 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 events property. * * <p> * For example, to add a new item, do as follows: * <pre> * getEvents().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Events } * * */ public List<Events> getEvents() { if (events == null) { events = new ArrayList<Events>(); } return this.events; } /** * Gets the value of the errorMessage property. * * @return * possible object is * {@link String } * */ public String getErrorMessage() { return errorMessage; } /** * Sets the value of the errorMessage property. * * @param value * allowed object is * {@link String } * */ public void setErrorMessage(String value) { this.errorMessage = value; } }