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