Subversion Repositories XServices

Rev

Rev 201 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 201 Rev 203
Line 1... Line 1...
1
package net.brutex.xservices.types.alfevent;
1
package net.brutex.xservices.types.alfevent;
Line -... Line 2...
-
 
2
 
-
 
3
import java.util.ArrayList;
2
 
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;
-
 
8
import javax.xml.bind.annotation.XmlType;
Line 6... Line 9...
6
import javax.xml.bind.annotation.XmlType;
9
import org.w3c.dom.Element;
7
 
10
 
8
 
11
 
Line 15... Line 18...
15
 * <complexType name="ALFEventResponseType">
18
 * <complexType name="ALFEventResponseType">
16
 *   <complexContent>
19
 *   <complexContent>
17
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
20
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
18
 *       <sequence>
21
 *       <sequence>
19
 *         <any minOccurs="0"/>
22
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
20
 *       </sequence>
23
 *       </sequence>
21
 *     </restriction>
24
 *     </restriction>
22
 *   </complexContent>
25
 *   </complexContent>
23
 * </complexType>
26
 * </complexType>
24
 * </pre>
27
 * </pre>
25
 * 
28
 * 
Line 31... Line 34...
31
})
34
})
32
public class ALFEventResponseType {
35
public class ALFEventResponseType {
33
 
36
 
Line 34... Line 37...
34
    @XmlAnyElement(lax = true)
37
    @XmlAnyElement(lax = true)
35
    protected Object any;
38
    protected List<Object> any;
Line 36... Line 39...
36
 
39
 
37
    /**
40
    /**
-
 
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 }
38
     * Ruft den Wert der any-Eigenschaft ab.
59
     * {@link Object }
39
     * 
-
 
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.
60
     * 
51
     * 
-
 
52
     * @param value
-
 
53
     *     allowed object is
-
 
54
     *     {@link Object }
-
 
55
     *     
61
     * 
56
     */
62
     */
57
    public void setAny(Object value) {
63
    public List<Object> getAny() {
-
 
64
        if (any == null) {
-
 
65
            any = new ArrayList<Object>();
-
 
66
        }
58
        this.any = value;
67
        return this.any;
Line 59... Line 68...
59
    }
68
    }