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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "SetAlertRegistrationsRequestMsg", propOrder = {
40 "classification",
41 "items"
42 })
43 public class SetAlertRegistrationsRequestMsg
44 implements Serializable
45 {
46
47 private final static long serialVersionUID = 1L;
48 @XmlElement(required = true)
49 protected SecurityWrapper classification;
50 protected List<SLAregistration> items;
51
52
53
54
55
56
57
58
59
60 public SecurityWrapper getClassification() {
61 return classification;
62 }
63
64
65
66
67
68
69
70
71
72 public void setClassification(SecurityWrapper value) {
73 this.classification = value;
74 }
75
76 public boolean isSetClassification() {
77 return (this.classification!= null);
78 }
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102 public List<SLAregistration> getItems() {
103 if (items == null) {
104 items = new ArrayList<SLAregistration>();
105 }
106 return this.items;
107 }
108
109 public boolean isSetItems() {
110 return ((this.items!= null)&&(!this.items.isEmpty()));
111 }
112
113 public void unsetItems() {
114 this.items = null;
115 }
116
117 }