1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
3
4 import java.io.Serializable;
5 import java.util.ArrayList;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlRootElement;
11 import javax.xml.bind.annotation.XmlType;
12
13
14 /**
15 * <p>Java class for anonymous complex type.
16 *
17 * <p>The following schema fragment specifies the expected content contained within this class.
18 *
19 * <pre>
20 * <complexType>
21 * <complexContent>
22 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23 * <sequence>
24 * <element name="GetAlertsResponse" type="{urn:org:miloss:fgsms:services:interfaces:dataAccessService}GetAlertsResponseMsg" maxOccurs="unbounded" minOccurs="0"/>
25 * </sequence>
26 * </restriction>
27 * </complexContent>
28 * </complexType>
29 * </pre>
30 *
31 *
32 */
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "", propOrder = {
35 "getAlertsResponse"
36 })
37 @XmlRootElement(name = "GetAlertsResponse")
38 public class GetAlertsResponse
39 implements Serializable
40 {
41
42 private final static long serialVersionUID = 1L;
43 @XmlElement(name = "GetAlertsResponse")
44 protected List<GetAlertsResponseMsg> getAlertsResponse;
45
46 /**
47 * Gets the value of the getAlertsResponse property.
48 *
49 * <p>
50 * This accessor method returns a reference to the live list,
51 * not a snapshot. Therefore any modification you make to the
52 * returned list will be present inside the JAXB object.
53 * This is why there is not a <CODE>set</CODE> method for the getAlertsResponse property.
54 *
55 * <p>
56 * For example, to add a new item, do as follows:
57 * <pre>
58 * getGetAlertsResponse().add(newItem);
59 * </pre>
60 *
61 *
62 * <p>
63 * Objects of the following type(s) are allowed in the list
64 * {@link GetAlertsResponseMsg }
65 *
66 *
67 */
68 public List<GetAlertsResponseMsg> getGetAlertsResponse() {
69 if (getAlertsResponse == null) {
70 getAlertsResponse = new ArrayList<GetAlertsResponseMsg>();
71 }
72 return this.getAlertsResponse;
73 }
74
75 public boolean isSetGetAlertsResponse() {
76 return ((this.getAlertsResponse!= null)&&(!this.getAlertsResponse.isEmpty()));
77 }
78
79 public void unsetGetAlertsResponse() {
80 this.getAlertsResponse = null;
81 }
82
83 }