1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
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.XmlType;
11 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
12
13
14 /**
15 *
16 *
17 * <p>Java class for GetAlertRegistrationsResponseMsg complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="GetAlertRegistrationsResponseMsg">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
27 * <element name="items" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}SLAregistration" maxOccurs="unbounded" minOccurs="0"/>
28 * </sequence>
29 * </restriction>
30 * </complexContent>
31 * </complexType>
32 * </pre>
33 *
34 *
35 */
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "GetAlertRegistrationsResponseMsg", propOrder = {
38 "classification",
39 "items"
40 })
41 public class GetAlertRegistrationsResponseMsg
42 implements Serializable
43 {
44
45 private final static long serialVersionUID = 1L;
46 @XmlElement(required = true)
47 protected SecurityWrapper classification;
48 protected List<SLAregistration> items;
49
50 /**
51 * Gets the value of the classification property.
52 *
53 * @return
54 * possible object is
55 * {@link SecurityWrapper }
56 *
57 */
58 public SecurityWrapper getClassification() {
59 return classification;
60 }
61
62 /**
63 * Sets the value of the classification property.
64 *
65 * @param value
66 * allowed object is
67 * {@link SecurityWrapper }
68 *
69 */
70 public void setClassification(SecurityWrapper value) {
71 this.classification = value;
72 }
73
74 public boolean isSetClassification() {
75 return (this.classification!= null);
76 }
77
78 /**
79 * Gets the value of the items property.
80 *
81 * <p>
82 * This accessor method returns a reference to the live list,
83 * not a snapshot. Therefore any modification you make to the
84 * returned list will be present inside the JAXB object.
85 * This is why there is not a <CODE>set</CODE> method for the items property.
86 *
87 * <p>
88 * For example, to add a new item, do as follows:
89 * <pre>
90 * getItems().add(newItem);
91 * </pre>
92 *
93 *
94 * <p>
95 * Objects of the following type(s) are allowed in the list
96 * {@link SLAregistration }
97 *
98 *
99 */
100 public List<SLAregistration> getItems() {
101 if (items == null) {
102 items = new ArrayList<SLAregistration>();
103 }
104 return this.items;
105 }
106
107 public boolean isSetItems() {
108 return ((this.items!= null)&&(!this.items.isEmpty()));
109 }
110
111 public void unsetItems() {
112 this.items = null;
113 }
114
115 }