Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
201 brianR 1
 
2
3
 
4
import java.util.List;
5
import javax.xml.bind.annotation.XmlAccessType;
6
import javax.xml.bind.annotation.XmlAccessorType;
7
import javax.xml.bind.annotation.XmlAnyElement;
8
import javax.xml.bind.annotation.XmlAttribute;
9
import javax.xml.bind.annotation.XmlElement;
10
import javax.xml.bind.annotation.XmlType;
11
import org.w3c.dom.Element;
12
13
 
14
 
15
 * <p>Java-Klasse für ALFEventType complex type.
16
 *
17
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
18
 *
19
 * <pre>
20
 * &lt;complexType name="ALFEventType">
21
 *   &lt;complexContent>
22
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23
 *       &lt;sequence>
24
 *         &lt;element name="Base" type="{http://www.eclipse.org/alf/schema/EventBase/1}EventBaseType"/>
25
 *         &lt;element name="Detail" type="{http://www.eclipse.org/alf/schema/EventBase/1}DetailExtensionType" minOccurs="0"/>
26
 *         &lt;element name="Extension" type="{http://www.eclipse.org/alf/schema/EventBase/1}CustomExtensionType" minOccurs="0"/>
27
 *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
28
 *       &lt;/sequence>
29
 *       &lt;attribute name="version" type="{http://www.eclipse.org/alf/schema/EventBase/1}ALFSchemaVersionType" default="1.0" />
30
 *     &lt;/restriction>
31
 *   &lt;/complexContent>
32
 * &lt;/complexType>
33
 * </pre>
34
 *
35
 *
36
 */
37
@XmlAccessorType(XmlAccessType.FIELD)
38
@XmlType(name = "ALFEventType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
39
    "base",
40
    "detail",
41
    "extension",
42
    "any"
43
})
44
public class ALFEventType {
45
46
 
47
    protected EventBaseType base;
48
    @XmlElement(name = "Detail", namespace = "http://www.eclipse.org/alf/schema/EventBase/1")
49
    protected DetailExtensionType detail;
50
    @XmlElement(name = "Extension", namespace = "http://www.eclipse.org/alf/schema/EventBase/1")
51
    protected CustomExtensionType extension;
52
    @XmlAnyElement(lax = true)
53
    protected List<Object> any;
54
    @XmlAttribute(name = "version")
55
    protected String version;
56
57
 
58
     * Ruft den Wert der base-Eigenschaft ab.
59
     *
60
     * @return
61
     *     possible object is
62
     *     {@link EventBaseType }
63
     *
64
     */
65
    public EventBaseType getBase() {
66
        return base;
67
    }
68
69
 
70
     * Legt den Wert der base-Eigenschaft fest.
71
     *
72
     * @param value
73
     *     allowed object is
74
     *     {@link EventBaseType }
75
     *
76
     */
77
    public void setBase(EventBaseType value) {
78
        this.base = value;
79
    }
80
81
 
82
     * Ruft den Wert der detail-Eigenschaft ab.
83
     *
84
     * @return
85
     *     possible object is
86
     *     {@link DetailExtensionType }
87
     *
88
     */
89
    public DetailExtensionType getDetail() {
90
        return detail;
91
    }
92
93
 
94
     * Legt den Wert der detail-Eigenschaft fest.
95
     *
96
     * @param value
97
     *     allowed object is
98
     *     {@link DetailExtensionType }
99
     *
100
     */
101
    public void setDetail(DetailExtensionType value) {
102
        this.detail = value;
103
    }
104
105
 
106
     * Ruft den Wert der extension-Eigenschaft ab.
107
     *
108
     * @return
109
     *     possible object is
110
     *     {@link CustomExtensionType }
111
     *
112
     */
113
    public CustomExtensionType getExtension() {
114
        return extension;
115
    }
116
117
 
118
     * Legt den Wert der extension-Eigenschaft fest.
119
     *
120
     * @param value
121
     *     allowed object is
122
     *     {@link CustomExtensionType }
123
     *
124
     */
125
    public void setExtension(CustomExtensionType value) {
126
        this.extension = value;
127
    }
128
129
 
130
     * Gets the value of the any property.
131
     *
132
     * <p>
133
     * This accessor method returns a reference to the live list,
134
     * not a snapshot. Therefore any modification you make to the
135
     * returned list will be present inside the JAXB object.
136
     * This is why there is not a <CODE>set</CODE> method for the any property.
137
     *
138
     * <p>
139
     * For example, to add a new item, do as follows:
140
     * <pre>
141
     *    getAny().add(newItem);
142
     * </pre>
143
     *
144
     *
145
     * <p>
146
     * Objects of the following type(s) are allowed in the list
147
     * {@link Object }
148
     * {@link Element }
149
     *
150
     *
151
     */
152
    public List<Object> getAny() {
153
        if (any == null) {
154
            any = new ArrayList<Object>();
155
        }
156
        return this.any;
157
    }
158
159
 
160
     * Ruft den Wert der version-Eigenschaft ab.
161
     *
162
     * @return
163
     *     possible object is
164
     *     {@link String }
165
     *
166
     */
167
    public String getVersion() {
168
        if (version == null) {
169
            return "1.0";
170
        } else {
171
            return version;
172
        }
173
    }
174
175
 
176
     * Legt den Wert der version-Eigenschaft fest.
177
     *
178
     * @param value
179
     *     allowed object is
180
     *     {@link String }
181
     *
182
     */
183
    public void setVersion(String value) {
184
        this.version = value;
185
    }
186
187
 
188