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.HashMap;
5
import java.util.List;
6
import java.util.Map;
7
import javax.xml.bind.annotation.XmlAccessType;
8
import javax.xml.bind.annotation.XmlAccessorType;
9
import javax.xml.bind.annotation.XmlAnyAttribute;
10
import javax.xml.bind.annotation.XmlAnyElement;
11
import javax.xml.bind.annotation.XmlType;
12
import javax.xml.namespace.QName;
13
14
 
15
 
16
 *
17
 *                 Place holder type for future extensions of EmBaseType
18
 *
19
 *
20
 * <p>Java-Klasse für EmExtensionType complex type.
21
 *
22
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
23
 *
24
 * <pre>
25
 * &lt;complexType name="EmExtensionType">
26
 *   &lt;complexContent>
27
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28
 *       &lt;sequence>
29
 *         &lt;any namespace='targetnamespace' maxOccurs="unbounded"/>
30
 *       &lt;/sequence>
31
 *       &lt;anyAttribute/>
32
 *     &lt;/restriction>
33
 *   &lt;/complexContent>
34
 * &lt;/complexType>
35
 * </pre>
36
 *
37
 *
38
 */
39
@XmlAccessorType(XmlAccessType.FIELD)
40
@XmlType(name = "EmExtensionType", namespace = "http://www.eclipse.org/alf/schema/EventBase/1", propOrder = {
41
    "any"
42
})
43
public class EmExtensionType {
44
45
 
46
    protected List<Object> any;
47
    @XmlAnyAttribute
48
    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
49
50
 
51
     * Gets the value of the any property.
52
     *
53
     * <p>
54
     * This accessor method returns a reference to the live list,
55
     * not a snapshot. Therefore any modification you make to the
56
     * returned list will be present inside the JAXB object.
57
     * This is why there is not a <CODE>set</CODE> method for the any property.
58
     *
59
     * <p>
60
     * For example, to add a new item, do as follows:
61
     * <pre>
62
     *    getAny().add(newItem);
63
     * </pre>
64
     *
65
     *
66
     * <p>
67
     * Objects of the following type(s) are allowed in the list
68
     * {@link Object }
69
     *
70
     *
71
     */
72
    public List<Object> getAny() {
73
        if (any == null) {
74
            any = new ArrayList<Object>();
75
        }
76
        return this.any;
77
    }
78
79
 
80
     * Gets a map that contains attributes that aren't bound to any typed property on this class.
81
     *
82
     * <p>
83
     * the map is keyed by the name of the attribute and
84
     * the value is the string value of the attribute.
85
     *
86
     * the map returned by this method is live, and you can add new attribute
87
     * by updating the map directly. Because of this design, there's no setter.
88
     *
89
     *
90
     * @return
91
     *     always non-null
92
     */
93
    public Map<QName, String> getOtherAttributes() {
94
        return otherAttributes;
95
    }
96
97
 
98