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
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "UserInfo", propOrder = {
41 "displayName",
42 "email",
43 "role",
44 "username"
45 })
46 public class UserInfo
47 implements Serializable
48 {
49
50 private final static long serialVersionUID = 1L;
51 @XmlElement(required = false, nillable = true)
52 protected String displayName;
53 @XmlElement(required = false, nillable = true)
54 protected List<String> email;
55 @XmlElement(required = true, nillable = true)
56 protected String role;
57 @XmlElement(required = true, nillable = true)
58 protected String username;
59
60
61
62
63
64
65
66
67
68 public String getDisplayName() {
69 return displayName;
70 }
71
72
73
74
75
76
77
78
79
80 public void setDisplayName(String value) {
81 this.displayName = value;
82 }
83
84 public boolean isSetDisplayName() {
85 return (this.displayName!= null);
86 }
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110 public List<String> getEmail() {
111 if (email == null) {
112 email = new ArrayList<String>();
113 }
114 return this.email;
115 }
116
117 public boolean isSetEmail() {
118 return ((this.email!= null)&&(!this.email.isEmpty()));
119 }
120
121 public void unsetEmail() {
122 this.email = null;
123 }
124
125
126
127
128
129
130
131
132
133 public String getRole() {
134 return role;
135 }
136
137
138
139
140
141
142
143
144
145 public void setRole(String value) {
146 this.role = value;
147 }
148
149 public boolean isSetRole() {
150 return (this.role!= null);
151 }
152
153
154
155
156
157
158
159
160
161 public String getUsername() {
162 return username;
163 }
164
165
166
167
168
169
170
171
172
173 public void setUsername(String value) {
174 this.username = value;
175 }
176
177 public boolean isSetUsername() {
178 return (this.username!= null);
179 }
180
181 }