Subversion Repositories XServices

Rev

Rev 201 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
201 brianR 1
 
2
3
 
4
import java.util.Map;
5
import javax.xml.bind.annotation.XmlAccessType;
6
import javax.xml.bind.annotation.XmlAccessorType;
7
import javax.xml.bind.annotation.XmlAnyAttribute;
8
import javax.xml.bind.annotation.XmlElement;
9
import javax.xml.bind.annotation.XmlSchemaType;
10
import javax.xml.bind.annotation.XmlType;
11
import javax.xml.datatype.XMLGregorianCalendar;
12
import javax.xml.namespace.QName;
13
14
 
15
 
16
 *
17
 *                 EventBaseType is a container for that portion of an ALF
18
 *                 Event that is generally set by the Tool that raises the
19
 *                 event.
20
 *
21
 *
22
 * <p>Java-Klasse für EventBaseType complex type.
23
 *
24
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
25
 *
26
 * <pre>
27
 * &lt;complexType name="EventBaseType">
28
 *   &lt;complexContent>
29
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30
 *       &lt;sequence>
31
 *         &lt;element name="EventId" type="{http://www.eclipse.org/alf/schema/EventBase/1}SourceEventIdType"/>
203 brianR 32
 *         &lt;element name="Timestamp" type="{http://www.eclipse.org/alf/schema/EventBase/1}TimestampType"/>
201 brianR 33
 *         &lt;element name="EventType" type="{http://www.eclipse.org/alf/schema/EventBase/1}EventTypeType"/>
34
 *         &lt;element name="ObjectType" type="{http://www.eclipse.org/alf/schema/EventBase/1}ObjectTypeType"/>
35
 *         &lt;element name="ObjectId" type="{http://www.eclipse.org/alf/schema/EventBase/1}ObjectIdType"/>
36
 *         &lt;element name="Source" type="{http://www.eclipse.org/alf/schema/EventBase/1}SourceType"/>
37
 *         &lt;element name="User" type="{http://www.eclipse.org/alf/schema/EventBase/1}CredentialsType"/>
38
 *         &lt;element name="EventControl" type="{http://www.eclipse.org/alf/schema/EventBase/1}EmBaseType" minOccurs="0"/>
39
 *         &lt;element name="BaseExtension" type="{http://www.eclipse.org/alf/schema/EventBase/1}BaseExtensionType" minOccurs="0"/>
40
 *       &lt;/sequence>
41
 *       &lt;anyAttribute/>
42
 *     &lt;/restriction>
43
 *   &lt;/complexContent>
44
 * &lt;/complexType>
45
 * </pre>
46
 *
47
 *
48
 */
49
@XmlAccessorType(XmlAccessType.FIELD)
50
@XmlType(name = "EventBaseType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
51
    "eventId",
52
    "timestamp",
53
    "eventType",
54
    "objectType",
55
    "objectId",
56
    "source",
57
    "user",
58
    "eventControl",
59
    "baseExtension"
60
})
61
public class EventBaseType {
62
63
 
64
    protected String eventId;
65
    @XmlElement(name = "Timestamp", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true, nillable = true)
203 brianR 66
    @XmlSchemaType(name = "dateTime")
201 brianR 67
    protected XMLGregorianCalendar timestamp;
68
    @XmlElement(name = "EventType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
69
    protected String eventType;
70
    @XmlElement(name = "ObjectType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
71
    protected String objectType;
72
    @XmlElement(name = "ObjectId", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
73
    protected String objectId;
74
    @XmlElement(name = "Source", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
75
    protected SourceType source;
76
    @XmlElement(name = "User", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", required = true)
77
    protected CredentialsType user;
78
    @XmlElement(name = "EventControl", namespace = "http://www.eclipse.org/alf/schema/EventBase/1")
79
    protected EmBaseType eventControl;
80
    @XmlElement(name = "BaseExtension", namespace = "http://www.eclipse.org/alf/schema/EventBase/1")
81
    protected BaseExtensionType baseExtension;
82
    @XmlAnyAttribute
83
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
84
85
 
86
     * Ruft den Wert der eventId-Eigenschaft ab.
87
     *
88
     * @return
89
     *     possible object is
90
     *     {@link String }
91
     *
92
     */
93
    public String getEventId() {
94
        return eventId;
95
    }
96
97
 
98
     * Legt den Wert der eventId-Eigenschaft fest.
99
     *
100
     * @param value
101
     *     allowed object is
102
     *     {@link String }
103
     *
104
     */
105
    public void setEventId(String value) {
106
        this.eventId = value;
107
    }
108
109
 
110
     * Ruft den Wert der timestamp-Eigenschaft ab.
111
     *
112
     * @return
113
     *     possible object is
114
     *     {@link XMLGregorianCalendar }
115
     *
116
     */
117
    public XMLGregorianCalendar getTimestamp() {
118
        return timestamp;
119
    }
120
121
 
122
     * Legt den Wert der timestamp-Eigenschaft fest.
123
     *
124
     * @param value
125
     *     allowed object is
126
     *     {@link XMLGregorianCalendar }
127
     *
128
     */
129
    public void setTimestamp(XMLGregorianCalendar value) {
130
        this.timestamp = value;
131
    }
132
133
 
134
     * Ruft den Wert der eventType-Eigenschaft ab.
135
     *
136
     * @return
137
     *     possible object is
138
     *     {@link String }
139
     *
140
     */
141
    public String getEventType() {
142
        return eventType;
143
    }
144
145
 
146
     * Legt den Wert der eventType-Eigenschaft fest.
147
     *
148
     * @param value
149
     *     allowed object is
150
     *     {@link String }
151
     *
152
     */
153
    public void setEventType(String value) {
154
        this.eventType = value;
155
    }
156
157
 
158
     * Ruft den Wert der objectType-Eigenschaft ab.
159
     *
160
     * @return
161
     *     possible object is
162
     *     {@link String }
163
     *
164
     */
165
    public String getObjectType() {
166
        return objectType;
167
    }
168
169
 
170
     * Legt den Wert der objectType-Eigenschaft fest.
171
     *
172
     * @param value
173
     *     allowed object is
174
     *     {@link String }
175
     *
176
     */
177
    public void setObjectType(String value) {
178
        this.objectType = value;
179
    }
180
181
 
182
     * Ruft den Wert der objectId-Eigenschaft ab.
183
     *
184
     * @return
185
     *     possible object is
186
     *     {@link String }
187
     *
188
     */
189
    public String getObjectId() {
190
        return objectId;
191
    }
192
193
 
194
     * Legt den Wert der objectId-Eigenschaft fest.
195
     *
196
     * @param value
197
     *     allowed object is
198
     *     {@link String }
199
     *
200
     */
201
    public void setObjectId(String value) {
202
        this.objectId = value;
203
    }
204
205
 
206
     * Ruft den Wert der source-Eigenschaft ab.
207
     *
208
     * @return
209
     *     possible object is
210
     *     {@link SourceType }
211
     *
212
     */
213
    public SourceType getSource() {
214
        return source;
215
    }
216
217
 
218
     * Legt den Wert der source-Eigenschaft fest.
219
     *
220
     * @param value
221
     *     allowed object is
222
     *     {@link SourceType }
223
     *
224
     */
225
    public void setSource(SourceType value) {
226
        this.source = value;
227
    }
228
229
 
230
     * Ruft den Wert der user-Eigenschaft ab.
231
     *
232
     * @return
233
     *     possible object is
234
     *     {@link CredentialsType }
235
     *
236
     */
237
    public CredentialsType getUser() {
238
        return user;
239
    }
240
241
 
242
     * Legt den Wert der user-Eigenschaft fest.
243
     *
244
     * @param value
245
     *     allowed object is
246
     *     {@link CredentialsType }
247
     *
248
     */
249
    public void setUser(CredentialsType value) {
250
        this.user = value;
251
    }
252
253
 
254
     * Ruft den Wert der eventControl-Eigenschaft ab.
255
     *
256
     * @return
257
     *     possible object is
258
     *     {@link EmBaseType }
259
     *
260
     */
261
    public EmBaseType getEventControl() {
262
        return eventControl;
263
    }
264
265
 
266
     * Legt den Wert der eventControl-Eigenschaft fest.
267
     *
268
     * @param value
269
     *     allowed object is
270
     *     {@link EmBaseType }
271
     *
272
     */
273
    public void setEventControl(EmBaseType value) {
274
        this.eventControl = value;
275
    }
276
277
 
278
     * Ruft den Wert der baseExtension-Eigenschaft ab.
279
     *
280
     * @return
281
     *     possible object is
282
     *     {@link BaseExtensionType }
283
     *
284
     */
285
    public BaseExtensionType getBaseExtension() {
286
        return baseExtension;
287
    }
288
289
 
290
     * Legt den Wert der baseExtension-Eigenschaft fest.
291
     *
292
     * @param value
293
     *     allowed object is
294
     *     {@link BaseExtensionType }
295
     *
296
     */
297
    public void setBaseExtension(BaseExtensionType value) {
298
        this.baseExtension = value;
299
    }
300
301
 
302
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
303
     *
304
     * <p>
305
     * the map is keyed by the name of the attribute and
306
     * the value is the string value of the attribute.
307
     *
308
     * the map returned by this method is live, and you can add new attribute
309
     * by updating the map directly. Because of this design, there's no setter.
310
     *
311
     *
312
     * @return
313
     *     always non-null
314
     */
315
    public Map<QName, String> getOtherAttributes() {
316
        return otherAttributes;
317
    }
318
319
 
320