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;
-
 
4
import java.util.List;
3
import javax.xml.bind.annotation.XmlAccessType;
5
import javax.xml.bind.annotation.XmlAccessType;
4
import javax.xml.bind.annotation.XmlAccessorType;
6
import javax.xml.bind.annotation.XmlAccessorType;
5
import javax.xml.bind.annotation.XmlAnyElement;
7
import javax.xml.bind.annotation.XmlAnyElement;
6
import javax.xml.bind.annotation.XmlType;
8
import javax.xml.bind.annotation.XmlType;
7
 
9
import org.w3c.dom.Element;
-
 
10
 
8
 
11
 
9
/**
12
/**
10
 * <p>Java-Klasse für ALFEventWithReplyResponseType complex type.
13
 * <p>Java-Klasse für ALFEventWithReplyResponseType complex type.
11
 * 
14
 * 
12
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
15
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
13
 * 
16
 * 
14
 * <pre>
17
 * <pre>
15
 * &lt;complexType name="ALFEventWithReplyResponseType">
18
 * &lt;complexType name="ALFEventWithReplyResponseType">
16
 *   &lt;complexContent>
19
 *   &lt;complexContent>
17
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
18
 *       &lt;sequence>
21
 *       &lt;sequence>
19
 *         &lt;any minOccurs="0"/>
22
 *         &lt;any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
20
 *       &lt;/sequence>
23
 *       &lt;/sequence>
21
 *     &lt;/restriction>
24
 *     &lt;/restriction>
22
 *   &lt;/complexContent>
25
 *   &lt;/complexContent>
23
 * &lt;/complexType>
26
 * &lt;/complexType>
24
 * </pre>
27
 * </pre>
25
 * 
28
 * 
26
 * 
29
 * 
27
 */
30
 */
28
@XmlAccessorType(XmlAccessType.FIELD)
31
@XmlAccessorType(XmlAccessType.FIELD)
29
@XmlType(name = "ALFEventWithReplyResponseType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
32
@XmlType(name = "ALFEventWithReplyResponseType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
30
    "any"
33
    "any"
31
})
34
})
32
public class ALFEventWithReplyResponseType {
35
public class ALFEventWithReplyResponseType {
33
 
36
 
34
    @XmlAnyElement(lax = true)
37
    @XmlAnyElement(lax = true)
35
    protected Object any;
38
    protected List<Object> any;
36
 
39
 
37
    /**
40
    /**
38
     * Ruft den Wert der any-Eigenschaft ab.
41
     * Gets the value of the any property.
-
 
42
     * 
-
 
43
     * <p>
-
 
44
     * This accessor method returns a reference to the live list,
-
 
45
     * not a snapshot. Therefore any modification you make to the
-
 
46
     * returned list will be present inside the JAXB object.
-
 
47
     * This is why there is not a <CODE>set</CODE> method for the any property.
-
 
48
     * 
-
 
49
     * <p>
-
 
50
     * For example, to add a new item, do as follows:
-
 
51
     * <pre>
-
 
52
     *    getAny().add(newItem);
-
 
53
     * </pre>
-
 
54
     * 
-
 
55
     * 
-
 
56
     * <p>
-
 
57
     * Objects of the following type(s) are allowed in the list
-
 
58
     * {@link Element }
-
 
59
     * {@link Object }
39
     * 
60
     * 
40
     * @return
-
 
41
     *     possible object is
-
 
42
     *     {@link Object }
-
 
43
     *     
-
 
44
     */
-
 
45
    public Object getAny() {
-
 
46
        return any;
-
 
47
    }
-
 
48
 
-
 
49
    /**
-
 
50
     * Legt den Wert der any-Eigenschaft fest.
-
 
51
     * 
61
     * 
52
     * @param value
-
 
53
     *     allowed object is
-
 
54
     *     {@link Object }
-
 
55
     *     
-
 
56
     */
62
     */
57
    public void setAny(Object value) {
63
    public List<Object> getAny() {
58
        this.any = value;
64
        if (any == null) {
-
 
65
            any = new ArrayList<Object>();
-
 
66
        }
-
 
67
        return this.any;
59
    }
68
    }
60
 
69
 
61
}
70
}