Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
203 brianR 1
 
2
3
 
4
import java.util.HashMap;
5
import java.util.List;
6
import java.util.Map;
7
import javax.xml.bind.annotation.XmlAccessType;
8
import javax.xml.bind.annotation.XmlAccessorType;
9
import javax.xml.bind.annotation.XmlAnyAttribute;
10
import javax.xml.bind.annotation.XmlAnyElement;
11
import javax.xml.bind.annotation.XmlElement;
12
import javax.xml.bind.annotation.XmlType;
13
import javax.xml.namespace.QName;
14
import org.w3c.dom.Element;
15
16
 
17
 
18
 * <p>Java-Klasse für ALFSecurityType complex type.
19
 *
20
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
21
 *
22
 * <pre>
23
 * &lt;complexType name="ALFSecurityType">
24
 *   &lt;complexContent>
25
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26
 *       &lt;sequence>
27
 *         &lt;element name="UsernameToken">
28
 *           &lt;complexType>
29
 *             &lt;complexContent>
30
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *                 &lt;sequence>
32
 *                   &lt;element name="Username" type="{http://www.w3.org/2001/XMLSchema}string"/>
33
 *                   &lt;element name="Password" type="{http://www.w3.org/2001/XMLSchema}string"/>
34
 *                   &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
35
 *                 &lt;/sequence>
36
 *                 &lt;anyAttribute/>
37
 *               &lt;/restriction>
38
 *             &lt;/complexContent>
39
 *           &lt;/complexType>
40
 *         &lt;/element>
41
 *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
42
 *       &lt;/sequence>
43
 *     &lt;/restriction>
44
 *   &lt;/complexContent>
45
 * &lt;/complexType>
46
 * </pre>
47
 *
48
 *
49
 */
50
@XmlAccessorType(XmlAccessType.FIELD)
51
@XmlType(name = "ALFSecurityType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
52
    "usernameToken",
53
    "any"
54
})
55
public class ALFSecurityType {
56
57
 
58
    protected ALFSecurityType.UsernameToken usernameToken;
59
    @XmlAnyElement(lax = true)
60
    protected List<Object> any;
61
62
 
63
     * Ruft den Wert der usernameToken-Eigenschaft ab.
64
     *
65
     * @return
66
     *     possible object is
67
     *     {@link ALFSecurityType.UsernameToken }
68
     *
69
     */
70
    public ALFSecurityType.UsernameToken getUsernameToken() {
71
        return usernameToken;
72
    }
73
74
 
75
     * Legt den Wert der usernameToken-Eigenschaft fest.
76
     *
77
     * @param value
78
     *     allowed object is
79
     *     {@link ALFSecurityType.UsernameToken }
80
     *
81
     */
82
    public void setUsernameToken(ALFSecurityType.UsernameToken value) {
83
        this.usernameToken = value;
84
    }
85
86
 
87
     * Gets the value of the any property.
88
     *
89
     * <p>
90
     * This accessor method returns a reference to the live list,
91
     * not a snapshot. Therefore any modification you make to the
92
     * returned list will be present inside the JAXB object.
93
     * This is why there is not a <CODE>set</CODE> method for the any property.
94
     *
95
     * <p>
96
     * For example, to add a new item, do as follows:
97
     * <pre>
98
     *    getAny().add(newItem);
99
     * </pre>
100
     *
101
     *
102
     * <p>
103
     * Objects of the following type(s) are allowed in the list
104
     * {@link Element }
105
     * {@link Object }
106
     *
107
     *
108
     */
109
    public List<Object> getAny() {
110
        if (any == null) {
111
            any = new ArrayList<Object>();
112
        }
113
        return this.any;
114
    }
115
116
 
117
 
118
     * <p>Java-Klasse für anonymous complex type.
119
     *
120
     * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
121
     *
122
     * <pre>
123
     * &lt;complexType>
124
     *   &lt;complexContent>
125
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
126
     *       &lt;sequence>
127
     *         &lt;element name="Username" type="{http://www.w3.org/2001/XMLSchema}string"/>
128
     *         &lt;element name="Password" type="{http://www.w3.org/2001/XMLSchema}string"/>
129
     *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
130
     *       &lt;/sequence>
131
     *       &lt;anyAttribute/>
132
     *     &lt;/restriction>
133
     *   &lt;/complexContent>
134
     * &lt;/complexType>
135
     * </pre>
136
     *
137
     *
138
     */
139
    @XmlAccessorType(XmlAccessType.FIELD)
140
    @XmlType(name = "", propOrder = {
141
        "username",
142
        "password",
143
        "any"
144
    })
145
    public static class UsernameToken {
146
147
 
148
        protected String username;
149
        @XmlElement(name = "Password", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
150
        protected String password;
151
        @XmlAnyElement(lax = true)
152
        protected List<Object> any;
153
        @XmlAnyAttribute
154
        private Map<QName, String> otherAttributes = new HashMap<QName, String>();
155
156
 
157
         * Ruft den Wert der username-Eigenschaft ab.
158
         *
159
         * @return
160
         *     possible object is
161
         *     {@link String }
162
         *
163
         */
164
        public String getUsername() {
165
            return username;
166
        }
167
168
 
169
         * Legt den Wert der username-Eigenschaft fest.
170
         *
171
         * @param value
172
         *     allowed object is
173
         *     {@link String }
174
         *
175
         */
176
        public void setUsername(String value) {
177
            this.username = value;
178
        }
179
180
 
181
         * Ruft den Wert der password-Eigenschaft ab.
182
         *
183
         * @return
184
         *     possible object is
185
         *     {@link String }
186
         *
187
         */
188
        public String getPassword() {
189
            return password;
190
        }
191
192
 
193
         * Legt den Wert der password-Eigenschaft fest.
194
         *
195
         * @param value
196
         *     allowed object is
197
         *     {@link String }
198
         *
199
         */
200
        public void setPassword(String value) {
201
            this.password = value;
202
        }
203
204
 
205
         * Gets the value of the any property.
206
         *
207
         * <p>
208
         * This accessor method returns a reference to the live list,
209
         * not a snapshot. Therefore any modification you make to the
210
         * returned list will be present inside the JAXB object.
211
         * This is why there is not a <CODE>set</CODE> method for the any property.
212
         *
213
         * <p>
214
         * For example, to add a new item, do as follows:
215
         * <pre>
216
         *    getAny().add(newItem);
217
         * </pre>
218
         *
219
         *
220
         * <p>
221
         * Objects of the following type(s) are allowed in the list
222
         * {@link Element }
223
         * {@link Object }
224
         *
225
         *
226
         */
227
        public List<Object> getAny() {
228
            if (any == null) {
229
                any = new ArrayList<Object>();
230
            }
231
            return this.any;
232
        }
233
234
 
235
         * Gets a map that contains attributes that aren't bound to any typed property on this class.
236
         *
237
         * <p>
238
         * the map is keyed by the name of the attribute and
239
         * the value is the string value of the attribute.
240
         *
241
         * the map returned by this method is live, and you can add new attribute
242
         * by updating the map directly. Because of this design, there's no setter.
243
         *
244
         *
245
         * @return
246
         *     always non-null
247
         */
248
        public Map<QName, String> getOtherAttributes() {
249
            return otherAttributes;
250
        }
251
252
 
253
254
 
255