Subversion Repositories XServices

Rev

Rev 201 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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