1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
9 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
10
11
12 /**
13 *
14 * request message, sets or replaces the specific parameters, items not specified will not be affected requires write access
15 *
16 *
17 * <p>Java class for SetCredentialsRequestMsg complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="SetCredentialsRequestMsg">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
27 * <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
28 * <element name="style" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}TransportAuthenticationStyle"/>
29 * <element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="password" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="passwordEncrypted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
32 * </sequence>
33 * </restriction>
34 * </complexContent>
35 * </complexType>
36 * </pre>
37 *
38 *
39 */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "SetCredentialsRequestMsg", propOrder = {
42 "classification",
43 "url",
44 "style",
45 "username",
46 "password",
47 "passwordEncrypted"
48 })
49 public class SetCredentialsRequestMsg
50 implements Serializable
51 {
52
53 private final static long serialVersionUID = 1L;
54 @XmlElement(required = true, nillable = true)
55 protected SecurityWrapper classification;
56 @XmlElement(required = true)
57 protected String url;
58 @XmlElement(required = true, defaultValue = "NA")
59 protected TransportAuthenticationStyle style;
60 @XmlElement(required = true)
61 protected String username;
62 @XmlElement(required = true)
63 protected String password;
64 protected boolean passwordEncrypted;
65
66 /**
67 * Gets the value of the classification property.
68 *
69 * @return
70 * possible object is
71 * {@link SecurityWrapper }
72 *
73 */
74 public SecurityWrapper getClassification() {
75 return classification;
76 }
77
78 /**
79 * Sets the value of the classification property.
80 *
81 * @param value
82 * allowed object is
83 * {@link SecurityWrapper }
84 *
85 */
86 public void setClassification(SecurityWrapper value) {
87 this.classification = value;
88 }
89
90 public boolean isSetClassification() {
91 return (this.classification!= null);
92 }
93
94 /**
95 * Gets the value of the url property.
96 *
97 * @return
98 * possible object is
99 * {@link String }
100 *
101 */
102 public String getUrl() {
103 return url;
104 }
105
106 /**
107 * Sets the value of the url property.
108 *
109 * @param value
110 * allowed object is
111 * {@link String }
112 *
113 */
114 public void setUrl(String value) {
115 this.url = value;
116 }
117
118 public boolean isSetUrl() {
119 return (this.url!= null);
120 }
121
122 /**
123 * Gets the value of the style property.
124 *
125 * @return
126 * possible object is
127 * {@link TransportAuthenticationStyle }
128 *
129 */
130 public TransportAuthenticationStyle getStyle() {
131 return style;
132 }
133
134 /**
135 * Sets the value of the style property.
136 *
137 * @param value
138 * allowed object is
139 * {@link TransportAuthenticationStyle }
140 *
141 */
142 public void setStyle(TransportAuthenticationStyle value) {
143 this.style = value;
144 }
145
146 public boolean isSetStyle() {
147 return (this.style!= null);
148 }
149
150 /**
151 * Gets the value of the username property.
152 *
153 * @return
154 * possible object is
155 * {@link String }
156 *
157 */
158 public String getUsername() {
159 return username;
160 }
161
162 /**
163 * Sets the value of the username property.
164 *
165 * @param value
166 * allowed object is
167 * {@link String }
168 *
169 */
170 public void setUsername(String value) {
171 this.username = value;
172 }
173
174 public boolean isSetUsername() {
175 return (this.username!= null);
176 }
177
178 /**
179 * Gets the value of the password property.
180 *
181 * @return
182 * possible object is
183 * {@link String }
184 *
185 */
186 public String getPassword() {
187 return password;
188 }
189
190 /**
191 * Sets the value of the password property.
192 *
193 * @param value
194 * allowed object is
195 * {@link String }
196 *
197 */
198 public void setPassword(String value) {
199 this.password = value;
200 }
201
202 public boolean isSetPassword() {
203 return (this.password!= null);
204 }
205
206 /**
207 * Gets the value of the passwordEncrypted property.
208 *
209 */
210 public boolean isPasswordEncrypted() {
211 return passwordEncrypted;
212 }
213
214 /**
215 * Sets the value of the passwordEncrypted property.
216 *
217 */
218 public void setPasswordEncrypted(boolean value) {
219 this.passwordEncrypted = value;
220 }
221
222 public boolean isSetPasswordEncrypted() {
223 return true;
224 }
225
226 }