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
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 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "ArrayOfSLA", propOrder = {
38 "sla"
39 })
40 public class ArrayOfSLA
41 implements Serializable
42 {
43
44 private final static long serialVersionUID = 1L;
45 @XmlElement(name = "SLA", required = false, nillable = true)
46 protected List<SLA> sla;
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 public List<SLA> getSLA() {
71 if (sla == null) {
72 sla = new ArrayList<SLA>();
73 }
74 return this.sla;
75 }
76
77 public boolean isSetSLA() {
78 return ((this.sla!= null)&&(!this.sla.isEmpty()));
79 }
80
81 public void unsetSLA() {
82 this.sla = null;
83 }
84
85 }