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 = "GetDomainListResponseMsg", propOrder = {
40 "classification",
41 "domains"
42 })
43 public class GetDomainListResponseMsg
44 implements Serializable
45 {
46
47 private final static long serialVersionUID = 1L;
48 @XmlElement(required = true, nillable = true)
49 protected SecurityWrapper classification;
50 @XmlElement(name = "Domains")
51 protected List<String> domains;
52
53
54
55
56
57
58
59
60
61 public SecurityWrapper getClassification() {
62 return classification;
63 }
64
65
66
67
68
69
70
71
72
73 public void setClassification(SecurityWrapper value) {
74 this.classification = value;
75 }
76
77 public boolean isSetClassification() {
78 return (this.classification!= null);
79 }
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103 public List<String> getDomains() {
104 if (domains == null) {
105 domains = new ArrayList<String>();
106 }
107 return this.domains;
108 }
109
110 public boolean isSetDomains() {
111 return ((this.domains!= null)&&(!this.domains.isEmpty()));
112 }
113
114 public void unsetDomains() {
115 this.domains = null;
116 }
117
118 }